/* ============================================================
   PDAG — Professional Drivers Association Goa
   Main Stylesheet | Navy Blue & Gold Theme
   ============================================================ */

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

:root {
  --navy:        #1e3a5f;
  --navy-dark:   #0a1628;
  --navy-mid:    #162d4a;
  --gold:        #c9a84c;
  --gold-light:  #e8c96b;
  --gold-dark:   #a07830;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --text:        #1b1b2f;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --success:     #10b981;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --info:        #3b82f6;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.15);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .3s ease;
  --font-main:   'Inter', sans-serif;
  --font-serif:  'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Page Loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  animation: pulse 1.5s ease infinite;
}
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: var(--gold);
  animation: fillBar 1.2s ease forwards;
}
@keyframes fillBar { to { width: 100%; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ── Layout Helpers ───────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--gold-dark);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  padding: .4rem 1.2rem; border-radius: 50px;
  border: 1px solid rgba(201,168,76,.3);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px; margin: 0 auto;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 1rem auto 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px; font-size: .95rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
  border: 2px solid transparent;
}
.btn-navy {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark); border-color: var(--gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }

.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .85rem; }

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  font-size: .82rem; padding: .45rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.2rem; }
.top-bar a { color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .4rem; }
.top-bar a:hover { color: var(--gold-light); }
.top-btn {
  background: var(--gold); color: var(--navy-dark) !important;
  padding: .2rem .75rem; border-radius: 4px; font-weight: 600;
}
.top-btn:hover { background: var(--gold-light) !important; }

/* ── Header / Navbar ──────────────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0;
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-short { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--navy-dark); }
.logo-full { font-size: .65rem; color: var(--text-muted); letter-spacing: .5px; font-weight: 500; white-space: nowrap; }

.nav-links {
  display: flex; align-items: center; gap: .15rem;
  margin: 0 auto; flex-wrap: nowrap;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: .5rem .8rem;
  font-size: .88rem; font-weight: 500;
  color: var(--text); border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: rgba(30,58,95,.07); }
.nav-links a.active { font-weight: 600; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 210px;
  padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition); z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  padding: .6rem 1rem; border-radius: 6px; font-size: .87rem;
  display: flex; align-items: center; gap: .5rem;
}
.dropdown li a:hover { background: var(--off-white); color: var(--navy); }

.nav-cta { flex-shrink: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: .4rem; border-radius: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Flash Messages ───────────────────────────────────────── */
.alert {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.25rem;
  border-left: 4px solid; font-size: .9rem;
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 5000; min-width: 320px; max-width: 600px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  animation: slideDown .4s ease;
}
@keyframes slideDown { from{opacity:0;transform:translate(-50%,-20px)} to{opacity:1;transform:translate(-50%,0)} }
.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-danger   { background: #fef2f2; border-color: var(--danger);  color: #991b1b; }
.alert-warning  { background: #fffbeb; border-color: var(--warning); color: #92400e; }
.alert-info     { background: #eff6ff; border-color: var(--info);    color: #1e40af; }
.alert-icon { font-size: 1.1rem; flex-shrink: 0; }
.alert-close { margin-left: auto; font-size: 1.3rem; opacity: .6; padding: 0 .25rem; }
.alert-close:hover { opacity: 1; }

/* ── Hero (Base) ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a4f7c 100%);
  color: var(--white);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  padding: 5rem 0 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,168,76,.2); color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.4);
  padding: .4rem 1.2rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.15; margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-title .gold { color: var(--gold-light); }
.hero-subtitle { font-size: 1.1rem; opacity: .85; max-width: 580px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); padding: 4rem 0 3.5rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201,168,76,.12), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.2); color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.35);
  padding: .35rem 1.1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: .75rem; color: var(--white);
}
.page-hero-sub { opacity: .8; max-width: 520px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; opacity: .7; margin-top: 1rem;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { opacity: 1; color: var(--gold-light); }
.breadcrumb-sep { opacity: .5; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.5rem; }
.card-header-img {
  width: 100%; height: 200px;
  object-fit: cover; object-position: center;
}

/* Glass card */
.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 2rem;
  color: var(--white);
}

/* Feature card */
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  transition: all var(--transition); text-align: center;
  border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.feature-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(30,58,95,.1), rgba(201,168,76,.15));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--navy); margin: 0 auto 1.25rem;
}

/* Profile card (committee) */
.profile-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition); text-align: center;
}
.profile-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.profile-card-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 2.5rem 1.5rem 1rem; position: relative;
}
.profile-card-header::after {
  content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 5px var(--gold), 0 0 0 8px rgba(201,168,76,.2);
  background-size: cover; background-position: center;
}
.profile-avatar-wrap {
  position: relative; display: inline-block;
}
.profile-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 4px solid var(--white); box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.profile-avatar-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold);
  border: 4px solid var(--white);
}
.profile-card-body { padding: 2.5rem 1.5rem 1.5rem; }
.profile-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy-dark); margin-bottom: .25rem; }
.profile-designation { color: var(--gold-dark); font-weight: 600; font-size: .9rem; }
.profile-occupation { color: var(--text-muted); font-size: .83rem; margin-top: .25rem; }

/* Stat card */
.stat-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; color: var(--white);
  transition: all var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 700; color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: .85rem; opacity: .8; margin-top: .5rem; text-transform: uppercase; letter-spacing: 1px; }

/* ── Grids ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .45rem; color: var(--navy-dark); }
.form-label .req { color: var(--danger); margin-left: .2rem; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .9rem; font-family: inherit; color: var(--text);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}
.form-control.is-error { border-color: var(--danger); }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .3rem; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* File upload zone */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2rem; text-align: center; cursor: pointer;
  transition: all var(--transition); background: var(--off-white);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--gold); background: rgba(201,168,76,.05);
}
.upload-icon { font-size: 2.5rem; color: var(--text-muted); margin-bottom: .75rem; }
.upload-zone p { color: var(--text-muted); font-size: .9rem; }
.upload-zone .upload-browse { color: var(--navy); font-weight: 600; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .75rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.badge-success   { background: #d1fae5; color: #065f46; }
.badge-warning   { background: #fef3c7; color: #92400e; }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-info      { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: #f3f4f6; color: #4b5563; }
.badge-gold      { background: rgba(201,168,76,.15); color: var(--gold-dark); border: 1px solid rgba(201,168,76,.3); }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead { background: var(--navy); color: var(--white); }
thead th { padding: .9rem 1rem; font-size: .83rem; font-weight: 600; text-align: left; letter-spacing: .5px; }
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:last-child { border: none; }
tbody tr:hover { background: var(--off-white); }
td { padding: .85rem 1rem; font-size: .88rem; }

/* ── Accordion (FAQ) ──────────────────────────────────────── */
.accordion-item { border-radius: var(--radius); overflow: hidden; margin-bottom: .75rem; }
.accordion-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); padding: 1.1rem 1.5rem; cursor: pointer;
  font-weight: 600; transition: background var(--transition);
  box-shadow: var(--shadow-sm);
}
.accordion-head:hover { background: var(--off-white); }
.accordion-head i { transition: transform var(--transition); flex-shrink: 0; }
.accordion-item.open .accordion-head i { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  background: var(--white);
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem; font-size: .9rem; color: var(--text-muted); line-height: 1.7;
}
.accordion-item.open .accordion-body { max-height: 600px; padding: 1.25rem 1.5rem; }

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs { display: flex; gap: .5rem; border-bottom: 2px solid var(--border); margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
  padding: .6rem 1.25rem; font-size: .9rem; font-weight: 600;
  color: var(--text-muted); border-radius: 8px 8px 0 0;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); }
.tab-btn.active { border-bottom-color: var(--gold); background: rgba(201,168,76,.06); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: .7rem; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--navy));
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot {
  position: absolute; left: -2.5rem + .65rem; top: .4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold);
}
.timeline-date { font-size: .8rem; color: var(--gold-dark); font-weight: 700; margin-bottom: .25rem; }
.timeline-title { font-weight: 700; color: var(--navy-dark); margin-bottom: .25rem; }
.timeline-text { font-size: .9rem; color: var(--text-muted); }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 3.5rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── Scroll animations ────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── Back to top ──────────────────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; }

.footer-brand .footer-logo {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.footer-brand .footer-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark); font-size: 1rem;
}
.footer-brand .footer-logo span { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); }
.footer-brand p { font-size: .88rem; line-height: 1.7; opacity: .75; }

.social-links { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.footer-heading { font-family: var(--font-serif); color: var(--white); margin-bottom: 1.25rem; font-size: 1.05rem; }
.footer-links li + li { margin-top: .6rem; }
.footer-links a {
  display: flex; align-items: center; gap: .5rem;
  font-size: .87rem; opacity: .75; transition: all var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); padding-left: 4px; }
.footer-links i { font-size: .65rem; opacity: .6; }

.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; font-size: .87rem; }
.footer-contact i { color: var(--gold); margin-top: .2rem; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold-light); }

.footer-emergency { margin-top: 1.25rem; padding: 1rem; background: rgba(255,255,255,.05); border-radius: 8px; border-left: 3px solid var(--gold); }
.footer-emergency h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: .5rem; }
.emergency-link { display: block; font-size: .85rem; opacity: .8; margin-bottom: .2rem; }
.emergency-link:hover { color: var(--gold-light); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0; text-align: center;
  font-size: .82rem; opacity: .6;
}
.footer-bottom p + p { margin-top: .25rem; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: .88rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--text);
  transition: all var(--transition); background: var(--white);
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Empty state ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state i { font-size: 3.5rem; color: var(--text-muted); opacity: .4; margin-bottom: 1rem; }
.empty-state h3 { color: var(--text-muted); font-size: 1.2rem; margin-bottom: .5rem; }
.empty-state p { color: var(--text-muted); font-size: .9rem; }

/* ── Event card ───────────────────────────────────────────── */
.event-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.event-banner { width: 100%; height: 180px; object-fit: cover; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.event-banner-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 3rem; }
.event-meta { padding: 1.25rem; }
.event-date { font-size: .8rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; }
.event-title { font-weight: 700; font-size: 1.05rem; color: var(--navy-dark); margin-bottom: .5rem; }
.event-venue { font-size: .83rem; color: var(--text-muted); display: flex; align-items: center; gap: .4rem; }
.event-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-top: 1px solid var(--border); }

/* ── Restaurant card ──────────────────────────────────────── */
.restaurant-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); }
.restaurant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.restaurant-img { width: 100%; height: 160px; object-fit: cover; background: var(--off-white); }
.restaurant-meta { padding: 1.25rem; }
.restaurant-name { font-weight: 700; font-size: 1.05rem; color: var(--navy-dark); margin-bottom: .25rem; }
.restaurant-category { font-size: .8rem; color: var(--gold-dark); font-weight: 600; margin-bottom: .5rem; }
.restaurant-addr { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.restaurant-footer { display: flex; gap: .75rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* ── Notice card ──────────────────────────────────────────── */
.notice-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--navy); margin-bottom: 1rem; transition: all var(--transition); }
.notice-card.pinned { border-left-color: var(--gold); }
.notice-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.notice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.notice-title { font-weight: 700; font-size: 1rem; color: var(--navy-dark); }
.notice-date { font-size: .78rem; color: var(--text-muted); flex-shrink: 0; }
.notice-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Testimonial ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1rem; left: 1.5rem;
  font-size: 5rem; color: var(--gold); opacity: .2; font-family: Georgia, serif; line-height: 1;
}
.testimonial-text { font-style: italic; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; font-size: .95rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; }
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 4rem 0; text-align: center;
}
.cta-section h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy-dark); margin-bottom: 1rem; }
.cta-section p { color: rgba(10,22,40,.8); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { font-size: .82rem; padding: .45rem .65rem; }
}

@media (max-width: 768px) {
  .top-bar { font-size: .78rem; }
  .top-bar-left { display: none; }

  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); z-index: 2000; padding: 5rem 1.5rem 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transition: right var(--transition); overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { padding: .85rem .5rem; font-size: .95rem; border-radius: 0; }
  .has-dropdown .dropdown {
    position: static; box-shadow: none; opacity: 1; visibility: visible;
    transform: none; padding-left: 1rem; max-height: 0; overflow: hidden;
    transition: max-height var(--transition);
  }
  .has-dropdown.open .dropdown { max-height: 300px; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-content { padding: 3.5rem 0 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.2rem; }
  .section { padding: 3.5rem 0; }
  .btn-lg { padding: .85rem 1.5rem; }
}
