/* Aylmer BBQ - Restaurant Website Styles */
/* Following Milano-proven patterns from Master Guide + Bilingual Toggle */

/* CSS Variables - Brand Color System */
:root {
    --primary-color: #d2691e;      /* Warm BBQ brown/orange */
    --primary-dark: #a0501a;       /* Darker BBQ brown */
    --primary-light: #e89256;      /* Lighter BBQ orange */
    --secondary-color: #f8f8f8;
    --text-dark: #2c2c2c;
    --text-gray: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-light: 0 1px 5px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
    padding-top: 82px; /* Account for fixed navbar */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #759d90;
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-actions .order-btn {
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 6px !important;
}

/* Language Toggle Button */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.9rem;
    min-width: 80px;
    justify-content: center;
}

.language-toggle:hover {
    border-color: var(--primary-color);
    background-color: var(--light-gray);
}

.lang-current {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-divider {
    color: var(--border-color);
    margin: 0 0.25rem;
}

.lang-switch {
    color: var(--text-gray);
    font-weight: 500;
    opacity: 0.7;
}

.language-toggle:hover .lang-switch {
    opacity: 1;
    color: var(--text-dark);
}

/* Mobile-only elements - hidden on desktop */
.mobile-order-btn,
.language-toggle-mobile {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Milano Pattern */
.hero {
    position: relative;
    height: 70vh;
    max-height: 600px;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Hero text block aligned with nav items */
.hero-text {
    color: var(--white);
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    color: var(--white);
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Quick Contact Bar - Milano Pattern */
.quick-contact {
    background-color: var(--light-gray);
    padding: 1rem 0 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    min-height: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.services-line {
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Boxed Sections */
.boxed {
    background-color: var(--secondary-color);
}

/* Popular Dishes Section - Milano Conveyor Pattern */
.dishes {
    position: relative;
}

.dishes-conveyor {
    position: relative;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.dishes-conveyor::-webkit-scrollbar {
    height: 8px;
}

.dishes-conveyor::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.dishes-conveyor::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dish-card {
    flex: 0 0 350px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dish-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dish-card:hover .dish-image img {
    transform: scale(1.05);
}

.dish-content {
    padding: 1.5rem;
}

.dish-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.dish-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.dish-order-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dish-order-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navigation Arrows for Dishes */
.dishes-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.arrow-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Invisible clickable arrow areas */
.dishes-arrow-left,
.dishes-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 250px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
}

.dishes-arrow-left {
    left: 0;
}

.dishes-arrow-right {
    right: 0;
}

.dishes-arrow-left:hover,
.dishes-arrow-right:hover {
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

.cta-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
}

/* Menu Section */
.menu-section {
    padding: 3rem 0;
}

.menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.menu-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.menu-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.menu-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu-buttons .btn {
    min-width: 160px;
    text-align: center;
}

.menu-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.menu-buttons .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.menu-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Deals Section */
.deals {
    padding: 4rem 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.deal-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.deal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-content {
    padding: 2rem;
}

.deal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.deal-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.deal-content p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.deal-order-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.deal-order-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.reviewer {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

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

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

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.story-highlight {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin-top: 1.5rem;
}

.story-highlight p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Hours Section */
.hours {
    padding: 4rem 0;
}

.hours-content {
    max-width: 900px;
    margin: 0 auto;
}

.hours-section {
    margin-bottom: 2.5rem;
}

.hours-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: var(--white);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-light);
}

.hours-list li span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-list li span:last-child {
    color: var(--text-gray);
}

.delivery-areas h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.delivery-areas p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.delivery-note {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-line {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-line strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.contact-line a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-line a:hover {
    color: var(--primary-dark);
}

.map-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    justify-content: center;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-light);
}

.footer-cta {
    display: flex;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 82px;
        flex-direction: column;
        background-color: #759d90;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.2);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .mobile-order-btn {
        display: inline-block;
        width: calc(100% - 2rem);
        margin: 1rem;
    }
    
    /* Show language toggle in mobile menu */
    .language-toggle-mobile {
        display: flex !important;
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem 1rem 1rem;
        justify-content: center;
    }

    /* Hero Mobile */
    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-text {
        /* Align with nav on mobile too */
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        /* Align left with text block */
    }

    /* Sections Mobile */
    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .boxed .container {
        padding-top: 0;
        margin-top: 0;
    }

    /* Dishes Mobile */
    .dishes-conveyor {
        margin: 0 -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .dish-card {
        flex: 0 0 280px;
        max-width: 280px;
    }

    /* Menu Section Mobile */
    .menu-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .menu-buttons {
        justify-content: center;
    }

    /* Deals Mobile */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-cta {
        margin-top: 1rem;
    }

    /* Quick Contact Mobile */
    .quick-contact-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .contact-item {
        font-size: 0.9rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .menu-content,
    .about-content {
        gap: 2rem;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation classes for language toggle */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}

