/* ============================================
   La Ponde Moda — Custom Styles
   ============================================ */

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

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: #C1665B;
    color: #FDF8F0;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(42, 31, 26, 0.08);
}

.nav-line {
    transition: width 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* Active menu state */
body.menu-open .line-1 {
    transform: rotate(45deg) translate(4px, 4px);
    background-color: #C1665B !important;
}
body.menu-open .line-2 {
    opacity: 0;
    transform: scaleX(0);
}
body.menu-open .line-3 {
    transform: rotate(-45deg) translate(4px, -4px);
    background-color: #C1665B !important;
}

/* Mobile Menu */
#mobileMenu {
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

body.menu-open #mobileMenu {
    opacity: 1;
    pointer-events: all;
}

.menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.menu-open .menu-link {
    opacity: 1;
    transform: translateY(0);
}

body.menu-open .menu-link:nth-child(1) { transition-delay: 0.1s; }
body.menu-open .menu-link:nth-child(2) { transition-delay: 0.15s; }
body.menu-open .menu-link:nth-child(3) { transition-delay: 0.2s; }
body.menu-open .menu-link:nth-child(4) { transition-delay: 0.25s; }
body.menu-open .menu-link:nth-child(5) { transition-delay: 0.3s; }
body.menu-open .menu-link:nth-child(6) { transition-delay: 0.35s; }

/* ============================================
   Hero Animations
   ============================================ */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-desc {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-float {
    animation: float 4s ease-in-out infinite;
}

.hero-float-delay {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   Marquee
   ============================================ */
.marquee-track {
    animation: marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Parallax Elements
   ============================================ */
.parallax-slow {
    animation: parallaxFloat 8s ease-in-out infinite;
}

.parallax-fast {
    animation: parallaxFloat 5s ease-in-out infinite;
}

.parallax-medium {
    animation: parallaxFloat 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, -25px) rotate(-3deg); }
    75% { transform: translate(-15px, -10px) rotate(2deg); }
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.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; }

/* ============================================
   Collection Cards
   ============================================ */
.collection-card {
    overflow: hidden;
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.collection-card:hover::after {
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Buttons & Interactive
   ============================================ */
button, a {
    cursor: pointer;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus, textarea:focus {
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: rgba(228, 212, 176, 0.3);
}

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

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .marquee-track {
        animation-duration: 15s;
    }
    
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

@media (max-width: 640px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar, #mobileMenu, .marquee-track {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
