/* Base & Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 162, 39, 0.2);
    color: #051023;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f8f7f4;
}
::-webkit-scrollbar-thumb {
    background: #c9a227;
    border-radius: 3px;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a227;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #c9a227;
}

.menu-line {
    display: block;
}

/* Hero Animations */
.hero-tagline {
    animation: slideUp 0.8s ease forwards;
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title:nth-child(1) { animation-delay: 0.1s; }
.hero-title:nth-child(2) { animation-delay: 0.2s; }
.hero-title:nth-child(3) { animation-delay: 0.3s; }

.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-ctas {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Service Cards */
.service-card {
    transition: background-color 0.3s ease;
}

/* Image hover */
img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(5, 16, 35, 0.06);
}

nav.scrolled .nav-link {
    color: #051023;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
