/* =============================================
   GRACIOUS LODGE — Apple-Inspired Redesign
   Clean. Minimal. Premium.
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f5f5f7;
  --gray-100: #e8e8ed;
  --gray-200: #d2d2d7;
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --gray-800: #1d1d1f;
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-pale: #f5ecd7;
  --nav-height: 52px;
  --font: -apple-system, 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =============================================
   PRELOADER
   ============================================= */
.preloader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-ring {
  width: 44px; height: 44px;
  border: 2px solid var(--gray-100);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   NAVIGATION — Frosted Glass Apple Bar
   ============================================= */
.apple-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
  transition: var(--transition);
}
.apple-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex; align-items: center;
  list-style: none;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-800);
  opacity: 0.85;
  letter-spacing: -0.1px;
  transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--gray-800);
  transition: var(--transition);
  border-radius: 2px;
}

/* =============================================
   HERO — Full-Bleed Cinematic
   ============================================= */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/Gracious lodge room 1 bed.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.62) 50%,
    rgba(0,0,0,0.78) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px;
  animation: heroReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.3s;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.5s;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.7s;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.3px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.9s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  color: var(--gray-800);
  font-size: 15px; font-weight: 500;
  padding: 14px 32px;
  border-radius: 980px;
  letter-spacing: -0.2px;
  transition: var(--transition);
  opacity: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 1.1s;
}
.hero-cta:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: scale(1.02);
}
.hero-cta svg { width: 16px; height: 16px; }

.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* =============================================
   SECTIONS — Shared Layout
   ============================================= */
.section {
  padding: 100px 24px;
}
.section-inner {
  max-width: 980px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: var(--gray-800);
  margin-bottom: 18px;
}
.section-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* =============================================
   ABOUT — Dark Slate Blue
   ============================================= */
#about {
  background: #0d1b2a;
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(184,134,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}
#about .section-title { color: #eef1f4; }
#about .section-desc { color: #8a96a3; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-card {
  background: #152235;
  padding: 44px 36px;
  transition: var(--transition);
}
.about-card:hover { background: #1a2c42; }
.about-icon {
  width: 48px; height: 48px;
  background: rgba(184,134,11,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-size: 20px;
}
.about-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: #dde4ec;
}
.about-card p {
  font-size: 15px;
  font-weight: 300;
  color: #7d8a97;
  line-height: 1.65;
}

/* =============================================
   TESTIMONIALS — Dark Warm Charcoal
   ============================================= */
#testify {
  background: #1a1410;
  position: relative;
  overflow: hidden;
}
#testify::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(184,134,11,0.1) 0%, transparent 55%);
  pointer-events: none;
}
#testify .section-title { color: #f0ebe4; }
#testify .section-label { color: var(--gold-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.testimonial-card {
  background: #241d18;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(184,134,11,0.15);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
  border-color: rgba(184,134,11,0.35);
}
.stars {
  display: flex; gap: 4px; margin-bottom: 18px;
}
.star {
  color: var(--gold-light);
  font-size: 14px;
}
.testimonial-text {
  font-size: 15px;
  font-weight: 300;
  color: #a09080;
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 600;
}
.author-name {
  font-size: 14px; font-weight: 500;
  color: #d4c8b8;
}

/* =============================================
   SERVICES — Dark Forest Green
   ============================================= */
#service {
  background: #0a1a12;
  position: relative;
  overflow: hidden;
}
#service::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(30,80,50,0.4) 0%, transparent 60%);
  pointer-events: none;
}
#service .section-title { color: #e8f0eb; }
#service .section-desc { color: #6e8a78; }
#service .section-label { color: #7dc89a; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.service-card {
  background: #0f2318;
  border-radius: var(--radius-md);
  padding: 44px 36px;
  text-align: center;
  border: 1px solid rgba(60,130,80,0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2a7a4a, #7dc89a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(-6px);
  border-color: rgba(60,130,80,0.4);
}
.service-icon {
  width: 72px; height: 72px;
  background: rgba(40,100,60,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: #7dc89a;
  font-size: 28px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: #2a7a4a;
  color: var(--white);
  transform: scale(1.1);
}
.service-card h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: #c8e0d0;
}
.service-card p {
  font-size: 14px;
  font-weight: 300;
  color: #6e8a78;
  line-height: 1.7;
}

/* =============================================
   GALLERY — Masonry-Style Apple Photos
   ============================================= */
#gallery {
  background: #080808;
  position: relative;
}
#gallery::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(184,134,11,0.06) 0%, transparent 50%);
  pointer-events: none;
}
#gallery .section-title { color: var(--white); }
#gallery .section-label { color: var(--gold-light); }
#gallery .section-inner { position: relative; z-index: 1; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 3px;
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-grid .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item {
  position: relative; overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 20px;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
  background: rgba(0,0,0,0.35);
}
.gallery-overlay-inner {
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
  color: white;
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.gallery-item:hover .gallery-overlay-inner {
  opacity: 1; transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  border: none; cursor: pointer;
  color: white; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* =============================================
   CONTACT — Deep Navy
   ============================================= */
#contact {
  background: #0b0f1a;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(20,40,100,0.4) 0%, transparent 60%);
  pointer-events: none;
}
#contact .section-title { color: #e8ecf5; }
#contact .section-label { color: #7a9fd4; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a9fd4;
}
.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: #d0d8e8;
  background: #141928;
  border: 1px solid rgba(100,130,200,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  outline: none;
  transition: var(--transition);
  resize: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #4a5568; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: #5080c0;
  box-shadow: 0 0 0 3px rgba(80,128,192,0.15);
}
.form-group textarea { min-height: 120px; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #2a4a8a;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px; font-weight: 500;
  padding: 16px 32px;
  border-radius: 980px;
  border: none; cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.2px;
  align-self: flex-start;
}
.submit-btn:hover {
  background: #3a6ab0;
  transform: scale(1.02);
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-title {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.5px;
  color: #d0d8ec;
  margin-bottom: 6px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(42,74,138,0.4);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #7a9fd4; font-size: 16px;
}
.contact-item-body {}
.contact-item-label {
  font-size: 11px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: #4a6a9a; margin-bottom: 4px;
}
.contact-item-value {
  font-size: 14px; color: #b0bcd4;
  line-height: 1.5;
}
.contact-item-value a { color: inherit; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold); }

.social-row {
  display: flex; gap: 12px; margin-top: 10px;
}
.social-btn {
  width: 40px; height: 40px;
  background: #141928;
  border: 1px solid rgba(100,130,200,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #7a9fd4;
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover {
  background: #2a4a8a;
  color: var(--white);
  border-color: #2a4a8a;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #060810;
  padding: 40px 24px;
  border-top: 1px solid rgba(100,130,200,0.12);
  text-align: center;
}
footer .footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
footer .footer-brand {
  font-size: 15px; font-weight: 600;
  color: var(--white); letter-spacing: -0.2px;
}
footer .footer-copy {
  font-size: 12px; color: var(--gray-400);
}
footer .footer-links {
  display: flex; gap: 20px;
}
footer .footer-links a {
  font-size: 12px; color: var(--gray-400);
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--white); }

/* =============================================
   WHATSAPP FAB
   ============================================= */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  color: white; font-size: 22px;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* =============================================
   MOBILE NAV
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 999;
  padding: 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 12px 0;
  font-size: 17px; font-weight: 400;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* =============================================
   ANIMATIONS — Scroll Reveal
   ============================================= */
.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; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2; grid-row: span 1;
  }

  footer .footer-inner { flex-direction: column; gap: 16px; }
  .hero h1 { letter-spacing: -1px; }

  .section { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* =============================================
   THEME TOGGLE — iOS-Style Pill Switch
   ============================================= */
.nav-right-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-track {
  display: flex;
  align-items: center;
  width: 56px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.12);
  position: relative;
  transition: background 0.4s ease, border-color 0.4s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.theme-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #d4a843, #b8860b);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1;
}

.theme-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.theme-icon svg {
  width: 12px;
  height: 12px;
}

.theme-icon-sun {
  right: 6px;
  color: #d4a843;
  opacity: 1;
}
.theme-icon-moon {
  left: 6px;
  color: #8ab4d4;
  opacity: 0;
}

/* Dark mode state (default) — thumb on left, sun visible */
[data-theme="dark"] .theme-toggle-track {
  background: #1a1a2e;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(0px);
  background: linear-gradient(135deg, #d4a843, #b8860b);
}
[data-theme="dark"] .theme-icon-sun { opacity: 1; }
[data-theme="dark"] .theme-icon-moon { opacity: 0; }

/* Light mode state — thumb slides right, moon visible */
[data-theme="light"] .theme-toggle-track {
  background: #e8f0fe;
  border-color: rgba(100,150,220,0.3);
}
[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: linear-gradient(135deg, #5080c0, #2a4a8a);
}
[data-theme="light"] .theme-icon-sun { opacity: 0; }
[data-theme="light"] .theme-icon-moon { opacity: 1; }

/* Nav bar in light mode */
[data-theme="light"] .apple-nav {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .nav-brand { color: #1d1d1f; }
[data-theme="light"] .nav-links a { color: #1d1d1f; }
[data-theme="light"] .nav-toggle span { background: #1d1d1f; }

/* =============================================
   LIGHT MODE — Full Overrides
   ============================================= */

/* Smooth global transition on theme switch */
[data-theme="light"] *,
[data-theme="dark"] * {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}

/* --- ABOUT (light) --- */
[data-theme="light"] #about {
  background: #f5f5f7;
}
[data-theme="light"] #about::before {
  background: radial-gradient(ellipse at top left, rgba(184,134,11,0.04) 0%, transparent 60%);
}
[data-theme="light"] #about .section-title { color: #1d1d1f; }
[data-theme="light"] #about .section-desc { color: #6e6e73; }
[data-theme="light"] #about .section-label { color: #b8860b; }

[data-theme="light"] .about-card {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .about-card:hover { background: #fafafa; }
[data-theme="light"] .about-card h3 { color: #1d1d1f; }
[data-theme="light"] .about-card p { color: #6e6e73; }
[data-theme="light"] .about-icon {
  background: #fdf3dc;
  color: #b8860b;
}

/* --- TESTIMONIALS (light) --- */
[data-theme="light"] #testify {
  background: #ffffff;
}
[data-theme="light"] #testify::before { display: none; }
[data-theme="light"] #testify .section-title { color: #1d1d1f; }
[data-theme="light"] #testify .section-label { color: #b8860b; }

[data-theme="light"] .testimonial-card {
  background: #f5f5f7;
  border-color: #e8e8ed;
}
[data-theme="light"] .testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  border-color: #d2d2d7;
}
[data-theme="light"] .testimonial-text { color: #6e6e73; }
[data-theme="light"] .author-name { color: #1d1d1f; }

/* --- SERVICES (light) --- */
[data-theme="light"] #service {
  background: #f0f4f1;
}
[data-theme="light"] #service::before {
  background: radial-gradient(ellipse at top right, rgba(40,120,70,0.06) 0%, transparent 60%);
}
[data-theme="light"] #service .section-title { color: #1a2e22; }
[data-theme="light"] #service .section-desc { color: #4a6a58; }
[data-theme="light"] #service .section-label { color: #2a7a4a; }

[data-theme="light"] .service-card {
  background: #ffffff;
  border-color: rgba(40,120,70,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .service-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
[data-theme="light"] .service-card::before {
  background: linear-gradient(90deg, #2a7a4a, #5ab87a);
}
[data-theme="light"] .service-icon {
  background: #e8f5ee;
  color: #2a7a4a;
}
[data-theme="light"] .service-card:hover .service-icon {
  background: #2a7a4a;
  color: #ffffff;
}
[data-theme="light"] .service-card h4 { color: #1a2e22; }
[data-theme="light"] .service-card p { color: #4a6a58; }

/* --- GALLERY (light) --- */
[data-theme="light"] #gallery {
  background: #1a1a1a;
}
/* Gallery stays dark in both themes — photos always pop on black */

/* --- CONTACT (light) --- */
[data-theme="light"] #contact {
  background: #f0f4fa;
}
[data-theme="light"] #contact::before {
  background: radial-gradient(ellipse at bottom left, rgba(80,120,200,0.08) 0%, transparent 60%);
}
[data-theme="light"] #contact .section-title { color: #1a1f3a; }
[data-theme="light"] #contact .section-label { color: #3a60aa; }

[data-theme="light"] .form-group label { color: #3a60aa; }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: #ffffff;
  border-color: #c8d4ea;
  color: #1a1f3a;
}
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: #9aaccc; }
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: #3a60aa;
  box-shadow: 0 0 0 3px rgba(58,96,170,0.12);
}
[data-theme="light"] .submit-btn {
  background: #2a4a8a;
}
[data-theme="light"] .submit-btn:hover { background: #3a60aa; }
[data-theme="light"] .contact-info-title { color: #1a1f3a; }
[data-theme="light"] .contact-item-icon {
  background: #dce8f8;
  color: #3a60aa;
}
[data-theme="light"] .contact-item-label { color: #6a88c0; }
[data-theme="light"] .contact-item-value { color: #2a3a5a; }
[data-theme="light"] .contact-item-value a:hover { color: #2a4a8a; }
[data-theme="light"] .social-btn {
  background: #ffffff;
  border-color: #c8d4ea;
  color: #3a60aa;
}
[data-theme="light"] .social-btn:hover {
  background: #2a4a8a;
  color: #ffffff;
  border-color: #2a4a8a;
}

/* --- FOOTER (light) --- */
[data-theme="light"] footer {
  background: #1a1f3a;
  border-top-color: rgba(58,96,170,0.2);
}

/* --- MOBILE MENU (light) --- */
[data-theme="light"] .mobile-menu {
  background: rgba(255,255,255,0.97);
  border-bottom-color: #e8e8ed;
}
[data-theme="light"] .mobile-menu a { color: #1d1d1f; border-bottom-color: #e8e8ed; }
[data-theme="light"] .mobile-menu a:hover { color: #2a4a8a; }

/* --- PRELOADER (light) --- */
[data-theme="light"] .preloader { background: #f5f5f7; }

/* --- LIGHTBOX stays dark always --- */
