/* Custom Styles for Long Beach Popcorn Company */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0B0F14;
    color: #FDFBF7;
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Hero Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    transform: none;
    opacity: 1;
}

/* Navigation */
#navbar {
    background: transparent;
    backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    background: rgba(212, 175, 55, 0.05);
}

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

::-webkit-scrollbar-track {
    background: #0B0F14;
}

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

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

/* Selection */
::selection {
    background: #D4AF37;
    color: #0B0F14;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Form Success Message */
#form-success {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

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