/*
Theme Name: Pasta Express
Theme URI: https://pasta-express.com
Author: Pasta Express Team
Author URI: https://pasta-express.com
Description: Thème personnalisé pour le restaurant Pasta Express - Menu, promotions et contact
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pasta-express
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    position: relative;
    overflow-x: hidden;
}

/* Decorative pasta images in corners */
body::before {
    content: '';
    position: fixed;
    top: -50px;
    right: -80px;
    width: 400px;
    height: 400px;
    background-image: url('images/pasta-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    bottom: 50px;
    left: -100px;
    width: 450px;
    height: 450px;
    background-image: url('images/pasta-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

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

/* === HEADER === */
.site-header {
    background: white;
    color: #333;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.site-title:hover {
    opacity: 0.8;
}

/* === LANGUAGE SELECTOR === */
/* === LANGUAGE SELECTOR === */
.language-selector {
    display: flex;
    align-items: center;
}

.language-dropdown {
    padding: 0.5rem 1rem;
    background-color: white;
    color: #1a5f3f;
    border: 2px solid #1a5f3f;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a5f3f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.language-dropdown:hover {
    background-color: #f5f5f5;
    border-color: #c41e3a;
    color: #c41e3a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c41e3a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.language-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
    border-color: #1a5f3f;
}

.language-dropdown option {
    padding: 0.5rem;
    color: #333;
    background-color: white;
}

.language-selector ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.language-selector li {
    margin: 0;
}

.language-selector a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a5f3f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
}

.language-selector a:hover {
    background-color: #f0f0f0;
    color: #c41e3a;
}

.language-selector a.active {
    background-color: #1a5f3f;
    color: white;
}

.language-selector img {
    width: 20px;
    height: 15px;
    object-fit: contain;
} 

/* Logo personnalisé */
.custom-logo-link {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 0;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .custom-logo {
        max-height: 60px;
    }
    
    .language-selector {
        gap: 0.5rem;
    }
    
    .language-selector a {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .language-selector img {
        width: 16px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        max-height: 50px;
    }
    
    .language-selector ul {
        gap: 0.5rem;
    }
    
    .language-selector a {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }
    
    .language-selector img {
        width: 14px;
        height: 10px;
    }
}

/* === NAVIGATION === */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #1a5f3f;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.main-navigation a:hover,
.main-navigation a.active {
    background-color: #1a5f3f;
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #1a5f3f;
    color: #1a5f3f;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: #1a5f3f;
    color: white;
}

/* === HERO SECTION === */
.hero-section-other {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('images/pasta-hero.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-section {
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-image: url('images/pasta-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

/* .hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: 30px;
    width: 250px;
    height: 250px;
    background-image: url('images/pasta-4.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
} */

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

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
	min-width: 270px;
    margin-top: 5px;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #c41e3a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #c41e3a;
}

.btn:hover {
    background-color: white;
    color: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* === MAIN CONTENT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 4rem 0;
    background-color: #0a0a0a;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 30px;
    width: 350px;
    height: 350px;
    background-image: url('images/pasta-5.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ffd700;
}

/* === MENU SECTION === */
/* Menu Category Sections */
.menu-category-section {
    background: transparent;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.menu-category-title {
    color: white !important;
    background: linear-gradient(135deg, #1a5f3f 0%, #0d3d28 100%) !important;
    padding: 1rem 1.5rem !important;
    margin: 0 !important;
    font-size: 1.3rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.category-badge {
    background-color: #c41e3a !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 5px;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Menu List - Style comme l'image */
.menu-list {
    padding: 1.5rem;
    background: transparent;
}

.menu-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-list-item:last-child {
    border-bottom: none;
}

.menu-list-item-left {
    flex-shrink: 0;
    max-width: 65%;
}

.menu-list-item-title {
    color: #e0e0e0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.3;
}

.menu-list-item-description {
    color: #a0a0a0 !important;
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin: 0 !important;
    font-style: italic;
}

.menu-list-item-dots {
    flex: 1;
    border-bottom: 2px dotted #ccc;
    margin: 0 0.5rem;
    align-self: center;
    min-width: 20px;
}

.menu-list-item-prices {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

.menu-price-badge {
    background-color: #ffd700 !important;
    color: #333 !important;
    padding: 0.4rem 0.7rem !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-width: 45px;
    text-align: center;
}

/* .menu-price-badge.menu-price-large {
    background-color: #ffb700 !important;
} */

/* Old grid/card styles - keep for backward compatibility */
.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    color: #c41e3a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.menu-item .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    background-color: #ffd700;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* === PROMOTIONS === */
.promo-section {
    background-color: #0a0a0a;
    padding: 4rem 0;
}

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

.promo-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid #1a5f3f;
    border-radius: 10px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    overflow: hidden;
}
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
} 
.promo-badge {
    background: linear-gradient(135deg, #c41e3a, #8b0000);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(196, 30, 58, 0.5);
}
    /*box-shadow: 0 6px 14px rgba(0,0,0,0.3);*/
.promo-card h3 {
    color: white;
    background: linear-gradient(135deg, #1a5f3f 0%, #0d3d28 100%);
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: bold;
}  
.promo-card p {
    color: #d0d0d0;
    margin: 0;
    padding: 1.5rem 2rem;
    line-height: 1.7;
}

.promo-image-wrapper {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

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

/* === ABOUT SECTION === */
.about-content {
    background: transparent;
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #d0d0d0;
}

/* === CONTACT SECTION === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-item i {
    color: #c41e3a;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #a0a0a0;
}

.map-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 400px;
}

/* === FOOTER === */
.site-footer {
    background-color: #2c2c2c;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: #ffd700;
}

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Menu list - responsive */
    .menu-list {
        padding: 1rem;
    }
    
    .menu-list-item {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .menu-list-item-left {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .menu-list-item-dots {
        display: none;
    }
    
    .menu-list-item-prices {
        flex: 1 1 100%;
        justify-content: flex-end;
        margin-top: 0.3rem;
    }
    
    .menu-category-title {
        font-size: 1.1rem !important;
        padding: 0.8rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 1rem;
    }
    
    .menu-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    /* Menu items - optimize for small mobile */
    .menu-list {
        padding: 0.8rem;
    }
    
    .menu-list-item {
        padding: 0.6rem 0;
    }
    
    .menu-list-item-title {
        font-size: 0.95rem !important;
    }
    
    .menu-list-item-description {
        font-size: 0.8rem !important;
    }
    
    .menu-price-badge {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.85rem !important;
        min-width: 40px;
    }
    
    .menu-category-section {
        margin-bottom: 1.5rem;
    }
}

/* Large screens - optimize display */
@media (min-width: 1200px) {
    .menu-list-item-left {
        max-width: 70%;
    }
}
