/* ========================================
   Jumbo Ices — Custom Styles
   Burgundy + Blush · Minimalist
======================================== */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fafaf9;
}
::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B;
}

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

/* --- Selection Color --- */
::selection {
    background: #7B2D3B;
    color: white;
}

/* --- Scroll Line Animation --- */
@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.animate-scroll-line {
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* --- Hero Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}
.hero-title {
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.5s;
}
.hero-desc {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}
.hero-ctas {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

/* --- Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up {
    transform: translateY(30px);
}
.reveal-left {
    transform: translateX(-30px);
}
.reveal-right {
    transform: translateX(30px);
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Nav Scroll State --- */
.nav-scrolled {
    background: rgba(250, 250, 249, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

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

/* --- Menu Item Hover Line --- */
#menu ul li {
    position: relative;
}
#menu ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2.5px;
    width: 0;
    height: 1px;
    background: #7B2D3B;
    transition: width 0.3s ease;
}
#menu ul li:hover::after {
    width: 100%;
}

/* --- Image Hover Zoom --- */
.rounded-2xl img {
    transition: transform 0.6s ease;
}
.rounded-2xl:hover img {
    transform: scale(1.03);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem !important;
    }
    @media (min-width: 640px) {
        .hero-title {
            font-size: 3.5rem !important;
        }
    }
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
