/* GLOW Wellness Spa – Global Stylesheet
   Ocean Crystal Wellness Resort Theme
   Version: 2026.1
   ========================================= */

/* ── CSS VARIABLES ── */
:root {
  --ocean: #081B29;
  --pearl: #F8F7F4;
  --turquoise: #1FA6A6;
  --rose-gold: #C7865F;
  --seafoam: #7ED6C1;
  --charcoal: #222222;
  --glass-bg: rgba(8, 27, 41, 0.55);
  --glass-border: rgba(31, 166, 166, 0.18);
  --shadow-glow: 0 20px 60px rgba(31, 166, 166, 0.15);
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Arial', 'Helvetica', sans-serif;
  --border-radius: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-serif); background: var(--ocean); color: var(--pearl); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ocean); }
::-webkit-scrollbar-thumb { background: var(--turquoise); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose-gold); }

/* ── SELECTION ── */
::selection { background: rgba(31, 166, 166, 0.3); color: var(--pearl); }

/* ── UTILITY CLASSES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-turquoise { color: var(--turquoise); }
.text-rose { color: var(--rose-gold); }
.text-muted { color: rgba(248, 247, 244, 0.55); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--rose-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── GLASS MORPHISM ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem; border-radius: 50px; border: none;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  letter-spacing: 1px; text-decoration: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--rose-gold));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(31, 166, 166, 0.35); }
.btn-secondary {
  border: 1.5px solid var(--turquoise); color: var(--turquoise);
  background: transparent;
}
.btn-secondary:hover { background: var(--turquoise); color: var(--ocean); transform: translateY(-3px); }
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #1a9e4a); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.35); }

/* ── SECTION STYLES ── */
.section { padding: 6rem 1.5rem; }
.section-dark { background: rgba(0, 0, 0, 0.12); }
.section-glass { background: linear-gradient(135deg, rgba(31, 166, 166, 0.06), rgba(199, 134, 95, 0.03)); }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--turquoise); font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; font-family: var(--font-sans); margin-bottom: 1rem;
}
.section-tag::before, .section-tag::after {
  content: ''; height: 1px; background: var(--turquoise); opacity: 0.4; width: 30px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1rem; }

/* ── CARDS ── */
.card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); border-radius: var(--border-radius);
  overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  opacity: 0.25; margin: 2rem 0;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(31, 166, 166, 0.12); border: 1px solid rgba(31, 166, 166, 0.25);
  color: var(--turquoise); font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.25rem 0.8rem; border-radius: 20px;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.animate-fade-up { animation: fadeInUp 0.8s ease both; }
.animate-fade-down { animation: fadeInDown 0.8s ease both; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* ── SCROLL REVEAL ── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.92); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 9rem 2rem 5rem; text-align: center;
  background: linear-gradient(180deg, rgba(31, 166, 166, 0.06) 0%, transparent 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(31, 166, 166, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 0.78rem;
  color: rgba(248, 247, 244, 0.4); margin-bottom: 1rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--turquoise); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
label { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--turquoise); font-family: var(--font-sans); }
input, select, textarea {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 0.9rem 1.2rem;
  color: var(--pearl); font-family: var(--font-sans); font-size: 0.95rem;
  outline: none; transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(31, 166, 166, 0.12);
}
input::placeholder, textarea::placeholder { color: rgba(248, 247, 244, 0.3); }
select option { background: #0a1f30; color: var(--pearl); }
textarea { resize: vertical; min-height: 100px; }

/* ── FLOATING BUTTONS ── */
.float-wa {
  position: fixed; bottom: 7rem; right: 1.5rem; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); text-decoration: none;
  animation: float-pulse-wa 2.5s ease-in-out infinite;
  transition: transform 0.3s;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes float-pulse-wa { 0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); } 50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.75); } }

.float-call {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--turquoise), var(--rose-gold));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(31, 166, 166, 0.45); text-decoration: none;
  animation: float-pulse-call 2s ease-in-out infinite;
  transition: transform 0.3s;
}
.float-call:hover { transform: scale(1.1); }
@keyframes float-pulse-call { 0%, 100% { box-shadow: 0 8px 24px rgba(31, 166, 166, 0.45); } 50% { box-shadow: 0 8px 40px rgba(31, 166, 166, 0.75); } }
.float-wa svg, .float-call svg { width: 26px; height: 26px; fill: #fff; }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 12rem; right: 1.5rem; z-index: 600;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--turquoise); font-size: 1rem;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(12px); transition: all 0.3s;
}
#back-to-top.visible { display: flex; }
#back-to-top:hover { background: var(--turquoise); color: var(--ocean); transform: translateY(-3px); }

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed; inset: 0; background: var(--ocean);
  z-index: 20000; pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.page-transition.active { opacity: 1; }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--turquoise), var(--rose-gold));
  z-index: 10001; transition: width 0.1s linear;
}

/* ── RIPPLE ── */
.ripple-wrap { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0); animation: ripple 0.6s linear;
  pointer-events: none;
}

/* ── RESPONSIVE GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.site-footer {
  background: rgba(4, 12, 20, 0.85); border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--turquoise); margin-bottom: 1.2rem; font-family: var(--font-sans);
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  color: rgba(248, 247, 244, 0.5); text-decoration: none;
  font-family: var(--font-sans); font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--turquoise); }

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
