/* =============================================
   Thakre Builders - Custom CSS
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --maroon: #5A001E;
  --maroon-dark: #3d0015;
  --maroon-light: #7a0029;
  --gold: #C9A227;
  --gold-light: #e0b93a;
  --gold-dark: #a8861f;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --light-gray: #f2f2f2;
  --gray: #e5e5e5;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --shadow-sm: 0 2px 8px rgba(90,0,30,0.08);
  --shadow-md: 0 8px 32px rgba(90,0,30,0.12);
  --shadow-lg: 0 20px 60px rgba(90,0,30,0.18);
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* =============================================
   Loading Screen
   ============================================= */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--maroon);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(201,162,39,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-inner {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadBar 2s ease-in-out forwards;
}
@keyframes loadBar {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* =============================================
   Scrollbar
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 3px; }

/* =============================================
   Navbar
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: var(--maroon);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo-sub {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

.btn-book {
  background: var(--gold);
  color: var(--maroon);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}
.btn-book:hover {
  background: transparent;
  color: var(--gold);
}

/* Mobile menu */
#mobile-menu {
  background: var(--maroon-dark);
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu .nav-link {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* =============================================
   Hero Section
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(90,0,30,0.5) 50%,
    rgba(0,0,0,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  background: var(--gold);
  color: var(--maroon);
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,162,39,0.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* Hero slide dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
/* ===========================
   Tablet (991px and below)
=========================== */
@media (max-width: 991px) {

  #hero {
    height: 80vh;
    min-height: 600px;
  }

  .hero-content {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
  }

  .hero-subtitle {
    max-width: 600px;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-primary,
  .btn-outline-white {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }

  .hero-dots {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }
}

/* ===========================
   Mobile (767px and below)
=========================== */
@media (max-width: 767px) {

  #hero {
    height: 65vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 1.2rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 100%;
    padding: 0 10px;
  }

  /* Stack buttons */
  .hero-content .flex {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .btn-primary,
  .btn-outline-white {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }

  /* Center dots */
  .hero-dots {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
  }
}

/* ===========================
   Small Phones (480px and below)
=========================== */
@media (max-width: 480px) {

  #hero {
    height: 55vh;
    min-height: 420px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 0.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .btn-primary,
  .btn-outline-white {
    max-width: 250px;
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 20px;
  }
}
/* =============================================
   Section Styles
   ============================================= */
.section-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
}
.section-badge::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.25;
}
.section-title span { color: var(--gold); }
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  border-radius: 2px;
  margin: 1rem 0;
}
.section-divider.center { margin: 1rem auto; }

/* =============================================
   About Section
   ============================================= */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.stat-suffix {
  color: var(--gold);
  font-size: 1.8rem;
}

/* Feature item */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background 0.3s ease;
}
.feature-item:hover { background: var(--off-white); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* =============================================
   Project Card
   ============================================= */
.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.08); }
.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--maroon);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   Highlights / Amenities Cards
   ============================================= */
.amenity-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  border: 1px solid var(--gray);
  cursor: default;
}
.amenity-card:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.amenity-card:hover .amenity-icon { background: rgba(201,162,39,0.2); color: var(--gold); }
.amenity-card:hover .amenity-title { color: var(--white); }
.amenity-icon {
  width: 56px;
  height: 56px;
  background: rgba(90,0,30,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--maroon);
  transition: all 0.35s ease;
}
.amenity-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.35s ease;
}

/* =============================================
   Floor Plans
   ============================================= */
.floor-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.floor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.floor-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.floor-card:hover img { transform: scale(1.04); }

/* =============================================
   Gallery
   ============================================= */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90,0,30,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-zoom-icon { transform: scale(1); }

/* =============================================
   Lightbox
   ============================================= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.lightbox-nav:hover { background: rgba(201,162,39,0.4); }
#lightbox-prev { left: 1.5rem; }
#lightbox-next { right: 1.5rem; }

/* =============================================
   Accordion
   ============================================= */
.accordion-item {
  border: 1px solid var(--gray);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.3s ease;
}
.accordion-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  background: white;
  transition: background 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.accordion-item.open .accordion-header {
  background: var(--maroon);
  color: white;
}
.accordion-header .acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(90,0,30,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.accordion-item.open .accordion-header .acc-icon {
  background: rgba(201,162,39,0.2);
  color: var(--gold);
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: white;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.accordion-item.open .accordion-body {
  max-height: 400px;
  padding: 1rem 1.5rem 1.25rem;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  min-width: 100%;
}
.stars { color: var(--gold); letter-spacing: 2px; }
.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.testimonial-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* =============================================
   Contact / Form
   ============================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--gray);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(90,0,30,0.4);
}

/* =============================================
   Glassmorphism Card
   ============================================= */
.glass-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
}

/* =============================================
   Location / Map
   ============================================= */
.map-placeholder {
  background: linear-gradient(135deg, var(--light-gray), var(--gray));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.landmark-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid var(--gold);
}
.landmark-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.landmark-icon {
  width: 36px;
  height: 36px;
  background: rgba(90,0,30,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* =============================================
   Footer
   ============================================= */
#footer {
  background: #0d0008;
  color: rgba(255,255,255,0.75);
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: block;
  padding: 0.2rem 0;
}
.footer-link:hover { color: var(--gold); }
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon);
  transform: translateY(-3px);
}

/* =============================================
   Back to Top
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--maroon);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(90,0,30,0.4);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--gold);
  color: var(--maroon);
}

/* =============================================
   Intersection Observer Animations
   ============================================= */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animated {
  opacity: 1 !important;
  transform: none !important;
}
/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* =============================================
   Modal
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--maroon);
  border-radius: 20px 20px 0 0;
}
.modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.3); }
.modal-body { padding: 2rem; }

/* =============================================
   Spec / Construction Section
   ============================================= */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* =============================================
   Section backgrounds
   ============================================= */
.bg-maroon { background: var(--maroon); }
.bg-gold { background: var(--gold); }
.bg-off-white { background: var(--off-white); }
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }

/* =============================================
   Responsive tweaks
   ============================================= */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .btn-primary, .btn-outline-white { padding: 0.75rem 1.5rem; font-size: 0.82rem; }
}
