/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navbar */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

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

::-webkit-scrollbar-track {
    background: #020617;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f8fafc;
}

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

/* Image hover zoom container */
.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom-container img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .img-zoom-container img {
        transition: none;
    }
    
    .img-zoom-container:hover img {
        transform: none;
    }
}

/* Form styles */
input, textarea {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Service card shimmer on hover */
.group:hover .service-accent {
    width: 40px;
}

.service-accent {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a017, #f5d76a);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .service-accent {
    width: 40px;
}
