/* Base & Utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    display: block;
}

/* Navbar */
.nav-text {
    color: #5a3142;
}

.nav-accent {
    fill: #6e3c50;
}

#navbar.scrolled .nav-text {
    color: #2a1620;
}

#navbar.scrolled .nav-accent {
    fill: #4a2937;
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 179, 196, 0.3);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
}

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

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

#navbar.scrolled .nav-link {
    color: #6e3c50;
}

#navbar.scrolled .nav-link:hover {
    color: #2a1620;
}

/* Mobile Menu */
#mobile-menu.open {
    transform: translateX(0);
}

#menu-line-1.open {
    transform: translateY(5px) rotate(45deg);
}

#menu-line-2.open {
    opacity: 0;
}

#menu-line-3.open {
    transform: translateX(8px) rotate(-45deg);
    width: 24px;
}

/* Service Cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #854b63 !important;
}

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

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

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

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

/* Selection */
::selection {
    background: #e8d4df;
    color: #4a2937;
}
