/* Chef Hero Block Styles */
.home .chef-hero-block {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Header Styles */
.home .hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px 0;
 
}

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

.logo {
    text-align: left;
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 50px;
    width: auto;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-subtext {
    font-size: 0.8rem;
    color: #979797;
    margin: 2px 0 0 0;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-wrapper {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 20;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    display: inline-block;
}

.nav-item span {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
}

.nav-item span:hover {
    color: #666;
}

.main-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.main-nav a:hover {
    color: #666;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

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

.language-switcher {
    display: flex;
    align-items: center;
}

.language-switcher img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.language-switcher img:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 5;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 50px 0;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6E6E6E;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: pre-line;
}

/* Remove hero-image and hero-img styles since we're using background images now */

/* Editor Styles */
.chef-hero-block-editor {
    border: 2px dashed #ddd;
    margin: 20px 0;
    background: #f9f9f9;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



.chef-hero-block-editor .hero-header {
    position: relative;
    margin-bottom: 20px;
    padding: 15px;
}

.chef-hero-block-editor .hero-section {
    padding-top: 20px;
    min-height: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .main-nav {
        gap: 30px;
    }
    
    .logo-text {
        font-size: 1.7rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3rem);
    }
}

/* Menu burger à partir de 900px */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(248, 245, 240, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 10px;
        padding: 20px;
        min-width: 200px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
        .header-only .mobile-menu-toggle {
        position: relative;
        z-index: 9999;
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index:10000;
    }
    
    .main-nav a,
    .nav-item span {
        padding: 10px 0;
        border-bottom: 1px solid rgba(26, 26, 26, 0.1);
        font-size: 1rem;
        display: block;
        width: 100%;
    }
    
    .main-nav a:last-of-type,
    .nav-item:last-of-type span {
        border-bottom: none;
    }
    
    .language-switcher {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .hero-container {
        text-align: center;
        padding: 0 20px;
    }

    .chef-hero-block {
    background-position: right;
    
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: none;
        color: black;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-subtext {
        font-size: 0.7rem;
    }
    
    .logo-image {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtext {
        font-size: 0.6rem;
    }
    
    .hero-title {
        margin-bottom: 15px;
        font-size: clamp(1.8rem, 7vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .main-nav {
        min-width: 180px;
        right: -10px;
    }
}