/* ============================================================
   Kind Thai Massage — Stylesheet
   Palette: Navy + Gold (matching brand logo)
   ============================================================ */

:root {
  --primary: #1B2A4A;
  --primary-dark: #0D1525;
  --primary-light: #2A3F6A;
  --gold: #C8A55C;
  --gold-light: #D9BC7A;
  --gold-dark: #A08040;
  --cream: #FDFAF5;
  --bg-light: #F3EFE8;
  --bg-warm: #E8E2D6;
  --text: #1A1A2E;
  --text-light: #5A6070;
  --white: #FFFFFF;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--gold); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(200, 165, 92, 0.6);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 21, 37, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(13, 21, 37, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--primary-dark) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 21, 37, 0.75) 0%,
    rgba(27, 42, 74, 0.65) 50%,
    rgba(13, 21, 37, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 700px;
}
.hero-logo {
  width: 200px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 8px;
}
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.05rem;
}
.about-image img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.15);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}
.services h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Pricing banner */
.pricing-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-group {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(200, 165, 92, 0.25);
}
.pricing-group h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.pricing-services {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.pricing-tiers {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(200, 165, 92, 0.35);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  min-width: 80px;
}
.pricing-tier:hover {
  background: rgba(200, 165, 92, 0.15);
  border-color: var(--gold);
}
.pricing-dur {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}
.pricing-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--gold);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.15);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 12px;
}
.service-price {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  padding-top: 10px;
  border-top: 1px solid var(--bg-warm);
}

.services-cta {
  text-align: center;
}
.services-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ============================================================
   CONTACT / FIND US
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 24px;
  transition: box-shadow 0.3s;
}
.contact-card:hover {
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.1);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-card a {
  color: var(--gold-dark);
}
.contact-card a:hover {
  color: var(--gold);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.1);
}
.contact-map iframe {
  display: block;
}
.btn-directions {
  display: block;
  text-align: center;
  border-radius: 0 0 12px 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(200, 165, 92, 0.2);
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold);
  color: var(--primary-dark);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { order: -1; }

  .pricing-banner {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 21, 37, 0.97);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .nav-links.open {
    max-height: 320px;
    padding: 20px 24px;
    border-top: 1px solid rgba(200, 165, 92, 0.2);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-logo { width: 150px; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .about h2,
  .services h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 18px;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
