    /* ============================================
       Cafe137 — Custom Styles
       ============================================ */

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

    /* Selection color */
    ::selection {
        background-color: #a8e6cf;
        color: #0a1628;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f0faf5;
    }
    ::-webkit-scrollbar-thumb {
        background: #a8e6cf;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #7dd4b4;
    }

    /* Navbar transition */
    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
    }

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

    /* Scroll-reveal base states (progressive enhancement) */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal[data-delay="1"] { transition-delay: 0.1s; }
    .reveal[data-delay="2"] { transition-delay: 0.2s; }
    .reveal[data-delay="3"] { transition-delay: 0.3s; }
    .reveal[data-delay="4"] { transition-delay: 0.4s; }
    .reveal[data-delay="5"] { transition-delay: 0.5s; }
    .reveal[data-delay="6"] { transition-delay: 0.6s; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .reveal { opacity: 1; transform: none; transition: none; }
        .group img { transition: none; }
        .group:hover img { transform: none; }
    }

    /* Product card hover image zoom — only when JS is active */
    @media (prefers-reduced-motion: no-preference) {
        .group img {
            transition: transform 0.5s ease;
        }
    }

    /* Hero underline SVG animation */
    @media (prefers-reduced-motion: no-preference) {
        h1 span svg {
            animation: drawLine 1.2s ease forwards;
            transform-origin: left;
        }
        @keyframes drawLine {
            from { stroke-dasharray: 200; stroke-dashoffset: 200; }
            to { stroke-dasharray: 200; stroke-dashoffset: 0; }
        }
    }

    /* Floating card animation */
    @media (prefers-reduced-motion: no-preference) {
        .floating-card {
            animation: float 4s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
        }
    }

    /* Mobile menu link hover */
    .mobile-link {
        transition: color 0.2s ease, transform 0.2s ease;
    }
    .mobile-link:hover {
        color: #2db480;
        transform: scale(1.05);
    }

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

    /* Image aspect ratios */
    .aspect-card {
        aspect-ratio: 4 / 3;
    }

    /* Subtle gradient text (if needed) */
    .gradient-text {
        background: linear-gradient(135deg, #2db480, #0a1628);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Print styles */
    @media print {
        nav, #mobileMenu, .reveal { display: none; }
        body { color: #000; background: #fff; }
        a { color: #000; }
    }
