/* Patate Lou-Lou - Casse-croûte Website Styles */
/* Following Restaurant Website Master Guide patterns */

/* CSS Variables - Quebec Casse-croûte Color System */
:root {
    --primary-color: #ea6e0d;        /* Vibrant orange from restaurant branding */
    --primary-dark: #c55a0a;         /* Darker orange */
    --primary-light: #ff7f1a;        /* Lighter orange */
    --secondary-color: #8b2635;      /* Deep red accent */
    --secondary-dark: #6d1e2a;       /* Darker red */
    --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;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

.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;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

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(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    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: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
}

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

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

.mobile-order-btn {
    display: none;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

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

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

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

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.8;
}

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

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Quick Contact Bar */
.quick-contact {
    background-color: #171931;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

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

.contact-item {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

.boxed {
    background-color: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-line {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Popular Dishes Section */
.dishes {
    position: relative;
    overflow: visible;
}

.dishes .container {
    position: relative;
    overflow: visible;
}

.dishes-conveyor {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dishes-conveyor::-webkit-scrollbar {
    display: none;
}

.dish-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.dish-image {
    height: 200px;
    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 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

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

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

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

.arrow-btn {
    background: 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: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

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

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

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

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

.menu-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

/* Custom Messaging Section */
.custom-messaging {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.messaging-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.messaging-content h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.messaging-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.custom-messaging .benefits-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
    margin: 2rem 0;
}

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

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

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

.review-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.review-stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

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

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

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

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.owner-quote {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
    box-shadow: var(--shadow-light);
}

.owner-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.owner-quote cite {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

.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: 800px;
    margin: 0 auto;
}

.hours-info h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.hours-list {
    list-style: none;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

.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 {
    margin-top: 2rem;
}

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

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

.delivery-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

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

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

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

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

.contact-line {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-line strong {
    color: var(--text-dark);
    min-width: 100px;
}

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

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

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

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

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

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

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

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

/* 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 .footer-logo {
    height: 50px;
    width: auto;
}

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

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

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

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

.footer-cta {
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-order-btn {
        display: block;
        margin-top: 2rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Mobile Hero */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Quick Contact */
    .quick-contact-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    /* Mobile Sections */
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Mobile Dishes */
    .dishes-conveyor {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .dish-card {
        flex: 0 0 280px;
    }
    
    /* Mobile Menu Section */
    .menu-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .menu-text h2 {
        text-align: center;
    }
    
    /* Mobile About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    /* Mobile Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-cta {
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .dish-card {
        flex: 0 0 250px;
    }
    
    .contact-line {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-line strong {
        min-width: auto;
    }
    
    /* Mobile benefits layout */
    .custom-messaging .benefits-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
}
