/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; }

/* ── Typography ───────────────────────────────────────────── */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-body    { font-family: 'DM Sans', system-ui, sans-serif; }

/* ── Header scroll state ──────────────────────────────────── */
#site-header { background: transparent; }
#site-header.scrolled {
    background: rgba(11,31,58,0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Nav link underline ───────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 1.5px;
    background: #C9A14A;
    transition: left 0.25s ease, right 0.25s ease;
}
.nav-link:hover::after { left: 12px; right: 12px; }

/* ── Hamburger open state ─────────────────────────────────── */
.nav-open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 1.5rem; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left   { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right  { opacity: 0; transform: translateX(28px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ── Section label ────────────────────────────────────────── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: #C9A14A;
}
.section-label::before, .section-label::after {
    content: ''; display: block; width: 24px; height: 1px; background: #C9A14A;
}

/* ── Gold divider ─────────────────────────────────────────── */
.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, #C9A14A, #e8c97a); border-radius: 2px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-bg {
    background: linear-gradient(135deg, #071528 0%, #0B1F3A 55%, #122d52 100%);
    position: relative;
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,161,74,0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

/* ── Page hero ────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #071528 0%, #0B1F3A 100%);
    padding: 120px 0 64px;
}
@media (max-width: 640px) { .page-hero { padding: 96px 0 48px; } }

/* ── Cards ────────────────────────────────────────────────── */
.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(11,31,58,0.12); }

/* ── Testimonial slider ───────────────────────────────────── */
.slider-track { display: flex; transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94); }
.slider-slide { flex: 0 0 100%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: all 0.3s; cursor: pointer; }
.dot.active { background: #C9A14A; transform: scale(1.4); }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-body.open { max-height: 600px; }
.faq-icon { transition: transform 0.35s ease; }
.faq-open .faq-icon { transform: rotate(45deg); }

/* ── Lightbox ─────────────────────────────────────────────── */
#lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.93); align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
#lb-close { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 10000; }

/* ── Gallery grid ─────────────────────────────────────────── */
.gallery-item { overflow: hidden; border-radius: 12px; cursor: pointer; }
.gallery-item img { transition: transform 0.45s ease; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.07); }

/* ── Form inputs ──────────────────────────────────────────── */
.field {
    width: 100%; padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none; background: #fff;
}
.field:focus { border-color: #0B1F3A; box-shadow: 0 0 0 3px rgba(11,31,58,0.08); }
.field.error { border-color: #ef4444; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #0B1F3A; color: #fff;
    font-weight: 600; font-size: 0.9rem; padding: 0.85rem 2rem;
    border-radius: 50px; border: none; cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary:hover { background: #122d52; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,31,58,0.25); }

.btn-gold {
    display: inline-flex; align-items: center; gap: 8px;
    background: #C9A14A; color: #0B1F3A;
    font-weight: 700; font-size: 0.9rem; padding: 0.85rem 2rem;
    border-radius: 50px; border: none; cursor: pointer;
    transition: all 0.25s ease;
}
.btn-gold:hover { background: #b8882e; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,161,74,0.35); }

/* ── Counter ──────────────────────────────────────────────── */
.counter-num { font-family: 'Cormorant Garamond', serif; font-weight: 700; }

/* ── Admin ────────────────────────────────────────────────── */
.admin-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 10px;
    color: rgba(255,255,255,0.55); font-size: 0.875rem; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
}
.admin-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
.admin-link.active { background: rgba(201,161,74,0.12); color: #C9A14A; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #0B1F3A; border-radius: 3px; }

/* ── Spinner ──────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 36px; height: 36px; border: 3px solid #e2e8f0; border-top-color: #0B1F3A; border-radius: 50%; animation: spin 0.75s linear infinite; }

/* ── Utility ──────────────────────────────────────────────── */
.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; }
