/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ─── Custom Properties ─── */
:root {
    --navy-950: #091019;
    --navy-900: #0f1a2e;
    --navy-800: #1a2744;
    --gold-400: #e8b84b;
    --gold-500: #d4a039;
    --gold-600: #b8862d;
}

/* ─── Geometric Background Shapes ─── */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--gold-400);
    top: -200px;
    right: -150px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gold-500);
    bottom: 20%;
    left: -100px;
}

.shape-circle-3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gold-400);
    top: 50%;
    right: 5%;
    opacity: 0.03;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--gold-400);
    top: 35%;
    left: 8%;
    opacity: 0.03;
    transform: rotate(15deg);
}

.shape-square {
    width: 200px;
    height: 200px;
    background: var(--gold-500);
    bottom: 10%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.shape-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid var(--gold-400);
    top: 60%;
    left: 50%;
    opacity: 0.02;
}

/* ─── Hero ─── */
.hero {
    background: var(--navy-950);
    position: relative;
}

.hero-bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 160, 57, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 39, 68, 0.8) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(9, 16, 25, 0.3) 0%, transparent 30%, transparent 70%, rgba(9, 16, 25, 0.5) 100%);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(232, 184, 75, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 184, 75, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 160, 57, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 184, 75, 0.4);
    transform: translateY(-2px);
}

/* ─── Section Labels ─── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(232, 184, 75, 0.1);
    border: 1px solid rgba(232, 184, 75, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
}

/* ─── Navbar ─── */
.nav-scrolled {
    background: rgba(9, 16, 25, 0.9);
    backdrop-blur-lg;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
    z-index: 40;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    position: relative;
}

/* ─── Service Cards ─── */
.service-card {
    perspective: 1000px;
}

/* ─── Scroll Reveal ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ─── Gallery Hover ─── */
@media (prefers-reduced-motion: no-preference) {
    .group img {
        transition: transform 0.7s ease;
    }
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-950);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-800);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-600);
}

/* ─── Form Focus ─── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ─── Mobile responsive tweaks ─── */
@media (max-width: 640px) {
    .shape-circle-1 { width: 300px; height: 300px; }
    .shape-circle-2 { width: 200px; height: 200px; }
    .shape-triangle { display: none; }
    .shape-square { display: none; }
}
