/* === Custom Styles for CL Claudio Lore Unisex === */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* === Hero Gradient Animations === */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-delayed {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(1.08); }
    66% { transform: translate(15px, -15px) scale(0.92); }
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(1.1); }
}

.hero-gradient-orb {
    animation: float 8s ease-in-out infinite;
}

.hero-gradient-orb:nth-child(2) {
    animation: float-delayed 10s ease-in-out infinite;
}

.hero-gradient-orb:nth-child(3) {
    animation: float-slow 12s ease-in-out infinite;
}

/* === Scroll Line Animation === */
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

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

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

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

    .scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.6s; }
}

/* === Navbar Transition === */
.nav-scrolled {
    background: rgba(10, 19, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 149, 46, 0.1);
}

/* === Mobile Menu Transitions === */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* === Menu Line Animation === */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

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

::-webkit-scrollbar-track {
    background: #0a130a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3d7a3d;
}

/* === Selection color === */
::selection {
    background: rgba(201, 149, 46, 0.3);
    color: #faf8f5;
}

/* === Focus styles === */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c9952e;
    outline-offset: 2px;
}

/* === Responsive adjustments === */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
