/* Base & Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080310; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #C9A86C, #9C7D3F); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C9A86C; }

/* Navbar scroll state */
nav.scrolled {
    background: rgba(8, 3, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 108, 0.1);
}

/* Mobile menu */
.mobile-link { position: relative; }
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A86C;
    transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* Menu animation */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.open .menu-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#mobile-menu.open .menu-line:nth-child(2) { opacity: 0; }
#mobile-menu.open .menu-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 24px; }

/* Gold shimmer on hover for service cards */
.group:hover .absolute.bottom-0 { transform: translateY(-4px); }

/* Image hover containers */
.group .aspect-\[4\/5\] img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle glow on gold elements */
.shadow-gold-500 { box-shadow: 0 0 40px rgba(201, 168, 108, 0.15); }

/* Smooth focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    img { transition: none !important; }
    .group:hover img { transform: none !important; }
}

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A86C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
