/* Variables CSS */
:root {
    --ocre: #D4A76A;
    --ocre-light: #E8C9A0;
    --ocre-dark: #B88A4A;
    --vert-olive: #8A9B68;
    --vert-olive-light: #A3B18A;
    --dore: #C9A96E;
    --dore-light: #E2D0A8;
    --blanc-casse: #F8F4E9;
    --blanc: #FFFFFF;
    --noir: #2C2C2C;
    --gris: #5A5A5A;
    --gris-clair: #E0E0E0;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--noir);
    background-color: var(--blanc-casse);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--noir);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barre de navigation */
.navbar {
    background-color: var(--blanc);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dore);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--noir);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--dore);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--dore);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--noir);
}

/* Section Hero */
.hero {
    display: flex;
    min-height: 100vh;
    margin-top: 70px;
}

.hero-content {
    flex: 1;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--ocre-light) 100%);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dore);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--noir);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--blanc);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
}

.btn.primary {
    background-color: var(--dore);
    color: var(--blanc);
}

.btn.primary:hover {
    background-color: var(--dore-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn.secondary {
    background-color: transparent;
    color: var(--dore);
    border: 2px solid var(--dore);
}

.btn.secondary:hover {
    background-color: var(--dore);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sections générales */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dore);
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--dore);
    margin: 0 auto;
}

/* Section Introduction */
.intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Section Vêtements Berbères */
.clothing-section {
    background-color: var(--blanc);
}

.clothing-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.clothing-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.clothing-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.clothing-image:hover img {
    transform: scale(1.05);
}

.clothing-text {
    flex: 1;
}

.clothing-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Section Appel à l'action */
.cta-section {
    background: linear-gradient(135deg, var(--vert-olive) 0%, var(--vert-olive-light) 100%);
    color: var(--blanc);
    text-align: center;
}

.cta-section h2 {
    color: var(--blanc);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-section .btn.primary {
    background-color: var(--blanc);
    color: var(--vert-olive);
}

.cta-section .btn.primary:hover {
    background-color: var(--blanc-casse);
}

/* Pied de page */
.footer {
    background-color: var(--noir);
    color: var(--blanc);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3, .footer-section h4 {
    color: var(--dore);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--dore);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gris);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--dore);
}

.social-icons img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gris);
}

/* Bouton WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content, .hero-image {
        flex: none;
    }
    
    .hero-image {
        height: 50vh;
    }
    
    .intro-content, .clothing-content {
        flex-direction: column;
    }
    
    .clothing-content {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--blanc);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

@media screen and (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
/* Sélecteur de langue */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.lang-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.3s;
}

.lang-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
