/* ============================================
   Exhale After Hours — Custom Styles
   ============================================ */

/* --- Base / Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #e6a052;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C4653A;
}

/* --- Section Labels --- */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C4653A;
    font-weight: 500;
}

/* --- Section Headings --- */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: #3D2216;
}

/* --- CTA Buttons --- */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 101, 58, 0.3);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.cta-secondary:hover {
    transform: translateY(-2px);
}

/* --- Input Fields --- */
.input-field {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #3D2216;
}

.input-field::placeholder {
    color: #6B5B50;
    opacity: 0.5;
}

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

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

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

.nav-link:hover {
    color: #C4653A !important;
}

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

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

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

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

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

.hero-image-wrapper {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-badge {
    animation: floatIn 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* --- Scroll Indicator --- */
.scroll-indicator {
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.scroll-line {
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Product Cards --- */
.product-card {
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-6px);
}

/* --- Gallery --- */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.menu-line {
    transition: all 0.3s ease;
}

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

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

#mobile-toggle.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* --- Navbar scrolled state --- */
nav.scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(61, 34, 22, 0.08);
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .hero-stats {
        gap: 8px !important;
    }
    .hero-badge {
        display: none !important;
    }
}
