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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 107, 94, 0.3);
    color: #f5f5f5;
}

/* ============ NAVBAR ============ */
#navbar {
    backdrop-filter: blur(0px);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.08);
}

/* ============ HERO ============ */
#hero {
    position: relative;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 94, 0), transparent);
    transition: background 0.4s ease;
}

.service-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 107, 94, 0.5), transparent);
}

/* ============ TESTIMONIAL CARDS ============ */
.testimonial-card {
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 94, 0.2);
}

/* ============ SCROLL REVEAL (progressive enhancement) ============ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s 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; }
}

/* ============ FORM INPUTS ============ */
input:focus,
textarea:focus {
    border-color: rgba(255, 107, 94, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.1) !important;
}

/* ============ MOBILE MENU ============ */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(46, 46, 46, 0.5);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ============ GOLD LINE ACCENTS ============ */
.gold-line {
    position: relative;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #D4A853, transparent);
}

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

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #2E2E2E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3A3A3A;
}

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