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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

/* Hero Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 4rem;
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.animate-line {
    animation: lineExpand 0.6s ease forwards;
}

/* Service Card Hover */
.service-card {
    transition: background-color 0.4s ease;
}

.service-card:hover {
    background-color: #fafafa;
}

.service-card:hover .border-gold-400\/30 {
    border-color: rgba(212, 168, 83, 0.6);
}

/* Navbar Scroll State */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 25, 47, 0.08);
}

.navbar-scrolled .font-serif {
    color: #0a192f;
}

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

/* Selection Color */
::selection {
    background-color: #c9a227;
    color: #0a192f;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c9a227;
    border-radius: 3px;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c9a227 !important;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}
