/* Custom styles for Slipfast Adornments */

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

/* Hero background */
.hero-bg {
    background: linear-gradient(135deg, rgba(139, 72, 41, 0.6) 0%, rgba(196, 112, 63, 0.4) 50%, rgba(140, 87, 54, 0.5) 100%);
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

/* Hero animations */
.hero-subtitle {
    animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}

.hero-title {
    animation: heroFadeUp 0.8s ease-out 0.5s forwards;
}

.hero-description {
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

.hero-cta {
    animation: heroFadeUp 0.8s ease-out 0.9s forwards;
}

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

/* Navbar transition */
.nav-scrolled {
    background: rgba(253, 248, 243, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(196, 112, 63, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #1a1a1a !important;
}

.nav-scrolled .nav-link {
    color: #4a4a4a !important;
}

.nav-scrolled #menu-icon {
    stroke: #1a1a1a !important;
}

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

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(32px);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal[data-reveal="hidden"] {
        opacity: 1;
        transform: none;
    }
    .hero-subtitle,
    .hero-title,
    .hero-description,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .group:hover img {
        transform: none;
    }
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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