/* ==========================================
   Lucky Bakery & BBQ — Stylesheet
   Classic & Elegant | Burgundy + Blush
   ========================================== */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --burgundy-light: #8B3A42;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D5CC;
    --cream: #FFFBF7;
    --charcoal: #2C2C2C;
    --warm-gray: #6B6560;
    --light-gray: #E8E4E0;
    --gold: #C9A96E;
    --gold-light: #D4B87A;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(114, 47, 55, 0.08);
    --shadow-md: 0 4px 20px rgba(114, 47, 55, 0.12);
    --shadow-lg: 0 8px 40px rgba(114, 47, 55, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

em {
    font-style: italic;
    color: var(--burgundy);
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1.5px;
    background: var(--burgundy);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 24px;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--font-sans);
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--burgundy);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: #fff;
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.9rem;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.8rem;
    background: var(--burgundy);
    color: #fff;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 251, 247, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--charcoal);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.logo-text em {
    font-style: italic;
    color: var(--gold);
}

.navbar.scrolled .logo-text em {
    color: var(--burgundy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--warm-gray);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: #fff;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--burgundy);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--charcoal);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(114, 47, 55, 0.85) 0%, rgba(44, 44, 44, 0.7) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title em {
    color: var(--gold-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-family: var(--font-sans);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-label {
    padding-left: 0;
}

.about-content .section-label::before {
    display: none;
}

.about-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.9;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.feature-item svg {
    color: var(--burgundy);
}

.feature-item span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: var(--blush-light);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1.5px solid var(--blush-dark);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--warm-gray);
}

.menu-tab:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.menu-tab.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.menu-grid {
    display: none;
}

.menu-grid.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.menu-item-img {
    flex-shrink: 0;
    width: 140px;
    height: 120px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.08);
}

.menu-item-content {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.6;
}

/* --- Gallery Section --- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
    margin-top: 60px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(114, 47, 55, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background: var(--blush-light);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-info .section-label {
    padding-left: 0;
}

.visit-info .section-label::before {
    display: none;
}

.visit-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--burgundy);
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.7;
}

.contact-item a {
    color: var(--burgundy);
}

.contact-item a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.visit-map {
    height: 450px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-title em {
    color: var(--gold-light);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta .btn-outline:hover {
    background: #fff;
    color: var(--burgundy);
    border-color: #fff;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.8;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy-light);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 60px;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(2, 200px);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        color: var(--charcoal) !important;
        font-size: 1rem;
    }
    
    .nav-links a:hover {
        color: var(--burgundy) !important;
    }
    
    .nav-links .btn-nav {
        margin-top: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .menu-grid.active {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-img {
        width: 100%;
        height: 180px;
    }
    
    .menu-item-content {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-categories {
        gap: 6px;
    }
    
    .menu-tab {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Mobile overlay --- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
