/* ═══════════════════════════════════════════════════
   I Love Deoghar — Main Stylesheet
   Theme: Sacred Crimson & Gold
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi&family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --red:    #c1121f;
  --red2:   #e63946;
  --gold:   #f4a261;
  --gold2:  #e76f51;
  --cream:  #fff8f0;
  --dark:   #1a0a00;
  --dark2:  #2d1a00;
  --muted:  #7a5c4a;
  --border: rgba(193,18,31,0.12);
  --card-bg:#fff;
  --shadow: 0 4px 24px rgba(193,18,31,0.08);
  --radius: 16px;
  --nav-h:  64px;
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── Typography ────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--dark); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red2); }

/* ── Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
}
.navbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--red);
}
.navbar .logo span { color: var(--gold2); }
.navbar .nav-links {
  display: flex; gap: 4px; margin-left: auto; align-items: center;
}
.navbar .nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: var(--dark2);
  transition: background 0.2s;
}
.navbar .nav-links a:hover { background: var(--border); }
.navbar .nav-links a.active { color: var(--red); background: rgba(193,18,31,0.06); }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--red);
  cursor: pointer;
}
.nav-btn {
  padding: 8px 18px; border-radius: 20px;
  background: var(--red); color: #fff !important;
  font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.nav-btn:hover { background: var(--red2) !important; transform: translateY(-1px); }
.hamburger { display: none; font-size: 22px; cursor: pointer; margin-left: auto; color: var(--dark); }

/* ── Page wrapper ──────────────────────────────────── */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(193,18,31,0.88) 0%, rgba(244,162,97,0.80) 100%),
    url('assets/images/baidyanath-bg.jpg') center/cover no-repeat;
}
.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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 40px 20px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 6px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 80px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 .hindi {
  display: block;
  font-size: 0.55em;
  opacity: 0.9;
  letter-spacing: 2px;
}
.hero p {
  font-size: clamp(15px, 2.5vw, 20px);
  opacity: 0.9;
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 32px; border-radius: 50px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary { background: #fff; color: var(--red); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-hero-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 13px; text-align: center;
  animation: bounce 2s infinite;
}
.hero-scroll::before { content: '↓'; display: block; font-size: 20px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ──────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.section-header p { color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ── Cards Grid ────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Place Card ────────────────────────────────────── */
.place-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.place-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(193,18,31,0.15); }
.place-card .card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.place-card .card-body { padding: 20px; }
.place-card .card-category {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 8px;
}
.place-card h3 { font-size: 20px; margin-bottom: 8px; }
.place-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.card-meta { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── Hotel/Car/Guide Card ──────────────────────────── */
.booking-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s;
}
.booking-card:hover { transform: translateY(-4px); }
.booking-card .thumb {
  height: 180px; background: linear-gradient(135deg, #c1121f22, #f4a26133);
  display: flex; align-items: center; justify-content: center; font-size: 60px;
}
.booking-card .info { padding: 18px; }
.booking-card h3 { font-size: 18px; margin-bottom: 6px; }
.booking-card .price { color: var(--red); font-weight: 700; font-size: 20px; margin: 8px 0; }
.booking-card .desc { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 4px; }

/* ── Button ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s;
}
.btn-primary { background: var(--red); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--red2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); width: 100%; margin-top: 6px; }
.btn-outline:hover { background: rgba(193,18,31,0.06); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold2); }

/* ── Feed ──────────────────────────────────────────── */
.feed-layout {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
@media (max-width: 960px) {
  .feed-layout { grid-template-columns: 1fr; }
  .feed-sidebar-right { display: none; }
}
@media (max-width: 640px) {
  .feed-sidebar-left { display: none; }
}

.feed-col { display: flex; flex-direction: column; gap: 16px; }

.sidebar-card {
  background: #fff; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.sidebar-card h4 { font-size: 15px; margin-bottom: 14px; color: var(--dark); }

/* ── Post Card ─────────────────────────────────────── */
.post-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.post-header { display: flex; align-items: center; gap: 12px; padding: 16px; }
.post-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
  overflow: hidden; /* ← CRITICAL: clips image into circle */
}
.post-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  display: block;
}
.post-meta { flex: 1; }
.post-meta .author { font-weight: 600; font-size: 15px; }
.post-meta .time { font-size: 12px; color: var(--muted); }
.post-caption { padding: 0 16px 14px; font-size: 15px; line-height: 1.6; }
.post-image { width: 100%; max-height: 480px; object-fit: cover; }
.post-actions { display: flex; gap: 0; border-top: 1px solid var(--border); }
.post-action-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px; font-size: 14px; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: all 0.2s;
  border: none; background: none;
}
.post-action-btn:hover { color: var(--red); background: rgba(193,18,31,0.04); }
.post-action-btn.liked { color: var(--red); }

/* ── Create Post Box ───────────────────────────────── */
.create-post-card {
  background: #fff; border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.create-post-row {
  display: flex; gap: 12px; align-items: flex-start;
}
.create-post-input {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 24px; padding: 12px 18px;
  font-size: 15px; resize: none; outline: none;
  font-family: var(--font-body); transition: border-color 0.2s;
  background: var(--cream);
}
.create-post-input:focus { border-color: var(--red); }
.create-post-actions { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; align-items: center; }
.post-img-label {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--red);
  cursor: pointer; transition: background 0.2s;
}
.post-img-label:hover { background: rgba(193,18,31,0.06); }

/* ── Comments ──────────────────────────────────────── */
.comments-section { padding: 12px 16px; border-top: 1px solid var(--border); display: none; }
.comment-item { display: flex; gap: 10px; margin-bottom: 12px; }
.comment-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  overflow: hidden;
}
.comment-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.comment-bubble {
  background: var(--cream); border-radius: 12px 12px 12px 4px;
  padding: 8px 14px; font-size: 14px;
}
.comment-bubble .c-author { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 20px;
  padding: 8px 14px; font-size: 14px; outline: none;
  font-family: var(--font-body);
}
.comment-input:focus { border-color: var(--red); }
.comment-submit {
  padding: 8px 16px; border-radius: 20px;
  background: var(--red); color: #fff;
  border: none; cursor: pointer; font-size: 14px;
}

/* ── Modal ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,10,0,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.active .modal { transform: none; }
.modal-header {
  background: linear-gradient(135deg, var(--red), var(--gold2));
  padding: 28px 28px 20px;
  color: #fff;
  position: relative;
}
.modal-header h2 { font-size: 24px; color: #fff; }
.modal-header p { font-size: 14px; opacity: 0.85; margin-top: 6px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 28px; }
.modal-tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.modal-tab {
  flex: 1; padding: 10px; text-align: center;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; background: none;
  color: var(--muted); transition: all 0.2s;
}
.modal-tab.active { background: var(--red); color: #fff; }

/* ── Form elements ─────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark2); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s;
  background: var(--cream);
}
.form-control:focus { border-color: var(--red); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── OTP input ─────────────────────────────────────── */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.otp-inputs input {
  width: 52px; height: 60px; text-align: center;
  font-size: 24px; font-weight: 700;
  border: 2px solid var(--border); border-radius: 12px;
  outline: none; transition: all 0.2s;
  color: var(--red);
}
.otp-inputs input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(193,18,31,0.1); }

/* ── Alert ─────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: 10px;
  font-size: 14px; margin-bottom: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── Step indicators ───────────────────────────────── */
.steps { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.step {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--border); transition: background 0.3s;
}
.step.done { background: var(--red); }

/* ── Booking Modal ─────────────────────────────────── */
.booking-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(26,10,0,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.booking-modal-overlay.active { opacity: 1; pointer-events: all; }
.booking-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s;
  overflow: hidden;
}
.booking-modal-overlay.active .booking-modal { transform: none; }

/* ── Stats strip ───────────────────────────────────── */
.stats-strip {
  background: var(--red);
  padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .num { font-size: 40px; font-weight: 700; color: #fff; font-family: var(--font-display); }
.stat-item .lbl { font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 4px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Info Banner ───────────────────────────────────── */
.info-banner {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  padding: 72px 0;
  color: #fff;
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid h2 { color: #fff; font-size: 38px; margin-bottom: 18px; }
.info-grid p { color: rgba(255,255,255,0.75); line-height: 1.8; font-size: 16px; }
.info-facts { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.info-fact {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px; padding: 16px;
}
.info-fact .icon { font-size: 24px; }
.info-fact h4 { font-size: 15px; color: #fff; margin-bottom: 2px; }
.info-fact p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ── Profile page ──────────────────────────────────── */
.profile-header {
  background: linear-gradient(135deg, var(--red), var(--gold2));
  padding: 48px 24px 80px;
  text-align: center; color: #fff;
}
.profile-avatar-wrap { position: relative; display: inline-block; }
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 700; margin: 0 auto 16px;
}
.profile-name { font-size: 28px; font-weight: 700; color: #fff; }
.profile-bio  { font-size: 15px; opacity: 0.85; margin-top: 8px; }
.profile-stats { display: flex; gap: 32px; justify-content: center; margin-top: 20px; }
.profile-stat .n { font-size: 24px; font-weight: 700; color: #fff; }
.profile-stat .l { font-size: 12px; opacity: 0.8; }

/* ── Footer ────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 12px; text-align: center; } }

/* ── Toast ─────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--dark); color: #fff;
  padding: 14px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 10px;
  animation: slideIn 0.3s ease;
  min-width: 260px; max-width: 360px;
}
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid var(--red2); }
.toast.info    { border-left: 4px solid #3b82f6; }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Tabs ──────────────────────────────────────────── */
.page-tabs {
  display: flex; background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 100;
  overflow-x: auto;
}
.page-tab {
  padding: 16px 24px; font-size: 14px; font-weight: 600;
  color: var(--muted); cursor: pointer; white-space: nowrap;
  border: none; background: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.page-tab.active { color: var(--red); border-bottom-color: var(--red); }
.page-tab-content { display: none; }
.page-tab-content.active { display: block; }

/* ── Loader ────────────────────────────────────────── */
.loader { text-align: center; padding: 40px; color: var(--muted); }
.loader::before {
  content: '';
  display: block; width: 40px; height: 40px;
  border: 3px solid var(--border); border-top-color: var(--red);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .hamburger { display: block; }
  .navbar .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px;
    box-shadow: var(--shadow); z-index: 999;
  }
  .cards-grid { grid-template-columns: 1fr; }
}
