﻿/* ==========================================================================
   Visit Ancient City of Anuradhapura - Vibrant Modern Stylesheet
   Lead Guide: Roshan De Silva | Contact Number: +94712240022
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Colorful Sri Lankan Palette
   -------------------------------------------------------------------------- */
:root {
  /* Vibrant & Sacred Cultural Palette */
  --primary-terracotta: #A8321B;
  --primary-dark: #7A1F0E;
  --primary-light: #C84B31;
  --gold-accent: #E09F15;
  --gold-light: #F7D070;
  --gold-dark: #B37B09;
  --sacred-green: #195E35;
  --sacred-green-light: #2A8A50;
  --lotus-pink: #D84A6A;
  --lotus-pink-light: #FDE8ED;
  --azure-water: #0F7694;
  --azure-light: #E1F3F8;

  /* Surfaces & Backgrounds */
  --bg-sandstone: #FAF6EE;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F4ECE0;
  --bg-dark: #1A1412;
  --bg-card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));

  /* Text Colors */
  --text-main: #241D1A;
  --text-muted: #5C524C;
  --text-light: #FFFFFF;
  --border-color: #E6D9C8;
  --border-gold: #E5B842;

  /* Vibrant Shadows */
  --shadow-sm: 0 2px 10px rgba(36, 29, 26, 0.07);
  --shadow-md: 0 8px 24px rgba(36, 29, 26, 0.1);
  --shadow-lg: 0 16px 40px rgba(36, 29, 26, 0.16);
  --shadow-gold: 0 6px 25px rgba(224, 159, 21, 0.35);
  --shadow-color: 0 10px 30px rgba(168, 50, 27, 0.22);

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Transitions */
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sandstone);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

ul, ol {
  padding-left: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-padding-sm {
  padding: 3.5rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
  margin-bottom: 3.5rem;
  max-width: 780px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-terracotta);
  background: linear-gradient(135deg, rgba(168, 50, 27, 0.12), rgba(224, 159, 21, 0.15));
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 50, 27, 0.2);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 65px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-accent), var(--lotus-pink), transparent);
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
}

.section-header.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

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

/* Grid systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem;
}

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

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

/* --------------------------------------------------------------------------
   4. Buttons & Badges (Colorful & Tactile)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-terracotta), var(--primary-light));
  color: #ffffff;
  border-color: var(--primary-terracotta);
  box-shadow: 0 4px 14px rgba(168, 50, 27, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-terracotta));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(168, 50, 27, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-light));
  color: #1A1412;
  border-color: var(--gold-accent);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), #FFE7A3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 159, 21, 0.5);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--primary-terracotta);
  border-color: #ffffff;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-terracotta);
  border-color: var(--primary-terracotta);
}

.btn-outline-dark:hover {
  background-color: var(--primary-terracotta);
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-gold {
  background-color: #FFF6E0;
  color: var(--gold-dark);
  border: 1px solid rgba(224, 159, 21, 0.4);
}

.badge-green {
  background-color: #E8F7EE;
  color: var(--sacred-green);
  border: 1px solid rgba(25, 94, 53, 0.3);
}

.badge-terracotta {
  background-color: #FDF0ED;
  color: var(--primary-terracotta);
  border: 1px solid rgba(168, 50, 27, 0.3);
}

.badge-lotus {
  background-color: var(--lotus-pink-light);
  color: var(--lotus-pink);
  border: 1px solid rgba(216, 74, 106, 0.3);
}

.badge-azure {
  background-color: var(--azure-light);
  color: var(--azure-water);
  border: 1px solid rgba(15, 118, 148, 0.3);
}

/* --------------------------------------------------------------------------
   5. Top Bar & Navigation
   -------------------------------------------------------------------------- */
.top-bar {
  background: linear-gradient(90deg, #1A1412 0%, #2A1C16 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(224, 159, 21, 0.3);
}

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

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

.top-bar-item a {
  color: #ffffff;
  font-weight: 700;
}

.top-bar-item a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.top-bar-highlight {
  color: var(--gold-light);
  font-weight: 800;
}

.main-header {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.99);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-symbol {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-terracotta), var(--gold-accent));
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(168, 50, 27, 0.3);
}

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

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary-terracotta);
  line-height: 1.15;
}

.logo-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sacred-green);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
  padding: 0;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-terracotta), var(--gold-accent));
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-terracotta);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-terracotta);
  font-weight: 800;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  font-size: 1.7rem;
}

/* --------------------------------------------------------------------------
   6. Hero Banners & Page Headers (Vivid & Immersive)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(20, 14, 12, 0.55), rgba(20, 14, 12, 0.72)),
              url('https://images.unsplash.com/photo-1586861635167-e5223aadc9fe?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
}

.hero-content {
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224, 159, 21, 0.28);
  border: 1px solid rgba(247, 208, 112, 0.7);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 15px rgba(0,0,0,0.6);
}

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

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 2.2rem;
  line-height: 1.75;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Inner Page Header */
.page-banner {
  background: linear-gradient(135deg, #1C1512 0%, #7A1F0E 60%, #A8321B 100%);
  color: #ffffff;
  padding: 4.8rem 0 3.8rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(224, 159, 21, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

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

.breadcrumbs span.current {
  color: var(--gold-light);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Quick Stats Strip (Golden Terracotta)
   -------------------------------------------------------------------------- */
.stats-strip {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-terracotta) 50%, #B83A24 100%);
  color: #ffffff;
  padding: 3rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--gold-accent);
}

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

.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. Colorful Cards (Attractions, Tours, Stays)
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card-gradient);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-image {
  transform: scale(1.08);
}

.card-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.38rem;
  color: var(--text-main);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.35rem;
  flex: 1;
  line-height: 1.65;
}

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

/* Tour Feature Card */
.tour-card {
  border-top: 5px solid var(--primary-terracotta);
}

.tour-price {
  font-size: 1.45rem;
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--primary-terracotta);
}

.tour-price span {
  font-size: 0.84rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: 500;
}

.tour-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.tour-checklist li {
  font-size: 0.92rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-main);
}

.tour-checklist li svg {
  color: var(--sacred-green);
  flex-shrink: 0;
}

/* Guide Profile Card (Roshan De Silva) */
.guide-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF9 100%);
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 2.35rem;
  display: flex;
  gap: 2.2rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.guide-avatar {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-light);
  box-shadow: 0 4px 15px rgba(224, 159, 21, 0.35);
  flex-shrink: 0;
}

.guide-badge {
  display: inline-block;
  background-color: var(--sacred-green);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.guide-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface-alt);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  border: 1px solid var(--border-color);
}

.contact-pill:hover {
  background-color: var(--primary-terracotta);
  color: #ffffff;
  border-color: var(--primary-terracotta);
  box-shadow: 0 4px 12px rgba(168, 50, 27, 0.3);
}

/* --------------------------------------------------------------------------
   9. Tables (Historical Eras, Tickets, Quick Reference)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  margin: 2rem 0;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}

.custom-table thead {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-terracotta));
  color: #ffffff;
}

.custom-table th {
  font-family: var(--font-serif);
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.custom-table td {
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

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

.custom-table tbody tr:nth-child(even) {
  background-color: rgba(244, 236, 224, 0.45);
}

.custom-table tbody tr:hover {
  background-color: rgba(224, 159, 21, 0.1);
}

.table-highlight {
  font-weight: 800;
  color: var(--primary-terracotta);
}

/* --------------------------------------------------------------------------
   10. Forms & Booking Interface
   -------------------------------------------------------------------------- */
.form-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.6rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--primary-terracotta);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 3px rgba(168, 50, 27, 0.18);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--primary-terracotta);
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   11. Filter Buttons & Gallery (Vivid Visual Showcase)
   -------------------------------------------------------------------------- */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-terracotta), var(--gold-accent));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(168, 50, 27, 0.3);
}

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

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

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 12, 0.92) 0%, rgba(20, 14, 12, 0.25) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #ffffff;
}

.gallery-item:hover {
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.09);
}

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

.gallery-caption {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.gallery-sub {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

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

.lightbox-modal.active {
  display: flex;
}

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

.lightbox-img {
  max-height: 72vh;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  border: 2px solid rgba(224, 159, 21, 0.4);
}

.lightbox-details {
  color: #ffffff;
  text-align: center;
  margin-top: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   12. Accordions (FAQ)
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-surface);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  padding: 1.35rem 1.6rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-trigger:hover {
  background-color: var(--bg-surface-alt);
  color: var(--primary-terracotta);
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--gold-accent);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  padding: 0.5rem 1.6rem 1.6rem;
  max-height: 500px;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #1C1512 0%, #120E0C 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 4.8rem 0 2rem;
  border-top: 4px solid var(--gold-accent);
}

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

.footer-col-title {
  color: #ffffff;
  font-size: 1.18rem;
  margin-bottom: 1.3rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2.5px;
  background-color: var(--gold-accent);
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.94rem;
}

.footer-contact-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

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

/* --------------------------------------------------------------------------
   14. Confirmation Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(16, 12, 11, 0.82);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  padding: 2.6rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  border-top: 6px solid var(--sacred-green);
  animation: modalScale 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon-success {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #E8F7EE;
  color: var(--sacred-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.3rem;
  border: 2px solid rgba(25, 94, 53, 0.3);
}

.modal-receipt {
  background-color: var(--bg-surface-alt);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  margin: 1.6rem 0;
  text-align: left;
  font-size: 0.92rem;
}

.modal-receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.modal-receipt-row:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   15. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}

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

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-terracotta);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .guide-card {
    flex-direction: column;
    text-align: center;
  }

  .guide-contact-pills {
    justify-content: center;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
