/* ════════════════════════════════════════════════
   LINH WELLNESS — STYLESHEET
   Breakpoints:
     Desktop  : > 1024px
     Tablet   : 768px – 1024px
     Mobile   : < 768px
   ════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #7a9e7e;
  --sage-light: #a8c5ac;
  --sage-dark: #4e7055;
  --cream: #f9f5ef;
  --warm-white: #fdfaf6;
  --bark: #6b5744;
  --text: #2e2e2e;
  --muted: #7a7a6e;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  height: var(--nav-height);
  padding: 0 3rem;
  background: rgba(253,250,246,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,158,126,0.15);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--sage-dark); }

.nav-cta {
  background: var(--sage) !important;
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sage-dark) !important; }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--sage-dark);
  padding: 0.25rem;
  line-height: 1;
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-height);
}
.hero-image-side { position: relative; overflow: hidden; }
.hero-image-side img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  animation: zoomIn 1.4s ease forwards;
}
@keyframes zoomIn {
  from { transform: scale(1.08); opacity: 0.6; }
  to   { transform: scale(1);    opacity: 1; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(78,112,85,0.12), transparent);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5rem 4rem 4.5rem;
  background: var(--cream);
  animation: slideIn 0.9s ease 0.3s both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 400; line-height: 1.1;
  color: var(--bark); margin-bottom: 1rem;
}
.hero-credentials {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hero-divider {
  width: 48px; height: 2px;
  background: var(--sage-light); margin-bottom: 1.8rem;
}
.hero-bio {
  font-size: 0.95rem; line-height: 1.9;
  color: #555; margin-bottom: 0.9rem;
}
.hero-sub {
  font-size: 0.92rem; color: var(--muted);
  font-style: italic; margin-bottom: 0.5rem;
}
.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--sage-dark); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
  text-align: center;
}
.btn-primary:hover { background: var(--bark); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--sage); color: var(--sage-dark);
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  text-align: center;
}
.btn-secondary:hover { background: var(--sage); color: white; transform: translateY(-2px); }

.btn-white {
  display: inline-block;
  border: 1.5px solid white; color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  text-align: center;
}
.btn-white:hover { background: white; color: var(--sage-dark); }

/* ════════════════════════════════════════════════
   MARQUEE BAND
   ════════════════════════════════════════════════ */
.marquee-band {
  background: var(--sage-dark); color: white;
  padding: 0.9rem 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.marquee-track span { margin: 0 2.5rem; opacity: 0.75; }
.marquee-track span.dot { margin: 0; opacity: 1; color: var(--sage-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════
   SECTION LAYOUT
   ════════════════════════════════════════════════ */
.section { padding: 6rem 3rem; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-label {
  display: block; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--bark); line-height: 1.2;
}

/* ════════════════════════════════════════════════
   SERVICES GRID
   ════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(122,158,126,0.2);
  border-radius: 6px; padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--sage-light), var(--sage-dark));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--bark); margin-bottom: 0.8rem;
}
.service-card p { font-size: 0.88rem; line-height: 1.8; color: var(--muted); margin-bottom: 1rem; }
.card-link {
  font-size: 0.78rem; color: var(--sage-dark);
  text-decoration: none; font-weight: 500;
  letter-spacing: 0.05em; transition: color 0.2s;
}
.card-link:hover { color: var(--bark); }

/* ════════════════════════════════════════════════
   PROCESS STRIP
   ════════════════════════════════════════════════ */
.process-strip {
  background: var(--sage-dark);
  padding: 5rem 6rem;
  text-align: center;
}
.process-header { margin-bottom: 3.5rem; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.process-step {
  border-top: 2px solid rgba(168,197,172,0.4);
  padding-top: 1.5rem;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sage-light);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.process-step p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

/* ════════════════════════════════════════════════
   PRODUCTS GRID
   ════════════════════════════════════════════════ */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.product-card {
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(122,158,126,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--warm-white);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.product-img {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.product-info { padding: 1.5rem; background: var(--cream); }
.product-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--bark); margin-bottom: 0.4rem;
}
.product-info p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 500; color: var(--sage-dark); font-size: 1rem; }
.btn-add {
  display: inline-block;
  background: var(--sage); color: white;
  border: none; padding: 0.45rem 1rem;
  border-radius: 50px; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-add:hover { background: var(--sage-dark); }

/* ════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════ */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.testimonial {
  background: white; padding: 2rem; border-radius: 6px;
  border: 1px solid rgba(122,158,126,0.15);
}
.stars { color: var(--sage); font-size: 0.85rem; margin-bottom: 1rem; }
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  line-height: 1.7; color: var(--text); margin-bottom: 1.2rem;
}
.testimonial-author {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase;
}

/* ════════════════════════════════════════════════
   BOOKING CTA
   ════════════════════════════════════════════════ */
.booking-cta {
  text-align: center; padding: 6rem 3rem;
  background: linear-gradient(135deg, var(--cream) 0%, #eef5ef 100%);
}
.booking-cta .section-title { margin-bottom: 1rem; }
.booking-cta p {
  font-size: 0.95rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.8;
}

/* ════════════════════════════════════════════════
   ABOUT PAGE — CENTERED LAYOUT
   ════════════════════════════════════════════════ */
.about-content {
  padding: 1.5rem 3rem 5rem;
}

.about-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(122,158,126,0.12);
}
.about-block:last-of-type {
  border-bottom: none;
}

.about-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 300;
  color: var(--bark);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-photo {
  float: none;
  display: block;
  max-width: 480px;
  width: 100%;
  margin: 0 auto 2.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  user-select: none;
  pointer-events: none;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.about-cta-wrap {
  text-align: center;
  padding: 3rem 0 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 3rem 4rem;
  background: var(--cream);
  text-align: center;
}
.page-hero .section-title { margin-bottom: 1rem; }
.page-hero p {
  color: var(--muted); max-width: 560px;
  margin: 0 auto; line-height: 1.8;
  font-size: 0.97rem;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
footer { background: var(--text); color: rgba(255,255,255,0.6); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 3rem 4rem; flex-wrap: wrap; gap: 2rem;
}
.footer-brand p {
  font-size: 0.8rem; margin-top: 0.4rem;
  color: rgba(255,255,255,0.4);
}
.footer-links {
  display: flex; gap: 2rem; align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; transition: color 0.2s;
}
.footer-links a:hover { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 4rem; font-size: 0.75rem;
  text-align: center;
}

/* ════════════════════════════════════════════════
   FADE-IN ANIMATION CLASS
   ════════════════════════════════════════════════ */
.visible { opacity: 1 !important; transform: translateY(0) !important; }


/* ════════════════════════════════════════════════
   TABLET  (768px – 1024px)
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 768px) {

  /* Nav */
  nav { padding: 0 2rem; }

  /* Hero: stack image on top, content below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image-side { height: 50vw; }
  .hero-content { padding: 3rem 3rem; }

  /* Grids: 2 columns on tablet */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Process: 2 columns */
  .process-strip { padding: 4rem 3rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  /* Sections */
  .section { padding: 5rem 2.5rem; }
  .booking-cta { padding: 5rem 2.5rem; }

  /* Footer */
  .footer-inner { padding: 2.5rem 3rem; }
  .footer-bottom { padding: 1.5rem 3rem; }
}


/* ════════════════════════════════════════════════
   MOBILE  (< 768px)
   ════════════════════════════════════════════════ */
@media (max-width: 767px) {

  :root { --nav-height: 60px; }

  /* ── Nav ── */
  nav { padding: 0 1.25rem; }

  /* Hide desktop links, show hamburger */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--warm-white);
    padding: 1.5rem 1.5rem 2rem;
    border-top: 1px solid rgba(122,158,126,0.15);
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(122,158,126,0.1);
    color: var(--text);
    letter-spacing: 0.08em;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-radius: 50px;
    padding: 0.75rem 1.5rem !important;
  }
  .nav-toggle { display: block; }

  /* ── Hero ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--nav-height);
  }
  .hero-image-side { height: 65vw; }
  .hero-content {
    padding: 2.5rem 1.5rem;
    animation: none; /* Disable slide on mobile */
  }
  .hero-title { font-size: 2.4rem; margin-bottom: 0.8rem; }
  .hero-credentials { font-size: 0.78rem; }
  .hero-divider { margin-bottom: 1.4rem; }
  .hero-bio { font-size: 0.93rem; margin-bottom: 0.8rem; }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .btn-primary, .btn-secondary, .btn-white {
    text-align: center;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  /* ── Marquee ── */
  .marquee-track { font-size: 0.65rem; }
  .marquee-track span { margin: 0 1.5rem; }

  /* ── Sections ── */
  .section { padding: 3.5rem 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-title { font-size: 1.9rem; }

  /* ── Services: 1 column ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card { padding: 2rem 1.5rem; text-align: left; }

  /* ── Process: 1 column ── */
  .process-strip { padding: 3rem 1.5rem; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .step-num { font-size: 2rem; }

  /* ── Products: 1 column (or 2-col small) ── */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .product-img { height: 130px; font-size: 2.5rem; }
  .product-info { padding: 1rem; }
  .product-info h4 { font-size: 1rem; }
  .product-info p { display: none; } /* Hide description on tiny screens */
  .product-footer { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .btn-add { width: 100%; text-align: center; padding: 0.5rem 0.8rem; }

  /* ── Testimonials: 1 column ── */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* ── Booking CTA ── */
  .booking-cta { padding: 3.5rem 1.5rem; }
  .booking-cta p { font-size: 0.9rem; }

  /* ── About Page ── */
  .about-content { padding: 2.5rem 1.5rem 3.5rem; }
  .about-block { padding: 2.5rem 0; }
  .about-photo { max-width: 100%; }

  /* ── Page Hero ── */
  .page-hero { padding: calc(var(--nav-height) + 2.5rem) 1.5rem 3rem; }
  .page-hero .section-title { font-size: 1.9rem; }
  .page-hero p { font-size: 0.9rem; }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .footer-links {
    flex-direction: row;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  .footer-links a { font-size: 0.72rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; font-size: 0.7rem; }
}

/* ════════════════════════════════════════════════
   VERY SMALL MOBILE (< 400px)
   ════════════════════════════════════════════════ */
@media (max-width: 399px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
}

/* ════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ════════════════════════════════════════════════ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-left: 1px solid rgba(122,158,126,0.25);
  padding-left: 1.2rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 1.5px solid transparent;
  border-radius: 50px;
  padding: 0.3rem 0.65rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-btn img {
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.lang-btn:hover {
  border-color: var(--sage-light);
  color: var(--sage-dark);
}
.lang-btn.active {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: rgba(122,158,126,0.08);
  font-weight: 600;
}

/* ── Tablet: hide text, show flags only ── */
@media (max-width: 1024px) and (min-width: 768px) {
  .lang-btn { padding: 0.3rem 0.5rem; font-size: 0; gap: 0; }
  .lang-btn img { width: 26px; height: 18px; }
}

/* ── Mobile: flags in nav, adjust layout ── */
@media (max-width: 767px) {
  .nav-right {
    gap: 0.6rem;
  }
  .lang-switcher {
    border-left: none;
    padding-left: 0;
    gap: 0.3rem;
  }
  .lang-btn { padding: 0.25rem 0.4rem; font-size: 0; gap: 0; }
  .lang-btn img { width: 24px; height: 16px; }
  .services-two-col { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}
