/* Custom styles for Lakeside Wiener Wagon & BBQ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1e293b;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.1;
}

/* Selection */
::selection {
    background-color: rgba(13, 148, 136, 0.15);
    color: #042f2e;
}

::-moz-selection {
    background-color: rgba(13, 148, 136, 0.15);
    color: #042f2e;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Skip link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #0f766e;
    color: #ffffff;
    border-radius: 0.25rem;
    z-index: 9999;
}

/* Navigation */
.nav-title {
    color: #1e293b;
}

.nav-link {
    color: #475569;
}

.nav-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-btn[aria-expanded="true"] .nav-line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.nav-btn[aria-expanded="true"] .nav-line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile menu */
#mobile-menu {
    z-index: 30;
}

.mobile-nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.875rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #0d9488;
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

/* Menu items */
.menu-item {
    border-bottom: 1px solid rgba(15, 122, 110, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

/* Thin lines */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 122, 110, 0.2), transparent);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .overflow-hidden img {
        transition: none;
    }
}

/* Hover effects */
.line-through-hover {
    position: relative;
}

.line-through-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.line-through-hover:hover::after {
    width: 100%;
}

/* Image hover */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .font-serif {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4.5rem;
    }
    
    h2 {
        font-size: 3.5rem;
    }
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    header, footer {
        display: none;
    }
}
