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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll Reveal - Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.35s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.4s; }
    .scroll-reveal:nth-child(7) { transition-delay: 0.45s; }
    .scroll-reveal:nth-child(8) { transition-delay: 0.5s; }
}

/* Hero badge animation */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge {
        animation: fadeInDown 0.8s ease forwards;
    }

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

/* Service cards */
.service-card {
    background: rgba(26, 35, 50, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.15);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.1);
    transform: translateY(-4px);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 19, 32, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08), 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e8d5a3 0%, #c9a84c 50%, #b08d3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e2d42;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d4a6b;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f1f5f9;
}
