/* ========== BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #021c1b;
    color: #FBF8F1;
}

::selection {
    background-color: rgba(212, 168, 83, 0.3);
    color: #FBF8F1;
}

/* ========== NAVBAR ========== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #D4A853;
    transition: width 0.3s ease;
}

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

#navbar.scrolled {
    background-color: rgba(2, 28, 27, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1);
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4A853, #E8C97A);
    transition: width 0.5s ease;
}

.service-card:hover::before {
    width: 100%;
}

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ========== GOLD GRADIENT TEXT ========== */
.gold-gradient {
    background: linear-gradient(135deg, #E8C97A 0%, #D4A853 50%, #C49A3E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #021c1b;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 83, 0.5);
}

/* ========== FORM STYLES ========== */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(212, 168, 83, 0.6) !important;
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.2);
}

select option {
    background-color: #042f2e;
    color: #FBF8F1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
