/* Custom Styles for Smoke HQ */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #d4a8b5;
    border-radius: 4px;
}

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

/* Navbar scroll state */
.nav-scrolled #navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 181, 0.2);
    box-shadow: 0 4px 30px rgba(79, 41, 52, 0.06);
}

.nav-scrolled .nav-link {
    color: #5d2d3c;
}

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

.mobile-menu-open #bar1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open #bar2 {
    opacity: 0;
}

.mobile-menu-open #bar3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

/* Hero floating cards animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.stat-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 1s;
}

.stat-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 2s;
}

/* Scroll line animation */
@keyframes scroll-line {
    0% { top: -16px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* Product card hover */
.product-card {
    opacity: 1;
}

/* Why card hover */
.why-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .stat-card {
        animation: none;
    }
    
    .animate-scroll-line {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #e8d0d8;
    color: #4f2934;
}
