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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #d4b57a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c4522e;
}

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

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

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #c4522e;
    color: #faf8f5;
    padding: 14px 32px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid #c4522e;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.btn-primary:hover {
    background: #b03f22;
    border-color: #b03f22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 82, 46, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #faf8f5;
    padding: 14px 32px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid rgba(250, 248, 245, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.btn-secondary:hover {
    border-color: #e8b4a0;
    color: #e8b4a0;
    transform: translateY(-1px);
}

/* Section Styles */
.section-eyebrow {
    display: block;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Nav */
.nav-link {
    position: relative;
    text-decoration: none;
    color: #292524;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: #c4522e;
}

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

/* Mobile Menu */
.mobile-menu-link {
    text-decoration: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #c4522e;
}

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

/* Hamburger */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

/* Navbar States */
.nav-light {
    background: rgba(41, 37, 36, 0.95);
    backdrop-filter: blur(10px);
    color: #faf8f5;
    box-shadow: 0 1px 0 rgba(250, 248, 245, 0.1);
}

.nav-light .nav-link {
    color: #faf8f5;
}

.nav-light .nav-link:hover {
    color: #e8b4a0;
}

.nav-dark {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    color: #292524;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-dark .nav-link {
    color: #292524;
}

.nav-dark .nav-link:hover {
    color: #c4522e;
}

.nav-dark .btn-primary {
    background: #c4522e;
    color: #faf8f5;
    border-color: #c4522e;
}

.nav-dark .btn-primary:hover {
    background: #b03f22;
    border-color: #b03f22;
}

/* Service Cards */
.service-card {
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #d4b57a !important;
    box-shadow: 0 0 0 3px rgba(212, 181, 122, 0.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-eyebrow,
    .hero-headline,
    .hero-sub,
    .hero-cta {
        animation: none;
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.7rem;
    }
}
