/* ===== CUSTOM STYLES FOR FINE KITCHEN WORK ===== */

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

/* Base font sizes */
body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'DM Serif Display', Georgia, serif;
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 29, 86, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(12, 29, 86, 0.1);
}

/* ===== FLOATING ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    /* Staggered delays for grid items */
    .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== FORM STYLES ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #1e44e8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1735ba;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Make floating cards less intrusive on mobile */
    .animate-float,
    .animate-float-delayed {
        animation: none;
        transform: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    #navbar,
    .animate-float,
    .animate-float-delayed,
    .scroll-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
