/* ==========================================================================
   ARULMIGU MARUTHAMALAI SUBRAMANIASWAMY TEMPLE — OFFICIAL STATIC STYLESHEET
   Domain: maruthamalai.com
   Palette: Temple Maroon (#7B1E24), Deep Saffron (#E58A12), Gold (#D4AF37),
            Cream (#FFF8E7), Dark Text (#29231E), Off-White (#FDFBF7)
   ========================================================================== */

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

:root {
  --color-maroon-dark: #4D0F13;
  --color-maroon: #7B1E24;
  --color-maroon-light: #9B2830;
  --color-saffron: #E58A12;
  --color-saffron-light: #F7A838;
  --color-gold: #D4AF37;
  --color-gold-light: #F7E4A8;
  --color-gold-dark: #9E7D15;
  --color-cream: #FFF8E7;
  --color-cream-soft: #FBF5E8;
  --color-white: #FFFFFF;
  --color-dark: #29231E;
  --color-dark-light: #4A4037;
  --color-muted: #6B5E52;
  --color-border: #E8DEC8;
  --color-border-gold: rgba(212, 175, 55, 0.4);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-tamil: 'Noto Sans Tamil', 'Outfit', sans-serif;

  --shadow-sm: 0 2px 8px rgba(41, 35, 30, 0.06);
  --shadow-md: 0 6px 18px rgba(41, 35, 30, 0.09);
  --shadow-lg: 0 12px 30px rgba(41, 35, 30, 0.14);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.22);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

[lang="ta"] body,
body[data-current-lang="ta"] {
  font-family: var(--font-tamil);
}

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

a {
  color: var(--color-maroon);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--color-saffron);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-maroon-dark);
  font-weight: 700;
  line-height: 1.25;
}

[lang="ta"] h1, [lang="ta"] h2, [lang="ta"] h3, [lang="ta"] h4,
body[data-current-lang="ta"] h1, body[data-current-lang="ta"] h2, 
body[data-current-lang="ta"] h3, body[data-current-lang="ta"] h4 {
  font-family: var(--font-tamil);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--color-maroon-dark) 0%, var(--color-maroon) 50%, var(--color-maroon-dark) 100%);
  color: var(--color-cream);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-gold-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Button */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-cream);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--color-gold);
  color: var(--color-maroon-dark);
}

.lang-btn:hover:not(.active) {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border-gold);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-maroon);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-maroon);
  background-color: var(--color-cream);
}

.nav-link.active {
  color: var(--color-maroon);
  background-color: var(--color-cream);
  border-bottom: 2.5px solid var(--color-gold);
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  color: var(--color-cream) !important;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  box-shadow: 0 3px 8px rgba(123, 30, 36, 0.25);
  border: 1px solid var(--color-gold);
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-maroon) 100%);
  color: #fff !important;
}

/* Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-maroon);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-maroon-dark);
  color: var(--color-white);
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(123, 30, 36, 0.6) 0%, rgba(77, 15, 19, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  color: var(--color-gold-light);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--color-cream);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 680px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Quick Timing Strip inside Hero */
.hero-timings-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.timing-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.timing-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.timing-label {
  color: var(--color-gold-light);
  font-weight: 600;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.timing-val {
  color: #fff;
  font-weight: 500;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-saffron) 0%, #D47A0E 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(229, 138, 18, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F5A623 0%, var(--color-saffron) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(229, 138, 18, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-cream);
  border: 1px solid var(--color-gold);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-maroon-dark);
  transform: translateY(-2px);
}

.btn-outline-maroon {
  background: transparent;
  color: var(--color-maroon);
  border: 1.5px solid var(--color-maroon);
}

.btn-outline-maroon:hover {
  background: var(--color-maroon);
  color: #FFFFFF;
}

.btn-maroon {
  background: var(--color-maroon);
  color: #FFFFFF;
  border: 1px solid var(--color-gold-dark);
}

.btn-maroon:hover {
  background: var(--color-maroon-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   ORNAMENTAL DIVIDERS & SECTION HEADERS
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-cream {
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-maroon {
  background: linear-gradient(145deg, var(--color-maroon-dark) 0%, var(--color-maroon) 100%);
  color: var(--color-white);
}

.section-maroon h2, .section-maroon h3, .section-maroon h4 {
  color: var(--color-gold-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  color: var(--color-saffron);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-maroon .section-tag {
  color: var(--color-gold-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-maroon .section-subtitle {
  color: var(--color-cream);
  opacity: 0.9;
}

/* Traditional Ornamental Divider */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 1.5rem auto;
  max-width: 280px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.ornament-icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-cream);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-maroon);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-maroon);
}

.card-text {
  color: var(--color-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-maroon);
}

.card-link:hover {
  color: var(--color-saffron);
}

/* Feature Box / Icon Box */
.feature-box {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--color-gold);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--color-gold);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gold);
  color: var(--color-maroon);
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ==========================================================================
   TIMINGS & POOJA SCHEDULE TABLES & CARDS
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.temple-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--color-white);
  min-width: 560px;
}

.temple-table th {
  background: linear-gradient(90deg, var(--color-maroon-dark) 0%, var(--color-maroon) 100%);
  color: var(--color-cream);
  font-family: var(--font-heading);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.temple-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.925rem;
  color: var(--color-dark);
}

.temple-table tr:nth-child(even) {
  background-color: var(--color-cream-soft);
}

.temple-table tr:hover {
  background-color: #FFF2D1;
}

.badge-time {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-maroon-dark);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gold);
  font-size: 0.85rem;
}

/* Verified Disclaimer Alert Box */
.notice-box {
  background-color: #FFF9E6;
  border-left: 4px solid var(--color-saffron);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #63450E;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notice-box svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--color-saffron);
  margin-top: 0.1rem;
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-cream);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(77, 15, 19, 0.9) 0%, rgba(77, 15, 19, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.gallery-caption {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--color-gold);
  color: var(--color-maroon-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom-icon svg {
  width: 18px;
  height: 18px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  border: 1px solid var(--color-border-gold);
}

.lightbox-info {
  margin-top: 1rem;
  text-align: center;
  color: var(--color-cream);
  max-width: 600px;
}

.lightbox-caption {
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-counter {
  font-size: 0.825rem;
  color: var(--color-gold);
  margin-top: 0.35rem;
}

.lightbox-btn {
  position: absolute;
  background: rgba(41, 35, 30, 0.65);
  border: 1px solid var(--color-gold);
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background: var(--color-gold);
  color: var(--color-maroon-dark);
}

.lightbox-close {
  top: -2.5rem;
  right: 0;
}

.lightbox-prev {
  top: 50%;
  left: -3rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-gold);
}

.faq-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-maroon-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  fill: var(--color-maroon);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--color-saffron);
}

.faq-item.active .faq-btn {
  color: var(--color-maroon);
  background-color: var(--color-cream-soft);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: var(--color-white);
}

.faq-panel-inner {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(232, 222, 200, 0.4);
}

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HERO
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-maroon-dark) 0%, var(--color-maroon) 100%);
  color: var(--color-white);
  padding: 3.5rem 0 3rem 0;
  border-bottom: 3px solid var(--color-gold);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-gold-light);
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-gold);
}

.breadcrumb .active {
  color: var(--color-cream);
  font-weight: 500;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--color-cream);
  max-width: 680px;
}

/* ==========================================================================
   CONTACT & TRAVEL / HOW TO REACH
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-maroon);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--color-maroon-dark);
}

.info-content p {
  font-size: 0.925rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Transport Options List */
.transport-card {
  background: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.transport-card:hover {
  border-color: var(--color-gold);
  background: #FFF9EC;
}

.transport-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-maroon);
}

.transport-card svg {
  width: 20px;
  height: 20px;
  fill: var(--color-saffron);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--color-maroon-dark) 0%, #30080B 100%);
  color: var(--color-cream);
  border-top: 3px solid var(--color-gold);
  padding: 4rem 0 1.5rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.footer-title {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-cream);
  opacity: 0.85;
  line-height: 1.6;
}

.footer-heading {
  color: var(--color-gold-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-cream);
  font-size: 0.9rem;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--color-gold-light);
  opacity: 1;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
  color: var(--color-cream);
  opacity: 0.9;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--color-cream);
  opacity: 0.75;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-maroon);
  border: 1.5px solid var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-saffron);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   Breakpoints: 320px, 375px, 768px, 1024px, 1440px
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-gold);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-menu.open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-timings-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 375px) {
  .brand-title {
    font-size: 1.05rem;
  }
  
  .brand-logo {
    width: 42px;
    height: 42px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
