/* Custom styles for American Pie */

/* Base styles */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #FDF8F0;
    color: #1A1714;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #ab2f1a;
}

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image reveal */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.img-reveal.visible {
    clip-path: inset(0 0 0 0);
}

/* Menu item hover */
.menu-item:hover .menu-item-img {
    transform: scale(1.05);
}

.menu-item-img {
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Decorative line */
.decorative-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d13e1e, #f49e7e);
}

/* Hero image parallax */
.hero-image {
    will-change: transform;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 3rem;
    }
}

/* 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 {
        opacity: 1;
        transform: none;
    }
    
    .img-reveal {
        clip-path: none;
    }
}
