/* BelleIndex — Global Stylesheet (Light Blue + White + Orange Theme) */

/* ── DESIGN TOKENS ── */
:root {
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --blue-light: #3b82f6;
  --blue-pale:  #eff6ff;
  --blue-100:   #dbeafe;
  --orange:     #f97316;
  --orange-dark:#ea580c;
  --navy:       #0f2744;
  --text:       #1e3a5f;
  --muted:      #64748b;
  --bg:         #f0f7ff;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --border-blue: rgba(37,99,235,0.15);
  --shadow-sm:  0 1px 4px rgba(37,99,235,0.06);
  --shadow:     0 4px 20px rgba(37,99,235,0.09);
  --shadow-md:  0 8px 32px rgba(37,99,235,0.13);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}
*  { box-sizing: border-box; }
a  { text-decoration: none; color: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0f7ff; }
::-webkit-scrollbar-thumb { background: #bfdbfe; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #93c5fd; }

/* ── FORM FOCUS ── */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
  border-color: var(--blue) !important;
}
input::placeholder, textarea::placeholder { color: #94a3b8; }

/* ── LEAFLET MAP ── */
.map-container { height: 320px; width: 100%; border-radius: 14px; z-index: 0; }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 1000;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 10px; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; }

/* ── VIDEO MODAL ── */
.video-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.video-modal-content { width: 90vw; max-width: 900px; aspect-ratio: 16/9; }
.video-modal-content iframe { width: 100%; height: 100%; border-radius: 10px; }

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

/* ── CARD (dark variant for embed on dark sections) ── */
.card-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.card-dark:hover { border-color: rgba(255,255,255,0.22); }

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, #dbeafe 25%, #eff6ff 50%, #dbeafe 75%);
  background-size: 200% 100%;
  animation: skel 1.5s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── LINE CLAMP ── */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; font-size: 14px; border-radius: 10px;
  padding: 10px 22px; cursor: pointer; border: none;
  text-decoration: none; transition: background .15s, transform .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-blue   { background: var(--blue);   color: #fff; }
.btn-blue:hover { background: var(--blue-dark); opacity: 1; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); opacity: 1; }
.btn-outline-blue {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; padding: 9px 22px; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .15s;
}
.btn-outline-blue:hover { background: var(--blue-pale); transform: translateY(-1px); }
.btn-white {
  background: #fff; color: var(--blue); border: none;
}
.btn-white:hover { background: var(--blue-pale); opacity: 1; }

/* ── STATUS BADGES ── */
.badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge-open    { background: #dcfce7; color: #15803d; }
.badge-closed  { background: #f1f5f9; color: #64748b; }
.badge-later   { background: #fff7ed; color: #c2410c; }
.badge-pending { background: #dbeafe; color: #1d4ed8; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-error   { background: #fee2e2; color: #dc2626; }

/* ── FLASH MESSAGES ── */
.flash-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 10px; padding: 12px 16px; }
.flash-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: 10px; padding: 12px 16px; }

/* ── SECTION HELPERS ── */
.section-light { background: var(--white); }
.section-blue  { background: var(--blue-pale); }
.section-navy  { background: var(--navy); color: #e2e8f0; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.section-h { font-size: clamp(22px,3.5vw,36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
.divider { height: 1px; background: var(--border); }

/* ── INPUT STYLE ── */
.input {
  width: 100%; background: var(--white); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 10px 14px; font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #94a3b8; }

/* ── PAGINATION ── */
.pagination-active { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }

/* ── CARD HOVER ── */
.card-hover { transition: transform .18s ease, box-shadow .18s ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── AD BANNERS ── */
.ad-banner-link {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1.5px solid #d1d5db; border-radius: 16px;
  padding: 20px 24px; text-decoration: none;
  box-shadow: none;
  transition: border-color .18s, box-shadow .18s;
}
.ad-banner-link:hover { border-color: #93c5fd; box-shadow: 0 2px 12px rgba(37,99,235,0.08); }
.ad-cta-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 20px; border-radius: 10px; white-space: nowrap;
}
@media (max-width: 600px) {
  .ad-banner-link { flex-wrap: wrap; gap: 14px; }
  .ad-cta-btn { width: 100%; justify-content: center; }
}

/* ══ SHARED NAV SYSTEM ══ */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 #e8edf5, 0 2px 12px rgba(15,39,68,0.04);
}
.site-nav-fixed { position: fixed; top: 0; inset-x: 0; }
.site-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 0;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; margin-right: 36px;
}
.site-logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 15px; flex-shrink: 0;
}
.site-logo-text { font-size: 16px; font-weight: 800; color: #0f2744; letter-spacing: -.01em; }
.site-logo-text em { font-style: normal; color: #2563eb; }

/* Nav links */
.site-nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.snl {
  position: relative; font-size: 14px; font-weight: 500; color: #64748b;
  padding: 6px 12px; border-radius: 7px;
  text-decoration: none; white-space: nowrap;
  transition: color .12s, background .12s;
}
.snl:hover { color: #1e3a8a; background: #eff6ff; }
.snl.snl-active {
  color: #2563eb; font-weight: 600;
}
.snl.snl-active::after {
  content: '';
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px; background: #2563eb; border-radius: 2px;
}

/* Right-side actions */
.site-nav-actions {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: 20px;
}
.nav-divider { width: 1px; height: 20px; background: #e2e8f0; margin: 0 8px; }

/* Language button */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: #94a3b8;
  background: none; border: 1px solid #e2e8f0; border-radius: 7px;
  cursor: pointer; padding: 5px 10px;
  transition: color .12s, background .12s, border-color .12s;
  text-transform: uppercase; letter-spacing: .04em;
}
.lang-toggle:hover { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; }

/* Auth links */
.nav-login {
  font-size: 14px; font-weight: 500; color: #475569;
  padding: 7px 12px; border-radius: 7px; text-decoration: none;
  transition: color .12s, background .12s;
}
.nav-login:hover { color: #1e3a8a; background: #eff6ff; }

/* Sign Up button */
.nav-signup {
  background: #2563eb; color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 8px;
  text-decoration: none; letter-spacing: -.01em;
  transition: background .12s, transform .12s;
  white-space: nowrap;
}
.nav-signup:hover { background: #1d4ed8; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; padding: 8px; border-radius: 8px;
  background: none; border: none; cursor: pointer; color: #64748b;
  transition: background .12s, color .12s;
}
.nav-hamburger:hover { background: #eff6ff; color: #2563eb; }
@media (max-width: 1023px) { .site-nav-links { display: none; } .nav-hamburger { display: flex; align-items: center; } }

/* Mobile drawer */
.nav-mobile {
  display: none; background: #fff; border-top: 1px solid #e8edf5; padding: 10px 16px 16px;
}
.nav-mobile.open { display: block; }
.nav-mobile-link {
  display: block; font-size: 14px; font-weight: 500; color: #475569;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  transition: color .12s, background .12s;
}
.nav-mobile-link:hover { color: #2563eb; background: #eff6ff; }
.nav-mobile-link.snl-active { color: #2563eb; font-weight: 600; background: #eff6ff; }
