/* Custom styles for Chris's Bustin Burger */

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

/* Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Navigation transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-image {
        min-height: 50vh;
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-link {
    color: #1e293b;
}

.nav-scrolled .nav-logo {
    color: #0d9488;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
}

/* Divider line */
.divider-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

/* Burger card hover effect */
.burger-card {
    transition: box-shadow 0.3s ease;
}

.burger-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.burger-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

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

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

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

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}
