/* ==========================================================================
   MOHANUR.COM — Official Bilingual Town Information Portal
   Primary Stylesheet: style.css
   Color Palette:
     Deep Maroon:   #7B1E2B
     Temple Gold:   #D4A64A
     White:         #FFFFFF
     Dark Text:     #252525
     Light Bg:      #F8F6F1
     Forest Green:  #315C42
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Noto+Sans+Tamil:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary-maroon: #7B1E2B;
  --primary-maroon-dark: #58121D;
  --primary-maroon-light: #9B2D3D;
  --primary-maroon-soft: rgba(123, 30, 43, 0.08);

  --temple-gold: #D4A64A;
  --temple-gold-light: #F3D37B;
  --temple-gold-dark: #9E7321;
  --temple-gold-soft: rgba(212, 166, 74, 0.12);

  --forest-green: #315C42;
  --forest-green-dark: #22422F;
  --forest-green-light: #447B5A;
  --forest-green-soft: rgba(49, 92, 66, 0.1);

  --white: #FFFFFF;
  --bg-light: #F8F6F1;
  --bg-sand: #F2EDE2;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FCFBF8;

  --text-dark: #252525;
  --text-muted: #5A564F;
  --text-light: #827E77;

  --border-light: #E8E2D5;
  --border-gold: #E5CD90;

  --shadow-sm: 0 2px 8px rgba(37, 37, 37, 0.05);
  --shadow-md: 0 6px 18px rgba(37, 37, 37, 0.08);
  --shadow-lg: 0 14px 34px rgba(37, 37, 37, 0.12);
  --shadow-maroon: 0 10px 30px rgba(123, 30, 43, 0.18);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.35s cubic-bezier(0.25, 1, 0.5, 1);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-tamil: 'Noto Sans Tamil', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Tamil Page Body font preference */
html[lang="ta"] body,
.tamil-text {
  font-family: var(--font-tamil), var(--font-sans);
  letter-spacing: 0.01em;
}

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

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

a:hover {
  color: var(--temple-gold-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Accessible outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--temple-gold);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Top Utility Bar --- */
.top-bar {
  background-color: var(--primary-maroon-dark);
  color: #F8EFE4;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 166, 74, 0.25);
}

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

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #EBD5BC;
}

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

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

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

.lang-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: #F8EFE4;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--temple-gold-light), var(--temple-gold));
  color: var(--primary-maroon-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.lang-btn:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* --- Main Navigation Header --- */
.site-header {
  background-color: var(--white);
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(123, 30, 43, 0.2);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-maroon);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--temple-gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-sub-badge {
  background-color: var(--temple-gold-soft);
  color: var(--temple-gold-dark);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Main Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--primary-maroon);
  background-color: var(--temple-gold-soft);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2.5px;
  background-color: var(--primary-maroon);
  border-radius: 2px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-sand);
  color: var(--primary-maroon);
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background-color: var(--primary-maroon-dark);
  color: var(--white);
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(88, 18, 29, 0.9) 0%,
    rgba(123, 30, 43, 0.75) 45%,
    rgba(37, 37, 37, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 4rem;
  max-width: 820px;
}

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

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-title .highlight {
  color: var(--temple-gold-light);
  position: relative;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #F4EBE0;
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--temple-gold-light) 0%, var(--temple-gold) 100%);
  color: var(--primary-maroon-dark);
  box-shadow: 0 4px 14px rgba(212, 166, 74, 0.35);
  border: 1px solid var(--temple-gold-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFE299 0%, var(--temple-gold-light) 100%);
  color: var(--primary-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 166, 74, 0.45);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-maroon);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-maroon {
  background-color: var(--primary-maroon);
  color: var(--white);
  border: 1px solid var(--primary-maroon);
}

.btn-maroon:hover {
  background-color: var(--primary-maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-maroon:hover {
  background-color: var(--primary-maroon);
  color: var(--white);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

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

/* Hero Quick Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid rgba(212, 166, 74, 0.3);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--temple-gold-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: #E3D9CC;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* --- Page Banner (For Inner Pages) --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-maroon-dark) 0%, var(--primary-maroon) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--temple-gold);
}

.page-banner::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--temple-gold-light);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: #E6DCce;
}

.breadcrumb a:hover {
  color: var(--temple-gold-light);
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.6;
}

.page-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.page-banner-desc {
  font-size: 1.08rem;
  color: #F2E9DE;
  max-width: 760px;
  line-height: 1.6;
}

/* --- Section Headings & Dividers --- */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-sand);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-maroon);
  background-color: var(--primary-maroon-soft);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary-maroon-dark);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem auto 1rem;
}

.divider-line {
  width: 45px;
  height: 2px;
  background-color: var(--temple-gold);
}

.divider-icon {
  width: 14px;
  height: 14px;
  fill: var(--primary-maroon);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Card Grids --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* Feature & Destination Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-sand);
}

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

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

.card-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(123, 30, 43, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 166, 74, 0.4);
}

.card-badge-green {
  background: rgba(49, 92, 66, 0.9);
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-maroon-dark);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}

.card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-meta-item svg {
  width: 13px;
  height: 13px;
  fill: var(--temple-gold-dark);
}

.card-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.card-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* Fact / Highlight Boxes */
.fact-box {
  background: var(--bg-card);
  border-left: 4px solid var(--primary-maroon);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.fact-box-gold {
  border-left-color: var(--temple-gold);
  background: #FCFBF7;
}

.fact-box-green {
  border-left-color: var(--forest-green);
  background: #F7FAF8;
}

.fact-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-maroon-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fact-title svg {
  width: 18px;
  height: 18px;
  fill: var(--temple-gold-dark);
}

.fact-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Two-Column Story / Intro Block */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-block.reversed {
  direction: rtl;
}

.story-block.reversed > * {
  direction: ltr;
}

.story-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-maroon-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.story-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.story-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.story-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(37,37,37,0.9), transparent);
  color: var(--white);
  padding: 1.5rem 1.25rem 0.85rem;
  font-size: 0.85rem;
}

/* --- Timeline Component (History) --- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-maroon), var(--temple-gold));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--primary-maroon);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-dot.gold {
  border-color: var(--temple-gold);
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.timeline-era {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-maroon);
  background-color: var(--primary-maroon-soft);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-maroon-dark);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Gallery Filters and Grid --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-sand);
  color: var(--primary-maroon);
  border-color: var(--temple-gold);
}

.filter-btn.active {
  background-color: var(--primary-maroon);
  color: var(--white);
  border-color: var(--primary-maroon);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,37,37,0.9) 0%, rgba(37,37,37,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

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

.gallery-cat {
  font-size: 0.72rem;
  color: var(--temple-gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 18, 18, 0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(6px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(212, 166, 74, 0.4);
}

.lightbox-caption {
  color: #F8EFE4;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.98rem;
  max-width: 800px;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--primary-maroon);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--primary-maroon);
  color: var(--white);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-nav svg,
.lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Information / Travel Tables & Lists --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.info-table th {
  background-color: var(--primary-maroon);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.info-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:nth-child(even) td {
  background-color: var(--bg-card-alt);
}

/* Verified Notice Alert */
.notice-box {
  background: #FFF9EE;
  border-left: 4px solid var(--temple-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.notice-icon {
  width: 24px;
  height: 24px;
  fill: var(--temple-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-text {
  font-size: 0.9rem;
  color: #634C15;
  line-height: 1.55;
}

/* --- Google AdSense Ad Holders --- */
.ad-slot-wrapper {
  width: 100%;
  margin: 2.25rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  clear: both;
  position: relative;
  overflow: hidden;
}

.ad-slot-wrapper.ad-mid-section {
  margin: 3rem auto;
}

.ad-slot-wrapper.ad-pre-footer {
  margin: 2.5rem auto 3.5rem;
}

.ad-slot-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 0.45rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ad-slot-label::before,
.ad-slot-label::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background-color: var(--border-light);
}

.ad-slot-box {
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  background-color: #FAF8F5;
  border: 1px dashed #DCD5C8;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
  padding: 0.5rem;
}

.ad-slot-box:hover {
  border-color: var(--temple-gold);
  background-color: #FCFAF6;
}

.ad-leaderboard {
  min-height: 90px;
  max-width: 970px;
}

.ad-in-article {
  min-height: 120px;
  max-width: 820px;
}

.ad-placeholder-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #9E9689;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.75rem 1rem;
}

.ad-placeholder-text svg {
  width: 18px;
  height: 18px;
  fill: #B5AD9F;
  margin-bottom: 2px;
}

.ad-placeholder-dimensions {
  font-size: 0.72rem;
  color: #B5AD9F;
  letter-spacing: 0.04em;
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, #3A0B13 0%, #20050A 100%);
  color: #F8EFE4;
  margin-top: auto;
  border-top: 3px solid var(--temple-gold);
}

.footer-top {
  padding: 4rem 0 3rem;
}

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

.footer-col-brand .brand-title {
  color: var(--temple-gold-light);
}

.footer-col-brand p {
  color: #CDBEAC;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--temple-gold-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #D6C8B7;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(212, 166, 74, 0.2);
  padding: 1.5rem 0;
  background-color: rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
  color: #AFA292;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: #C3B6A5;
}

.footer-bottom-links a:hover {
  color: var(--temple-gold-light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-maroon);
  color: var(--white);
  border: 2px solid var(--temple-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 999;
}

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

.back-to-top:hover {
  background-color: var(--temple-gold);
  color: var(--primary-maroon-dark);
  transform: translateY(-3px);
}

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