/* ORIGAMI SUSHI BAR - HOMEPAGE STYLES */

/* Color Variables */
:root {
    --primary-color: #DC143C;
    --primary-dark: #B81F28;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #EEEEEE;
}

/* HERO SECTION */
.hero-section {
    background: var(--bg-white);
    color: var(--text-dark);
    height: 100vh; /* Force full viewport height */
    display: flex;
    align-items: stretch;
}

.hero-content {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.hero-text {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    padding-top: 30%; /* Add extra top padding */
}


.hero-text h1 {
    /* Reduced font size to prevent line breaking and kept heading compact */
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-text h1 .highlight {
    color: var(--primary-color);
    display: inline;
}

.hero-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 90%;
}

/* Updated hero-logo styles to work within the left 60% section */
.hero-logo {
    /* Reduced size from 100px to 50px */
    width: 35%;
    height: auto;
    object-fit: contain;
    margin-top: 10%;
}

/* UPDATED: Force image container to full height */
.hero-image-container {
    flex: 0 0 40%;
    height: 100vh; /* Force full viewport height */
    display: flex;
}

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

@media (max-width: 1024px) {
    .hero-text {
        padding: 50px 30px;
        padding-top: 20%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-logo {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto; /* ⬅️ avoid mobile 100vh issues */
    }

    .hero-content {
        flex-direction: column;
        height: auto;
    }

    .hero-text {
        flex: none;
        padding: 60px 20px 40px;
        padding-top: 120px;
        text-align: center;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .hero-text p {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-logo {
        width: 55%;
        margin-top: 30px;
    }

    .hero-image-container {
        flex: none;
        height: 300px; /* ⬅️ controlled image height */
    }

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

@media (max-width: 480px) {
    .hero-text {
        padding-top: 100px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-logo {
        width: 65%;
    }

    .hero-image-container {
        height: 220px;
    }
}


/* Menu Categories Section */
.menu-categories-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* Category Buttons */
.categories-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 0;
}

.category-btn:hover .btn-icon-wrapper {
    border-color: #DF646C;
}

.category-btn:hover {
    color: #DF646C;
}

/* Icon wrapper with circular border and red background for active state */
.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.btn-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-btn.active .btn-icon-wrapper {
    background-color:#DF646C;
    border-color: #DF646C;
}

.category-btn.active {
    color: #1a1a1a;
}

/* Gallery Container */
.gallery-container {
    position: relative;
}

.gallery-items {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    animation: fadeIn 0.3s ease-in;
}

.gallery-items.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gallery Items */
.gallery-item {
    position: relative;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item h4 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    z-index: 2;
}

.gallery-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #E63946;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.gallery-arrow:hover {
    background-color: #d62a3f;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .categories-buttons {
        gap: 20px;
    }
    
    .btn-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .btn-icon {
        width: 42px;
        height: 42px;
    }
    
    .category-btn {
        font-size: 12px;
    }
    
    .gallery-items {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .gallery-item {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .categories-buttons {
        gap: 15px;
    }
    
    .btn-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .category-btn {
        font-size: 11px;
    }
    
    .gallery-items {
        grid-template-columns: 1fr;
    }
}


/* Combined Nouveautés & Promo Section */
.nouveautes-promo-section {
    background-color: #f8f8f8;
}

/* Nouveautés Container */
.nouveautes-container {
    padding: 60px 20px;
    text-align: center;
}

.nouveautes-title {
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.nouveautes-subtitle {
    font-size: 14px;
    color: #E63946;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

/* Products Grid */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Card - Changed from flex-direction: row back to column for image on top */
.product-card {
    background-color: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Card Image - Restored to full width for top placement */
.card-image {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Card Content - Full width, left-aligned text */
.card-content {
    padding: 20px;
    text-align: left;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.product-price {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Promotional Banner */
.promo-banner-container {
    background-color: #E63946;
    padding: 60px 20px;
    margin: 40px 60px;
}

.promo-banner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    min-height: 320px;
}

/* Promo Images on Left - Increased size and gap */
.promo-images-left {
    position: relative;
    width: 40%;
    height: 320px;
    flex-shrink: 0;
    display: flex;
    gap: 20px;
}

.promo-img-1,
.promo-img-2 {
    width: 48%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Promo Content - Centered */
.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
}

.promo-content h2 {
    font-size: 36px;
    font-weight: 300;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Promo Button */
.btn-promo {
    background-color: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-promo:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .nouveautes-title {
        font-size: 24px;
    }
    
    .promo-banner {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }
    
    .promo-images-left {
        width: 100%;
        height: 240px;
    }
    
    .promo-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .nouveautes-title {
        font-size: 20px;
    }
    
    .promo-content h2 {
        font-size: 22px;
    }
    
    .btn-promo {
        padding: 10px 20px;
        font-size: 12px;
    }
}


/* PLATS EN PROMOTION SECTION */
.plats-promotion-section {
    background-color: #f8f8f8;
    background-image:
        linear-gradient(rgba(248, 248, 248, 0.9), rgba(248, 248, 248, 0.9)),
        url('/Origami/static/images/Mask.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
}



.plats-promotion-section h2 {
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Products Grid */
.plats-promotion-section .products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

/* Showcase Item (NO background anymore) */
.showcase-item {
    background-color: transparent;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-4px);
}

/* Image Container – background ONLY here */
.showcase-item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

/* Subtle hover effect on image */
.showcase-item:hover img {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Text Content */
.showcase-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-align: left;
    padding-left: 10px;
}

.showcase-item .price {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: left;
    padding-left: 10px;
}

/* Section Center Button */
.section-center {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background-color: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .plats-promotion-section .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-item img {
        height: 200px;
    }

    .plats-promotion-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .plats-promotion-section .products-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .showcase-item img {
        height: 180px;
    }

    .plats-promotion-section h2 {
        font-size: 20px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 12px;
    }
}


/* ===============================
   INFO CARDS SECTION
   =============================== */
.info-cards-section {
    background-image: url('/Origami/static/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 20px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    position: relative;
}

/* Add semi-transparent overlay to fade the background image */
.info-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    pointer-events: none;
}

.info-cards-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 250px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 180px;
}

.info-card h3 {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0;
}

/* <CHANGE> Fixed icon sizing - exact width and height with object-fit to maintain aspect ratio */
.info-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .info-cards-grid {
        gap: 50px;
    }

    .info-card {
        width: 140px;
    }

    .info-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .info-cards-grid {
        flex-direction: column;
        align-items: center;        /* ⬅️ CENTER cards horizontally */
        gap: 40px;
    }

    .info-card {
        width: 100%;                /* ⬅️ allow full width */
        max-width: 260px;           /* ⬅️ keeps card nicely sized */
        margin: 0 auto;             /* ⬅️ extra safety centering */
    }

    .info-icon {
        width: 100px;
        height: 100px;
    }
}



/* ================================
   COMMANDER MAINTENANT SECTION
   ================================ */
.order-now-section {
    padding: 80px 0 100px;
    text-align: center;
}

.order-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.order-subtitle {
    color: #d70000;
    font-size: 16px;
    margin-bottom: 60px;
}

.order-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.order-card {
    width: 700px;
    height: 220px;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Livraison (red block) */
.order-livraison {
    background: #d50000 url('/Origami/static/images/livraison.png') bottom repeat-x;
}

/* Emporter (black block) */
.order-emporter {
    background: #1c1c1c url('/Origami/static/images/emporter.png') bottom repeat-x;
}

.order-icon {
    width: 120px;
    height: auto;
}

.order-label {
    color: white;
    font-size: 20px;
    font-weight: 500;
}
/* ================================
   MOBILE RESPONSIVE (SAFE FIX)
   ================================ */

@media (max-width: 768px) {
    .order-grid {
        flex-direction: column;   /* ⬅️ stack cards */
        align-items: center;
        gap: 30px;
    }

    .order-card {
        width: 100%;              /* ⬅️ override 700px */
        max-width: 600px;
        height: 220px;            /* keep original height */
    }
}


@media (max-width: 480px) {
    .order-title {
        font-size: 24px;
    }

    .order-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .order-card {
        min-height: 180px; /* ⬅️ keeps background + icon visible */
        gap: 15px;
    }

    .order-icon {
        width: 75px;
    }

    .order-label {
        font-size: 16px;
    }
}


/* ================================
   HISTOIRE SECTION
   ================================ */
.histoire-section {
    padding: 80px 0;
}

.histoire-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.histoire-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.histoire-subtitle {
    color: #d70000;
    margin-top: 5px;
    font-size: 18px;
}

.histoire-logo-container {
    display: flex;
    align-items: center;
}

.histoire-logo {
    width: 90px;
    height: 90px;
}

/* Cards */
.histoire-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.histoire-card {
    text-align: left;
}

.histoire-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.histoire-card h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
}

.histoire-card p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.voir-plus {
    display: inline-block;
    margin-top: 15px;
    color: #d70000;
    font-weight: 500;
    text-decoration: none;
}

/* Bottom A propos button */
.histoire-apropos-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.histoire-apropos-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0; /* Rectangle shape */
    transition: 0.3s ease;
}

.histoire-apropos-btn:hover {
    background: #333;
}


/* SERVICE TRAITEUR SECTION */
.traiteur-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f5f5f5;
}

.traiteur-header {
    text-align: center;
    margin-bottom: 40px;
}

.traiteur-header h2 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #333;
}

.traiteur-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.traiteur-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.traiteur-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.traiteur-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.traiteur-stacked {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: auto;
    max-width: 400px;
}

.traiteur-stacked img {
    width: 100%;
    height: auto;
    display: block;
}

.traiteur-text-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 60px;
}

.traiteur-text {
    color: white;
}

.traiteur-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.traiteur-drink img {
      position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.traiteur-text .btn-primary {
    background-color: #e31d23;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.traiteur-text .btn-primary:hover {
    background-color: #c41820;
}

.traiteur-text .btn-primary span {
    margin-left: 8px;
}

@media (max-width: 1024px) {
    .traiteur-header h2 {
        font-size: 32px;
    }

    .traiteur-content {
        height: 360px;
        padding: 0 30px;
    }

    .traiteur-stacked,
    .traiteur-drink {
        max-width: 280px;
    }

    .traiteur-text-wrapper {
        padding: 0 30px;
    }

    .traiteur-text p {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .traiteur-header h2 {
        font-size: 26px;
    }

    .traiteur-content {
        height: auto; /* ⬅️ prevent content clipping */
        padding: 20px 15px;
    }

    .traiteur-stacked,
    .traiteur-drink {
        max-width: 200px;
        padding-left: 0;   /* ⬅️ remove fake spacing */
        padding-right: 0;
    }

    .traiteur-text-wrapper {
        padding: 0 20px;
        text-align: center;
    }

    .traiteur-text p {
        font-size: 14px;
    }
}


/* RESTAURANTS SECTION */
.o_origami_restaurants {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.restaurants-title {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 40px;
}

.restaurants-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.restaurants-row > div {
  flex: 1;
  min-width: 0;
}

.restaurants-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.restaurant-card {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.restaurant-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Selected restaurant card with red background */
.restaurant-card.selected {
  background-color: #e31d23;
  border-color: #e31d23;
}

.restaurant-card.selected h4,
.restaurant-card.selected p {
  color: #ffffff;
}

.restaurant-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.restaurant-info {
  flex: 1;
}

.restaurant-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.restaurant-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.restaurants-map {
  width: 100%;
  height: 450px;
  border-radius: 4px;
  overflow: hidden;
}

/* Responsive Design - ensure proper column layout on tablets and mobile */
@media (max-width: 768px) {
  .restaurants-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .restaurants-row {
    flex-direction: column;
    gap: 20px;
  }

  .restaurants-map {
    height: 350px;
  }

  .restaurant-card {
    padding: 16px;
  }

  .restaurant-card h4 {
    font-size: 16px;
  }

  .restaurant-card p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .restaurants-title {
    font-size: 24px;
  }

  .restaurants-map {
    height: 300px;
  }
}


/* FRANCHISE SECTION */
.franchise-section {
  width: 100%;
  padding: 0;
}

.franchise-container {
  display: flex;
  align-items: stretch;
  min-height: 400px;
}

.franchise-content {
  flex: 1;
  background-color: #e31d23;
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.franchise-content h2 {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 30px 0;
  letter-spacing: 0.5px;
}

.franchise-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  max-width: 500px;
}

.franchise-btn {
  display: inline-block;
  background-color: #1a1a1a;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.franchise-btn:hover {
  background-color: #333;
}

.franchise-btn span {
  margin-left: 8px;
}

.franchise-image {
  flex: 1;
  overflow: hidden;
}

.franchise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .franchise-container {
    flex-direction: column;
    min-height: auto;
  }

  .franchise-content {
    padding: 40px 30px;
  }

  .franchise-content h2 {
    font-size: 28px;
  }

  .franchise-content p {
    font-size: 14px;
  }

  .franchise-image {
    min-height: 300px;
  }
}


/* SOCIAL MEDIA SECTION */
.social-media-section {
  position: relative;
  padding: 80px 40px 200px; /* bottom space for image */
  background-color: #ffffff;

  background-image: url('/Origami/static/images/japanese.png');
  background-repeat: no-repeat;
  background-size: 260px auto;
  background-position: left bottom;

  overflow: hidden;
}


/* Decorative elements */
.social-decor {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.social-decor-tree {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
}

.social-decor-tree img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-decor-package {
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  position: relative;
}

.social-decor-package img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-straw {
  position: absolute;
  top: -20px;
  left: 80px;
  width: 8px;
  height: 280px;
  background-color: #e31d23;
  border-radius: 4px;
  transform: rotate(-15deg);
  z-index: 1;
}

/* Red circular decoration */
.social-cdcc {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 300px;
  height: 300px;
  z-index: 1;
  pointer-events: none;
}

.social-cdcc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Main content */
.social-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.social-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Updated to display image files instead of SVG */
.social-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover::before {
  border-color: #e31d23;
  transform: scale(1.1);
}

.social-icon:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Carousel */
/* CAROUSEL CONTAINER */
.carousel-container {
  width: 100%;
  margin-top: 40px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CAROUSEL */
.carousel {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px; /* tight spacing */
  overflow: hidden;
  overflow-y: hidden;
  padding: 10px 0;
  width: 100%;
  /* FIX → remove unwanted spacing */
  justify-content: flex-start;
}

/* HIDE SCROLLBAR */
.carousel::-webkit-scrollbar {
  display: none;
}

.carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #e31d23;
  border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb:hover {
  background: #c41820;
}

/* CAROUSEL ITEMS */
.carousel-item {
  flex: 0 0 auto;
  width: 300px;  /* reduced to make spacing visually tighter */
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: none; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

  /* ensure no hidden margin/padding inside */
  margin: 0;
  padding: 0;
}

/* IMAGES INSIDE ITEMS - FIX SPACING ISSUE */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* prevents default whitespace */
  margin: 0;
  padding: 0;
}


.carousel-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}



/* Responsive Design */
@media (max-width: 768px) {
  .carousel-container {
    min-height: 400px;
  }
  
  .carousel-item {
    width: 280px;
    height: 360px;
  }
}
@media (max-width: 768px) {
  .social-media-section {
    padding: 60px 20px 140px;
    background-size: 180px auto;
  }
}
@media (max-width: 480px) {
  .social-media-section {
    padding: 40px 15px 100px;
    background-size: 140px auto;
    background-position: left bottom;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    min-height: 320px;
  }
  
  .carousel-item {
    width: 240px;
    height: 300px;
  }
}
@media (max-width: 768px) {
  .social-media-section {
    padding: 60px 20px;
  }

  .social-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .social-icons {
    gap: 30px;
    margin-bottom: 40px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon img {
    width: 40px;
    height: 40px;
  }

  .carousel-item {
    min-width: 200px;
    height: 250px;
  }

  .social-cdcc {
    width: 250px;
    height: 250px;
    top: -30px;
    right: -30px;
  }

  .social-decor-tree {
    width: 200px;
    height: 200px;
  }

  .social-decor-package {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .social-media-section {
    padding: 40px 15px;
  }

  .social-title {
    font-size: 24px;
  }

  .social-icons {
    gap: 20px;
  }

  .carousel-item {
    min-width: 180px;
    height: 220px;
  }
}




/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

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

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

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

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .values-grid,
    .histoire-cards,
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .restaurants-grid,
    .traiteur-content {
        grid-template-columns: 1fr;
    }

    .promo-banner {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .products-showcase,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .values-section h2,
    .nouveautes-section h2,
    .restaurants-section h2,
    .gallery-section h2 {
        font-size: 24px;
    }
}

