/* ===================================
   C L Winger LLC — Custom Styles
   Burgundy & Blush | Clean Minimalist
   =================================== */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(107, 27, 42, 0.15);
    color: #6B1B2A;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FDFCFA;
}
::-webkit-scrollbar-thumb {
    background: #E09082;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6B1B2A;
}

/* --- Navbar --- */
#navbar {
    background: rgba(253, 252, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    border-bottom-color: rgba(212, 212, 212, 0.4);
    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-color: #6B1B2A;
    transition: width 0.3s ease;
}

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

/* --- Mobile Menu --- */
.mobile-nav-link {
    position: relative;
}

/* --- Hero Animations --- */
.hero-eyebrow {
    animation: fadeSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.hero-headline {
    animation: fadeSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
    opacity: 0;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* --- Divider Lines --- */
.divider-line {
    transition: background 0.5s ease;
}

/* --- Section Labels --- */
.section-label {
    position: relative;
}

/* --- Service Cards --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #6B1B2A, #ECB8AE);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    height: 100%;
}

/* --- Approach Cards --- */
.approach-card {
    position: relative;
}

.approach-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ECB8AE, transparent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.approach-card:hover::after {
    width: 80%;
}

/* --- Contact Form --- */
.form-input {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #E5E5E5;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #262626;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #D4D4D4;
}

.form-input:focus {
    border-bottom-color: #C22452;
}

.form-input::-webkit-calendar-picker-indicator {
    opacity: 0.4;
}

.form-submit {
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

/* --- Contact Items --- */
.contact-icon {
    transition: all 0.3s ease;
}

/* --- Map Link --- */
.map-link {
    position: relative;
    display: block;
    text-decoration: none;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Stagger Delays --- */
.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; }

/* --- Responsive --- */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #6B1B2A;
    outline-offset: 2px;
}

/* --- Print --- */
@media print {
    #navbar, .hero-ctas, .form-submit {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
