/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
::selection { background: rgba(212,168,67,0.3); color: #0c1e18; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, #1B4332 0%, #0c1e18 55%, #06100c 100%);
}

/* ── Hero Orbs ── */
.hero-orb { background: radial-gradient(circle, rgba(212,168,67,0.4) 0%, transparent 70%); }
.hero-orb--1 { background: radial-gradient(circle, rgba(56,110,64,0.5) 0%, transparent 70%); }
.hero-orb--2 { background: radial-gradient(circle, rgba(212,168,67,0.3) 0%, transparent 70%); }

/* ── Hero Pattern ── */
.hero-pattern {
    background-image: 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='%23D4A843' fill-opacity='0.4'%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/g%3E%3C/svg%3E");
}

/* ── Signature Pattern ── */
.signature-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A843' fill-opacity='0.3' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Visit Pattern ── */
.visit-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A843' fill-opacity='0.15'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(6,16,12,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4A843;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-link { transition: all 0.3s ease; }
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.open .mobile-link { animation: fadeUp 0.4s ease forwards; opacity: 0; }
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(6) { animation-delay: 0.3s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Toggle ── */
.menu-line { transition: all 0.3s ease; }
#mobile-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
#mobile-toggle.active .menu-line:nth-child(2) { opacity: 0; }
#mobile-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 24px; }

/* ── Hero Animations ── */
.hero-eyebrow { animation: fadeUp 0.8s ease 0.2s both; }
.hero-headline { animation: fadeUp 0.8s ease 0.4s both; }
.hero-subtitle { animation: fadeUp 0.8s ease 0.6s both; }
.hero-ctas { animation: fadeUp 0.8s ease 0.8s both; }
.hero-scroll { animation: fadeUp 0.8s ease 1.2s both; }
.hero-line { animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── CTA Buttons ── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #D4A843;
    color: #0c1e18;
    padding: 16px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cta-primary:hover {
    background: #c49a30;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212,168,67,0.3);
}
.cta-arrow { transition: transform 0.3s ease; }
.cta-primary:hover .cta-arrow { transform: translate(4px, -4px); }
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #FAF8F0;
    padding: 16px 32px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.cta-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* ── Section Labels ── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    color: #1B4332;
    background: linear-gradient(135deg, #D4A843, #C49A30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section Headings ── */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: #0c1e18;
}

/* ── Signature Cards ── */
.signature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 8px;
    transition: all 0.4s ease;
}
.signature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(212,168,67,0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.signature-card h3 { transition: color 0.3s ease; }
.signature-card:hover h3 { color: #D4A843; }

/* ── Menu ── */
.menu-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(27,67,50,0.08);
    transition: all 0.3s ease;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { padding-left: 8px; }
.menu-item:hover h4 { color: #1B4332; }
.menu-item h4 { transition: all 0.3s ease; }

/* ── Gallery ── */
.gallery-item { border-radius: 16px; overflow: hidden; }
.gallery-item img { transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* ── Form ── */
.btn-submit {
    position: relative;
    overflow: hidden;
}
.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-submit:hover::after { opacity: 1; }

/* ── Reveal Animations ── */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .section-heading { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-headline { font-size: clamp(2.4rem, 10vw, 4rem); }
}

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #D4A843;
    outline-offset: 2px;
    border-radius: 4px;
}
