/* =============================================
   SHANTHI WEDA MADHURA (PVT) LTD — AYURVEDA WEBSITE
   Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Noto+Sans+Sinhala:wght@300;400;600;700&family=Noto+Sans+Tamil:wght@300;400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --brown:      #8B4513;
  --gold:       #C9A84C;
  --gold-light: #E6C97A;
  --dark:       #1A0A0A;
  --maroon:     #5C1A1A;
  --cream:      #FDF6ED;
  --cream-dark: #F0E6D3;
  --footer-bg:  #0D1B2A;
  --white:      #FFFFFF;
  --text-dark:  #2C1810;
  --text-mid:   #6B4226;
  --border:     rgba(201,168,76,0.3);
  --shadow:     0 8px 32px rgba(139,69,19,0.15);
  --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; }
body {
  font-family: 'Inter', 'Noto Sans Sinhala', 'Noto Sans Tamil', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Headings Font ── */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  letter-spacing: 0.02em;
}

/* =============================================
   ANNOUNCEMENT BANNER
   ============================================= */
#announcement-banner {
  background: var(--maroon);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 40px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1000;
}
#announcement-banner .banner-icon { font-size: 1rem; }
#close-banner {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
#close-banner:hover { opacity: 1; transform: rotate(90deg); }
.creative-font {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  font-size: 1.4em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none !important;
  color: var(--gold-light);
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 30px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 30px rgba(139,69,19,0.08);
  transition: var(--transition);
}
#site-header.scrolled {
  padding: 8px 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(139,69,19,0.15);
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.main-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--maroon), var(--brown));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(139,69,19,0.35);
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}
.logo-text-wrap { line-height: 1.2; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header Right */
.header-right { display: flex; align-items: center; gap: 0; }
#menu-btn {
  background: var(--brown);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
#menu-btn:hover { background: var(--maroon); }
#menu-btn .menu-bars { font-size: 1.1rem; }

#book-btn {
  background: var(--maroon);
  color: var(--gold-light);
  border: none;
  padding: 14px 28px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
#book-btn:hover { background: #7A0000; color: var(--white); }

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 0 16px;
  align-items: center;
}
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 5px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition);
  font-weight: 500;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* =============================================
   SLIDE-OUT NAVIGATION MENU
   ============================================= */
#nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}
#nav-overlay.open { pointer-events: all; }

#nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,10,10,0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
#nav-overlay.open #nav-backdrop { opacity: 1; }

#nav-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 360px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 0 0 40px;
  border-right: 1px solid rgba(201, 168, 76, 0.2);
}
#nav-overlay.open #nav-panel { transform: translateX(0); }

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--maroon);
  font-weight: 700;
}
#close-nav {
  background: none; border: none;
  color: var(--brown); font-size: 1.5rem;
  cursor: pointer; transition: var(--transition);
}
#close-nav:hover { transform: rotate(90deg); color: var(--maroon); }

.nav-search {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
}
.nav-search input {
  width: 100%; padding: 10px 16px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.88rem; color: var(--text-dark);
  background: var(--cream);
  outline: none;
}
.nav-search input:focus { border-color: var(--gold); }

.nav-links { list-style: none; padding: 12px 0; }
.nav-links li a {
  display: block;
  padding: 14px 28px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: var(--transition);
}
.nav-links li a:hover {
  color: var(--brown);
  padding-left: 38px;
  background: var(--cream);
}
.nav-links li a.active { color: var(--brown); font-weight: 600; }

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.15) 0%, transparent 8%),
    radial-gradient(circle at 80% 60%, rgba(201, 168, 76, 0.1) 0%, transparent 6%),
    radial-gradient(circle at 40% 80%, rgba(201, 168, 76, 0.12) 0%, transparent 5%);
  animation: particlesFloat 15s infinite alternate linear;
}
@keyframes particlesFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.1); }
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero_bg.png');
  background-size: cover; background-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,10,10,0.55) 0%,
    rgba(92,26,26,0.35) 50%,
    rgba(26,10,10,0.20) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 20px;
  animation: fadeUp 1.2s ease both;
  width: 100%;
}
.hero-glass-panel {
  background: rgba(26, 10, 10, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(40px); }
  to   { opacity:1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 16px; opacity: 0.9;
}
.hero-title {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(to right, #FFFFFF, #E6C97A, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
@keyframes shine {
  to { background-position: 200% center; }
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; color: var(--gold-light);
  margin-bottom: 28px; opacity: 0.95;
}
.hero-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.85);
  max-width: 540px; margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--dark);
  padding: 16px 40px;
  font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  border: 2px solid var(--gold);
  transition: var(--transition);
  cursor: pointer;
}
.hero-cta:hover {
  background: transparent; color: var(--gold-light);
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
}

/* Hero Nav Arrows */
.hero-arrow {
  position: absolute; bottom: 110px; z-index: 3;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; backdrop-filter: blur(6px);
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.hero-arrow.left  { left: 40px; }
.hero-arrow.right { right: 40px; }

/* =============================================
   SECTION COMMON STYLES
   ============================================= */
.section { padding: 90px 0; }
.section-alt { background: var(--cream-dark); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 30px; }

.section-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--maroon); line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 0.95rem; color: var(--text-mid);
  max-width: 620px; line-height: 1.85;
}
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 20px auto;
}
.divider.left { margin-left: 0; }
.text-center { text-align: center; }

/* =============================================
   CREDENTIALS STRIP
   ============================================= */
#credentials-strip {
  background: linear-gradient(135deg, var(--maroon), #7A1515);
  color: var(--gold-light);
  padding: 18px 30px;
  position: relative;
  overflow: hidden;
}
#credentials-strip::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 4s infinite;
  transform: skewX(-20deg);
}
@keyframes shimmer {
  100% { left: 150%; }
}
.creds-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 6px 40px;
  align-items: center; justify-content: center;
}
.cred-item {
  font-size: 0.7rem; letter-spacing: 0.1em;
  opacity: 0.85; white-space: nowrap;
}
.cred-sep { color: var(--gold); opacity: 0.5; }

/* =============================================
   ABOUT / INTRO SECTION
   ============================================= */
#about .about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: 2px; overflow: hidden;
  animation: floatImage 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(139, 69, 19, 0.15);
}
@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 20px;
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  line-height: 1.5;
}
.about-text {}
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0;
}
.highlight-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.highlight-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(201,168,76,0.35);
}
.highlight-title { font-weight: 600; font-size: 0.88rem; color: var(--maroon); }
.highlight-sub  { font-size: 0.78rem; color: var(--text-mid); }
.read-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brown); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
  transition: var(--transition);
}
.read-more-link:hover { color: var(--maroon); gap: 14px; }

/* =============================================
   TREATMENTS SECTION
   ============================================= */
#treatments { background: var(--cream); }
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 50px;
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}
.treatment-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(139,69,19,0.15), 0 0 20px rgba(201,168,76,0.15);
  border-color: var(--gold);
}
.treatment-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--brown), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.treatment-card:hover::before { transform: scaleX(1); }
.tc-img { height: 180px; overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.treatment-card:hover .tc-img img { transform: scale(1.08); }
.tc-body { padding: 22px 24px; }
.tc-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--maroon), var(--brown));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(139,69,19,0.25);
}
.tc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--maroon);
  margin-bottom: 8px;
}
.tc-desc { font-size: 0.84rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.tc-link {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brown);
  font-weight: 600; border-bottom: 1px solid var(--gold);
  padding-bottom: 1px; transition: var(--transition);
}
.tc-link:hover { color: var(--maroon); }

/* =============================================
   DOCTOR SECTION
   ============================================= */
#doctor { background: var(--cream-dark); }
.doctor-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px;
  align-items: center;
}
.doctor-img-wrap {
  position: relative;
  animation: floatImageDelayed 7s ease-in-out infinite;
}
@keyframes floatImageDelayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.doctor-img-frame {
  border: 3px solid var(--gold);
  padding: 10px;
  display: inline-block;
  width: 100%;
}
.doctor-img-frame img {
  width: 100%; height: 500px; object-fit: cover;
  display: block;
}
.doctor-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--maroon), var(--brown));
  color: var(--gold-light); padding: 20px 24px;
  text-align: center; box-shadow: var(--shadow);
}
.doctor-badge-num  { font-size: 2rem; font-weight: 700; line-height: 1; }
.doctor-badge-text { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }

.doctor-info {}
.doctor-title { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.doctor-name {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--maroon);
  line-height: 1.1; margin-bottom: 8px;
}
.doctor-specialty {
  font-size: 0.88rem; color: var(--brown); font-style: italic;
  margin-bottom: 20px;
}
.doctor-reg {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.reg-badge {
  background: var(--cream); border: 1px solid var(--border);
  padding: 5px 12px; font-size: 0.68rem;
  letter-spacing: 0.08em; color: var(--text-mid);
  border-radius: 2px;
}
.doctor-bio {
  font-size: 0.92rem; color: var(--text-dark);
  line-height: 1.85; margin-bottom: 24px;
}
.doctor-specialties {}
.ds-title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 12px; }
.ds-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ds-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-dark);
}
.ds-list li::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

/* =============================================
   PACKAGES SECTION
   ============================================= */
#packages { background: var(--cream); }
.packages-intro { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.pkg-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
}
.pkg-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,69,19,0.04), rgba(201,168,76,0.06));
  opacity: 0; transition: var(--transition);
}
.pkg-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  box-shadow: 0 25px 50px rgba(139,69,19,0.15), 0 0 20px rgba(201,168,76,0.2); 
  border-color: var(--gold); 
}
.pkg-card:hover::after { opacity: 1; }
.pkg-card.featured {
  background: linear-gradient(135deg, var(--maroon), #7A1515);
  border-color: var(--gold); color: var(--white);
}
.pkg-card.featured .pkg-price,
.pkg-card.featured .pkg-title { color: var(--gold-light); }
.pkg-card.featured .pkg-desc,
.pkg-card.featured .pkg-inc li { color: rgba(255,255,255,0.8); }
.pkg-label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown); font-weight: 600; margin-bottom: 12px;
}
.pkg-card.featured .pkg-label { color: var(--gold-light); }
.pkg-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--maroon);
  margin-bottom: 6px;
}
.pkg-subtitle { font-size: 0.78rem; color: var(--text-mid); margin-bottom: 20px; font-style: italic; }
.pkg-divider { width: 40px; height: 1px; background: var(--gold); margin: 16px auto; }
.pkg-inc-title { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.pkg-inc { list-style: none; text-align: left; margin-bottom: 24px; }
.pkg-inc li {
  font-size: 0.82rem; color: var(--text-mid);
  padding: 5px 0;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px dashed rgba(201,168,76,0.2);
}
.pkg-inc li span { color: var(--gold); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }
.pkg-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  padding: 10px 20px; border: 1px solid var(--gold);
  color: var(--brown); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  background: none; transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-solid {
  padding: 10px 20px;
  background: var(--gold); color: var(--dark);
  border: 1px solid var(--gold);
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.btn-solid:hover { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.pkg-card.featured .btn-outline { border-color: var(--gold-light); color: var(--gold-light); }
.pkg-card.featured .btn-outline:hover { background: var(--gold-light); color: var(--dark); }

/* =============================================
   GALLERY STRIP
   ============================================= */
#gallery { background: var(--dark); padding: 70px 0; }
#gallery .section-title { color: var(--gold-light); }
#gallery .section-eyebrow { color: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 6px; margin-top: 40px;
}
.full-gallery-grid { margin-top: 20px; }
.public-gallery-filters {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 30px 0;
}
.pg-filter {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}
.pg-filter:hover, .pg-filter.active {
  background: var(--gold); color: var(--dark);
}
.public-gal-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.public-gal-item.hidden {
  display: none;
}
.gal-item { overflow: hidden; cursor: pointer; position: relative; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gal-item:hover img { transform: scale(1.1); }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay {
  position: absolute; inset: 0;
  background: rgba(92,26,26,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gal-overlay-icon { color: var(--gold-light); font-size: 1.8rem; }
.gal-item.span2 { grid-column: span 2; }

/* =============================================
   TESTIMONIALS
   ============================================= */
#testimonials { background: var(--cream-dark); }
.test-carousel-wrap {
  position: relative;
  margin-top: 50px;
}
.test-carousel {
  overflow: hidden;
  width: 100%;
}
.test-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.test-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  background: var(--white); padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative; transition: var(--transition);
  border-radius: 8px;
}
@media (max-width: 900px) {
  .test-card { flex: 0 0 calc(100% - 20px); }
}
.test-card:hover { box-shadow: 0 15px 30px rgba(139,69,19,0.1); transform: translateY(-4px); border-color: var(--gold); }
.test-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 30px;
}
.test-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: var(--transition);
}
.test-dot.active { background: var(--gold); transform: scale(1.2); }
.test-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; color: var(--gold); line-height: 0.8;
  margin-bottom: 16px; opacity: 0.6;
}
.test-text {
  font-size: 0.9rem; color: var(--text-dark);
  line-height: 1.85; font-style: italic; margin-bottom: 20px;
}
.test-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 16px; }
.test-footer { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--brown));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.test-name { font-weight: 600; font-size: 0.9rem; color: var(--maroon); }
.test-loc  { font-size: 0.75rem; color: var(--text-mid); }

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px;
  align-items: start;
}
.contact-info {}
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-item:first-child { padding-top: 0; }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--maroon), var(--brown));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(139,69,19,0.2);
}
.ci-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.ci-value { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }
.ci-value a { color: var(--brown); font-weight: 500; transition: var(--transition); }
.ci-value a:hover { color: var(--maroon); }

.map-wrap {
  border: 2px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }
.map-label {
  background: var(--maroon); color: var(--gold-light);
  padding: 14px 20px; font-size: 0.78rem;
  letter-spacing: 0.1em; text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.75); }
.footer-top {
  padding: 60px 30px 40px;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px;
}
.footer-brand {}
.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--gold-light);
  margin-bottom: 4px; font-weight: 700;
}
.footer-logo-sub { font-size: 0.65rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.85; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.soc-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  border-radius: 50%; transition: var(--transition); cursor: pointer;
  background: none;
}
.soc-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.footer-col-title {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 0.84rem; color: rgba(255,255,255,0.6);
  transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.footer-links li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-links li a::before { content: '—'; font-size: 0.65rem; color: var(--gold); opacity: 0.5; }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.83rem; color: rgba(255,255,255,0.65); }
.footer-contact-item .fci-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 30px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  max-width: 100%;
}

/* =============================================
   DESIGN CREDIT BAR
   ============================================= */
#design-credit {
  background: #050D14;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
#design-credit .dc-made {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}
#design-credit .dc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}
#design-credit .dc-logo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
}
#design-credit .dc-logo span { color: var(--gold); text-transform: lowercase; }
#design-credit .dc-tagline {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  letter-spacing: 0.06em;
}
#design-credit .dc-sep {
  color: rgba(201,168,76,0.3);
  font-size: 0.8rem;
}
#design-credit .dc-brand:hover .dc-logo { color: var(--gold); }
#design-credit .dc-phone {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
#whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  color: white; font-size: 1.6rem; text-decoration: none;
  transition: var(--transition); animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}
#whatsapp-float:hover { transform: scale(1.12); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  height: 300px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,10,10,0.7), rgba(92,26,26,0.5));
}
.page-hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.page-hero-title {
  font-family: 'Cormorant Garamond', 'Noto Sans Sinhala', 'Noto Sans Tamil', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.breadcrumb {
  font-size: 0.75rem; color: rgba(255,255,255,0.65); letter-spacing: 0.08em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.breadcrumb span { color: var(--gold); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.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; }

/* =============================================
   RESPONSIVE — COMPREHENSIVE MOBILE FIXES
   ============================================= */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  #about .about-grid,
  .doctor-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  .gal-item.span2 { grid-column: span 1; }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .doctor-img-frame img { height: 380px; }
  .doctor-badge { right: 0; bottom: 0; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Header */
  #site-header {
    padding: 10px 14px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }
  #site-header.scrolled { padding: 8px 14px; }

  .header-right { gap: 6px; }

  /* Logo — shrink on mobile */
  .main-logo { height: 40px; }
  .logo-name { font-size: 0.8rem; white-space: nowrap; }
  .logo-sub  { display: none; }

  /* Language switcher — compact */
  .lang-switcher { padding: 0 4px; gap: 2px; }
  .lang-btn { padding: 4px 6px; font-size: 0.65rem; }

  /* Buttons — compact */
  #menu-btn  { padding: 10px 12px; font-size: 0.75rem; gap: 5px; }
  #book-btn  { display: none; } /* Hide book btn on header to save space */

  /* Announcement banner */
  #announcement-banner {
    font-size: 0.62rem;
    padding: 8px 38px 8px 14px;
    letter-spacing: 0.06em;
  }

  /* Hero */
  #hero { height: 100svh; min-height: 500px; }
  .hero-content { padding: 0 18px; }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 8px;
  }
  .hero-subtitle { font-size: 1rem; margin-bottom: 16px; }
  .hero-desc { font-size: 0.85rem; margin-bottom: 24px; }
  .hero-cta { padding: 13px 28px; font-size: 0.75rem; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.15em; margin-bottom: 10px; }
  .hero-scroll { display: none; }

  /* Credentials strip */
  #credentials-strip { padding: 12px 16px; }
  .creds-inner { gap: 4px 16px; }
  .cred-item { font-size: 0.6rem; white-space: normal; text-align: center; }
  .cred-sep { display: none; }

  /* Sections */
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-desc  { font-size: 0.9rem; }

  /* About */
  #about .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-img-wrap img { height: 280px; }
  .about-highlights { grid-template-columns: 1fr; gap: 12px; }
  .about-img-badge { font-size: 0.64rem; padding: 10px 14px; }

  /* Treatments grid — single col on small screens */
  .treatments-grid { grid-template-columns: 1fr; gap: 20px; }
  .tc-img { height: 200px; }

  /* Doctor */
  .doctor-grid { grid-template-columns: 1fr; gap: 60px; }
  .doctor-img-frame img { height: 320px; }
  .doctor-badge {
    right: 0; bottom: -24px;
    padding: 14px 18px;
  }
  .doctor-badge-num  { font-size: 1.6rem; }
  .doctor-name { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Packages */
  .packages-grid { grid-template-columns: 1fr; gap: 20px; }
  .pkg-card { padding: 28px 20px; }
  .pkg-btns { flex-direction: column; }
  .btn-outline, .btn-solid { width: 100%; padding: 12px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 160px);
  }
  .gal-item.span2 { grid-column: span 2; }

  /* Testimonials */
  .test-grid { grid-template-columns: 1fr; }
  .test-card { padding: 24px 20px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-wrap iframe { height: 280px; }
  .contact-item { gap: 14px; }
  .ci-icon { width: 38px; height: 38px; font-size: 0.95rem; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 18px 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 18px;
  }
  #design-credit {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 12px 18px;
  }

  /* Nav panel */
  #nav-panel { width: min(320px, 90vw); }

  /* Page hero */
  .page-hero { height: 220px; }
  .page-hero-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
  .logo-name { font-size: 0.75rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1rem; }
  #menu-btn  { padding: 10px 12px; }
  #book-btn  { padding: 10px 10px; letter-spacing: 0; font-size: 0.68rem; }
  .lang-btn  { padding: 3px 6px; font-size: 0.58rem; }

  .hero-title    { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-desc     { font-size: 0.8rem; display: none; } /* hide on tiny screens */
  .hero-cta      { padding: 12px 22px; font-size: 0.7rem; }

  #nav-panel { width: 100%; }
  .about-img-wrap img { height: 240px; }
  .doctor-img-frame img { height: 280px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 200px);
  }
  .gal-item.span2 { grid-column: span 1; }
  .pkg-card { padding: 22px 16px; }
  .section { padding: 44px 0; }
  .treatments-grid { gap: 16px; }
}

