/* ==========================================================================
   anthiyur.in - Official Tourism & Town Portal
   Theme: Kongu Nature & Heritage Palette
   Emerald Green, Mountain Teal, Sun Gold, Sapphire River, Clean Light/Dark
   ========================================================================== */

:root {
  --primary: #0e6b47;
  --primary-dark: #08432c;
  --primary-light: #16a34a;
  --primary-subtle: #ecfdf5;
  --accent: #d97706;
  --accent-light: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.2);
  --water-blue: #0284c7;
  --water-light: #e0f2fe;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.94);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-subtle: #064e3b33;
  --accent: #f59e0b;
  --accent-light: #fcd34d;
  
  --bg-main: #0b111a;
  --bg-card: #131d2b;
  --bg-card-hover: #1b283b;
  --bg-alt: #0e1724;
  --bg-header: rgba(11, 17, 26, 0.94);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: #1e293b;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.6);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-light);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement / Weather Bar */
.topbar {
  background: linear-gradient(90deg, #063d27 0%, #0e6b47 50%, #024a68 100%);
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-badge {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 2px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 107, 71, 0.25);
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-badge svg {
  width: 32px;
  height: 32px;
}

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

.logo-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  line-height: 1.1;
}

.logo-title span {
  color: var(--accent);
  font-size: 1.25rem;
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-link.active {
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  transform: rotate(20deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 107, 71, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 107, 71, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--accent) 100%);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: #0f172a !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   Hero Slider Component
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0b111a;
}

.hero-slider {
  position: relative;
  min-height: 600px;
  height: 76vh;
  max-height: 760px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 17, 26, 0.35) 0%,
    rgba(11, 17, 26, 0.65) 55%,
    rgba(11, 17, 26, 0.92) 100%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 860px;
  padding: 40px 0;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 107, 71, 0.9);
  backdrop-filter: blur(8px);
  color: #ecfdf5;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: slideFadeDown 0.6s ease-out;
}

.slide-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  animation: slideFadeUp 0.7s ease-out 0.1s both;
}

.slide-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #e2e8f0;
  margin-bottom: 30px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  max-width: 720px;
  animation: slideFadeUp 0.7s ease-out 0.2s both;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideFadeUp 0.7s ease-out 0.3s both;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 38px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Search Bar Overlay */
.hero-search-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  margin-top: -50px;
  position: relative;
  z-index: 20;
  border: 1px solid var(--border-color);
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 16px;
  align-items: center;
}

.search-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.search-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.search-input-box input, .search-input-box select {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}

/* Quick Facts Strip */
.quick-facts-strip {
  padding: 40px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.fact-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.fact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.fact-content h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.fact-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header */
.section {
  padding: 70px 0;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

/* Category Grid / Feature Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 107, 71, 0.3);
}

.card-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #1e293b;
}

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

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

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 17, 26, 0.8);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-dist {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

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

/* Event Banner / Countdown */
.event-highlight {
  background: linear-gradient(135deg, #07291a 0%, #0e6b47 50%, #173d57 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.event-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.event-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
}

.countdown-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-top: 4px;
}

/* Filter Buttons */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Detail Tables */
.info-table-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.info-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--border-color);
}

.info-table td {
  padding: 14px 18px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

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

.info-table tr:hover td {
  background: var(--bg-alt);
  color: var(--text-main);
}

/* Badge Tags */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.tag-green {
  background: var(--primary-subtle);
  color: var(--primary);
}

.tag-amber {
  background: #fef3c7;
  color: #b45309;
}

.tag-blue {
  background: var(--water-light);
  color: var(--water-blue);
}

/* Directory Listing Item */
.dir-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  margin-bottom: 14px;
}

.dir-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.dir-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dir-details h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.dir-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dir-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-md);
}

/* Contact / Booking Form Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 17, 26, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 550px;
  width: 100%;
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  background: #fee2e2;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-alt);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* Footer */
.footer {
  background: #07120e;
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.93rem;
  margin: 16px 0 22px 0;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34d399;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

/* Page Header (Inner Pages) */
.page-hero {
  position: relative;
  padding: 80px 0 60px 0;
  background: linear-gradient(135deg, #07291a 0%, #0e6b47 60%, #0c4a6e 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #a7f3d0;
}

.breadcrumb a {
  color: #ecfdf5;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .search-form {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .event-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 76px);
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transition: left 0.3s ease;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
  }
  .nav-links.active {
    left: 0;
  }
  .search-form {
    grid-template-columns: 1fr;
  }
  .hero-slider {
    min-height: 520px;
    height: 65vh;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .slider-arrow {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}
