/* =======================================================================
   AQUASPA / ÁNH VÀNG — AquaSpa redesign (original, 2026)
   Palette: warm ivory, champagne gold, honey deep, blush, ink
   ======================================================================= */

:root {
  /* Core colors — no black anywhere */
  --ivory-100: #fbf6ea;
  --ivory-200: #f5ecd8;
  --ivory-300: #ecdfc2;
  --cream:     #fffaf0;

  --gold-light: #e6c88a;
  --gold:       #c9a96e;
  --gold-deep:  #a4823d;
  --gold-ink:   #6b4e1a;

  --blush:      #e8b89a;
  --coral:      #d68f6a;

  --ink:        #2a2118;   /* warm near-black for text */
  --ink-soft:   #5a4a36;
  --muted:      #8a7a5e;

  /* Glass tokens */
  --glass-bg:        rgba(255, 250, 235, 0.45);
  --glass-bg-strong: rgba(255, 250, 235, 0.72);
  --glass-bg-dark:   rgba(107, 78, 26, 0.18);
  --glass-border:    rgba(201, 169, 110, 0.35);
  --glass-border-hi: rgba(255, 245, 220, 0.65);

  /* Shadows — warm, never pure black */
  --shadow-sm: 0 2px 12px rgba(107, 78, 26, 0.08);
  --shadow-md: 0 12px 40px -8px rgba(107, 78, 26, 0.18), 0 2px 6px rgba(107, 78, 26, 0.06);
  --shadow-lg: 0 30px 80px -20px rgba(107, 78, 26, 0.25), 0 10px 30px -10px rgba(107, 78, 26, 0.10);
  --shadow-gold: 0 20px 60px -15px rgba(201, 169, 110, 0.5);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --ff-display: 'Playfair Display', 'Playfair Display', Georgia, serif;
  --ff-sans: 'Be Vietnam Pro', 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ==== Ambient golden-light background ==== */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(230, 200, 138, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(232, 184, 154, 0.40), transparent 65%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(201, 169, 110, 0.35), transparent 60%),
    linear-gradient(180deg, #fdf7e8 0%, #fbf1d8 50%, #f8e8c4 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.55  0 0 0 0 0.25  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Floating golden orbs (decorative) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.7;
}
.orb--a { width: 420px; height: 420px; background: radial-gradient(circle, #f3d98a 0%, transparent 70%); }
.orb--b { width: 340px; height: 340px; background: radial-gradient(circle, #e8b89a 0%, transparent 70%); }
.orb--c { width: 500px; height: 500px; background: radial-gradient(circle, #c9a96e 0%, transparent 70%); }

/* ==== Glass surface mixin ==== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 0 var(--glass-border-hi),
    var(--shadow-md);
  border-radius: var(--radius-md);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 0 var(--glass-border-hi),
    var(--shadow-lg);
  border-radius: var(--radius-lg);
}

/* ==== Typography ==== */
.serif { font-family: var(--ff-display); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.05; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(48px, 7vw, 104px); }
h2 { font-size: clamp(36px, 4.5vw, 68px); }
h3 { font-size: clamp(24px, 2.5vw, 36px); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.italic-serif { font-family: var(--ff-display); font-style: italic; }

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s, background 0.3s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, #e6c88a, #c9a96e 60%, #a4823d);
  color: #fdfaf0;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -15px rgba(201, 169, 110, 0.65), inset 0 1px 0 rgba(255,255,255,0.5); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,250,235,0.5); border-color: var(--gold); }

.btn--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  color: var(--ink);
  border: 1px solid var(--glass-border);
}
.btn--glass:hover { background: var(--glass-bg-strong); }

/* ==== Chip / tag ==== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 235, 0.6);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-light); }

/* ==== Navigation ==== */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1320px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 14px 28px;
  border-radius: 999px;
  background: rgba(255, 250, 235, 0.55);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-border-hi);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav__logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f7e1a5, #c9a96e 60%, #8a6a2a);
  display: grid;
  place-items: center;
  color: #fffaf0;
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -6px 12px rgba(107,78,26,0.25), 0 4px 14px rgba(201,169,110,0.4);
  text-transform: uppercase;
  line-height: 1;
}
.nav__logo svg { width: 24px; height: 24px; color: #fffaf0; }
.nav__name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.nav__name .sub { font-size: 10px; letter-spacing: 0.3em; display: block; color: var(--gold-deep); font-family: var(--ff-mono); text-transform: uppercase; margin-top: -2px;}

.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav__links a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover { background: rgba(201, 169, 110, 0.12); color: var(--gold-deep); }
.nav__links a.active { background: rgba(201, 169, 110, 0.18); color: var(--gold-ink); }

.nav__right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex;
  background: rgba(255, 250, 235, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--ff-mono);
  letter-spacing: 0.12em;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.25s;
}
.lang-toggle button.active {
  background: linear-gradient(135deg, #e6c88a, #c9a96e);
  color: #fdfaf0;
  box-shadow: 0 2px 8px rgba(201,169,110,0.4);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { padding: 10px 10px 10px 18px; }
  .nav__name { font-size: 18px; }
}

/* ==== Sections ==== */
.section {
  position: relative;
  padding: 120px 40px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .section { padding: 80px 20px; }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* ==== Image placeholder (warm, striped) ==== */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(201,169,110,0.15) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--ivory-300), var(--ivory-200));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  text-transform: uppercase;
  opacity: 0.85;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph:has(img)::after { display: none; }

/* ==== Utility ==== */
.stack > * + * { margin-top: var(--stack-gap, 16px); }
.grid { display: grid; gap: 24px; }
.flex { display: flex; }
.center { display: grid; place-items: center; }
.text-muted { color: var(--muted); }
.text-deep { color: var(--gold-deep); }
.text-ink-soft { color: var(--ink-soft); }

hr.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 40px 0;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.2,0.8,0.2,1), transform 1s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* footer */
.footer {
  position: relative;
  margin-top: 120px;
  padding: 80px 40px 40px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(230,200,138,0.5), transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 10%, rgba(232,184,154,0.35), transparent 60%),
    linear-gradient(180deg, #f5ecd8 0%, #ecdfc2 100%);
  border-top: 1px solid var(--glass-border);
}
.footer__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold-deep); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; }
.footer li { padding: 6px 0; }
.footer a { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--gold-deep); }
.footer__bottom {
  max-width: 1320px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--ff-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,217,138,0.25), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: opacity 0.4s;
  filter: blur(20px);
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ivory-200); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-light), var(--gold)); border-radius: 10px; }

/* Dropdown Menu Aqua Spa */
.nav__links { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links li { position: relative; }
.nav__links > li > a { font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 0; display: block; }
.nav__links .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-width: 200px; padding: 10px 0; border-radius: 4px; z-index: 100; list-style: none; }
.nav__links .has-dropdown:hover .dropdown { display: block; }
.nav__links .dropdown li a { padding: 8px 16px; font-size: 14px; font-weight: 400; color: var(--ink-soft); display: block; text-decoration: none; }
.nav__links .dropdown li a:hover { background: #f8f8f8; color: var(--gold); }

/* Hero Carousel Aqua Spa */
.hero-carousel { position: relative; min-height: 90vh; padding: 140px 40px 80px; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.hc-content { z-index: 2; }
.hc-visual { position: relative; width: 100%; height: 500px; }
.hc-eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-deep); margin-bottom: 20px; font-weight: 500; }
.hc-title { font-size: clamp(48px, 6vw, 80px); line-height: 1.1; margin-bottom: 20px; transition: opacity 0.5s ease, transform 0.5s ease; }
.hc-desc { font-size: 16px; color: var(--ink-soft); max-width: 480px; line-height: 1.6; margin-bottom: 30px; transition: opacity 0.5s ease, transform 0.5s ease; }
.hc-ctas { display: flex; gap: 16px; margin-bottom: 40px; }
.hc-nav { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.hc-nav button { background: none; border: 1px solid var(--gold-soft); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--gold-deep); font-size: 18px; transition: 0.3s; }
.hc-nav button:hover { background: var(--gold-soft); }
.hc-dots { display: flex; gap: 8px; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; transition: 0.3s; }
.hc-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
.hc-img { position: absolute; border-radius: 200px 200px 0 0; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hc-img--main { width: 350px; height: 450px; right: 10%; bottom: 0; z-index: 2; animation: breathing 6s ease-in-out infinite alternate; }
.hc-img--accent { width: 250px; height: 350px; left: 0; top: 20px; z-index: 1; animation: floating 8s ease-in-out infinite alternate; }
@keyframes floating { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
@keyframes breathing { 0% { transform: scale(1); } 100% { transform: scale(1.03); } }
.slide-out { opacity: 0; transform: translateY(20px); }
.slide-in { opacity: 1; transform: translateY(0); }

/* Hero Animation Overrides */
#hc-title, #hc-desc { transition: opacity 0.4s ease, transform 0.4s ease; }
#hc-img-main img, #hc-img-accent img { transition: opacity 0.4s ease; }
.breathing img { animation: breathing 6s ease-in-out infinite alternate; }
.floating { animation: floating 6s ease-in-out infinite alternate; }
@keyframes floating { 0% { transform: translateY(0) rotate(2deg); } 100% { transform: translateY(-15px) rotate(2deg); } }
@keyframes breathing { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
