/* Custom styles for Shasta Film Supply */

/* Font Face for Midruns */
@font-face {
    font-family: 'Midruns';
    src: url('/attached_assets/midruns-1jmme_1756755212049.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Hero Section */
#hero-section {
    position: relative;
    background: none;
}

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

/* Navigation active state */
nav a.active {
    color: #007cba !important;
    font-weight: 500;
}

/* Mobile menu animations */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

/* Smooth slide effect for mobile menu items */
#mobile-menu .space-y-1 > a {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open .space-y-1 > a {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for menu items */
#mobile-menu.open .space-y-1 > a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .space-y-1 > a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .space-y-1 > a:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .space-y-1 > a:nth-child(4) { transition-delay: 0.25s; }

/* Hamburger menu animation */
.hamburger-line {
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

/* X state when menu is open */
#mobile-menu-button.open .top-line {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu-button.open .middle-line {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-menu-button.open .bottom-line {
    transform: translateY(-6px) rotate(-45deg);
}

/* Button hover effects */
.btn-hover {
    transition: all 0.2s ease-in-out;
}

.btn-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.2s ease-in-out;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Booqable integration styling */
.booqable-product-list {
    min-height: 400px;
}

.booqable-bar {
    margin-bottom: 2rem;
}

/* Loading state for Booqable components */
.booqable-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #64748b;
    font-style: italic;
}

/* Responsive image handling */
img {
    max-width: 100%;
    height: auto;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Mobile responsive adjustments for screens < 800px */
@media (max-width: 799px) {
    .mobile-circles-lower {
        transform: translateY(15%);
    }
    
    .mobile-tagline-higher {
        transform: translateY(-45%);
    }
    
    .mobile-tagline-higher p {
        font-size: 22.4px !important; /* 80% of 28px */
    }
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}