/*
Theme Name: Zqaq Restaurant
Description: Thème personnalisé pour Restaurant Zqaq Chez Hamma - Style Pied de Cochon
Version: 2.0
Author: Custom
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700&family=Cairo:wght@400;600;700&display=swap');

/* Variables de couleur */
:root {
    --primary-color: #92664b;
    --secondary-color: #c9a961;
    --accent-color: #d4af37;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}
/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
    color: #92664b;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Header */
.site-header {
    background-color: #f7f7f7;
    box-shadow: 0 2px 20px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px var(--shadow-medium);
}

.header-top {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-info span {
    color: #92664b;
}

.social-links-header {
    display: flex;
    gap: 15px;
}

.social-links-header a {
    color: #92664b;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links-header a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.site-title:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    color: #92664b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 5px;
    background-color: var(--bg-light);
    padding: 3px;
    border-radius: 25px;
}

.language-toggle button {
    background: none;
    border: none;
    color: #92664b;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.language-toggle button.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url('../images/zqaq-cover.jpeg') center/cover;
    color: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease;
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    text-align: right;
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 20px auto;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #92664b;
    max-width: 600px;
    margin: 0 auto;
}

/* Menu Categories */
.menu-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: 2px solid #e5e5e5;
    color: #92664b;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

/* Menu Grid */
.menu-grid {
    display: block;
    gap: 0;
}

.menu-category {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    margin-bottom: 60px;
}

.menu-category:hover {
    transform: none;
    box-shadow: none;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.category-title::after {
    display: none;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(146, 102, 75, 0.2);
    transition: all 0.3s;
    max-width: 100%;
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-item:hover {
    padding-left: 10px;
    background-color: rgba(201, 169, 97, 0.05);
    margin: 0 -20px;
    padding-right: 20px;
}

.item-name {
    font-size: 1.05rem;
    color: #92664b;
    font-weight: 500;
}

.item-ingredients {
    font-size: 0.85rem;
    color: #92664b;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.item-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.contact-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.contact-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.contact-card p {
    color: #92664b;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.contact-card p a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #580404;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color:  #f7f7f7;
    transform: translateY(-3px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f7f7f7;
}

.footer-column p,
.footer-column ul {
    color:#f7f7f7;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #f7f7f7;
    border-bottom: 1px solid var(--primary-color);
}

/* Style spécifique pour les social links dans le footer */
.footer-column .social-links a:hover {
    background-color: #f7f7f7;
    transform: translateY(-3px);
    color: var(--primary-color);
    border-bottom: none;
}

.footer-bottom {
    border-top: 1px solid rgba(146, 102, 75, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(146, 102, 75, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support for Arabic */
.rtl {
    direction: rtl;
    font-family: 'Cairo', 'Tahoma', sans-serif;
}

.rtl .site-title {
    text-align: right;
}

.rtl .main-navigation ul {
    flex-direction: row-reverse;
}

.rtl .menu-item {
    flex-direction: row-reverse;
}

.rtl .menu-item:hover {
    padding-left: 0;
    padding-right: 10px;
}

.rtl .category-title {
    text-align: right;
}

.rtl .contact-card {
    text-align: right;
}

.rtl .footer-column ul {
    text-align: right;
}

.rtl .social-links {
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation {
        position: static;
        transform: none;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
        text-align: right;
        max-width: 90%;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .menu-item:hover {
        padding-left: 10px;
        background-color: rgba(201, 169, 97, 0.05);
        margin: 0 -10px;
        padding-right: 10px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Review Section */
.review-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--brown-dark) 0%, #2c1810 100%);
    text-align: center;
}

.review-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 30px;
    max-width: 600px;
        background-color: #92664b;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars i {
    color: #FBBC04;
    font-size: 2rem;
    margin: 0 4px;
}

.review-card h2 {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.review-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    color: var(--brown-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--primary-color);
    color: var(--bg-white);
        border: 2px solid #f7f7f7;

}

.review-btn i {
    font-size: 1.2rem;
}
