/* Custom styles for Summit Smokehouse */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFF8F0;
    color: #3a2a2a;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* Geometric shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.geo-square {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navigation */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-scrolled {
    background: rgba(255, 248, 240, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #7f1a2a !important;
}

.nav-scrolled .logo-text {
    color: #7f1a2a !important;
}

/* Hamburger menu */
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #7f1a2a;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(46, 10, 14, 0.88) 0%,
        rgba(127, 26, 42, 0.75) 50%,
        rgba(184, 40, 62, 0.6) 100%
    );
}

/* Menu cards */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(127, 26, 42, 0.15);
}

/* Button pulse animation */
@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.btn-pulse:hover {
    animation: pulse-soft 0.6s ease;
}

/* Flame animation */
@keyframes flicker {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.flame {
    animation: flicker 2s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9c1f33;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #b8283e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #f0d4d8;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        letter-spacing: 0.05em;
    }
    
    .geo-circle,
    .geo-square {
        display: none;
    }
}

/* Print styles */
@media print {
    #navbar,
    .mobile-menu,
    .geo-circle,
    .geo-square {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
