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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal — progressive enhancement, hidden by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold shimmer on buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Subtle floating particles in hero */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

/* Navbar solid state */
.navbar-scrolled {
    background: rgba(6, 15, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1a14;
}
::-webkit-scrollbar-thumb {
    background: #2a4a30;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #365c3b;
}

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

/* Mobile menu transitions */
#mobile-menu {
    backdrop-filter: blur(20px);
}

/* Image hover overlay */
.rounded-2xl.overflow-hidden {
    position: relative;
}

.rounded-2xl.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 15, 12, 0.2) 0%, transparent 40%);
    pointer-events: none;
    border-radius: inherit;
}

/* Service card icon glow */
.group:hover .w-14 {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

/* Testimonial card hover */
.group:hover {
    border-color: rgba(201, 168, 76, 0.3) !important;
    transform: translateY(-4px);
}

/* Smooth focus rings */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}
