/* ========================================
   Variables & Reset
======================================== */
:root {
    --beige: #F5F1E8;
    --beige-dark: #E8DCC8;
    --vert-tendre: #A8B89F;
    --vert-dark: #8A9B7F;
    --brun: #8B7355;
    --brun-dark: #6B5745;
    --blanc: #FFFFFF;
    --gris-clair: #F9F7F4;
    --gris-texte: #5A5A5A;
    --noir: #2C2C2C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    color: var(--gris-texte);
    background-color: var(--beige);
    line-height: 1.7;
}

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

/* ========================================
   Navigation
======================================== */
.navbar {
    background-color: var(--blanc);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--brun);
    font-weight: 400;
    letter-spacing: 2px;
}

.logo-image {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    position: absolute;
    right: 20px;
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Responsive logo */
@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }
    
    .logo {
        flex: 1;
        order: 0;
    }
    
    .logo-image {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        right: 0;
        top: 80px;
        flex-direction: column;
        background: var(--blanc);
        width: 100%;
        padding: 2rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        position: absolute;
        right: 20px;
        z-index: 1000;
    }
}

.tagline {
    font-size: 0.85rem;
    color: var(--vert-dark);
    font-style: italic;
    letter-spacing: 1px;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--brun);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gris-texte);
    font-size: 1rem;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--vert-dark);
}

/* Mobile menu toggle visible */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    height: 85vh;
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--vert-tendre) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 241, 232, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--brun);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gris-texte);
    margin-bottom: 1.5rem;
}

.hero-signature {
    font-size: 1.1rem;
    color: var(--vert-dark);
    font-style: italic;
    margin-bottom: 2rem;
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--vert-tendre);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--vert-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--brun);
    text-decoration: none;
    border: 2px solid var(--brun);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: var(--brun);
    color: var(--blanc);
    transform: translateY(-2px);
}

/* ========================================
   Categories Section
======================================== */
.categories {
    padding: 5rem 0;
    background-color: var(--gris-clair);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--brun);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--blanc);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-image {
    margin-bottom: 1.5rem;
}

.placeholder-image {
    font-size: 4rem;
    color: var(--vert-tendre);
}

.category-card h3 {
    font-size: 1.4rem;
    color: var(--brun);
    margin-bottom: 1rem;
    font-weight: 400;
}

.category-card p {
    font-size: 1rem;
    color: var(--gris-texte);
    line-height: 1.6;
}

/* ========================================
   About Preview
======================================== */
.about-preview {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--beige) 0%, var(--beige-dark) 100%);
}

.about-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--brun);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gris-texte);
    margin-bottom: 2rem;
    font-style: italic;
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: var(--brun-dark);
    color: var(--beige);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--blanc);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--vert-tendre);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--blanc);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--beige);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Boutique
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--vert-tendre) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--brun);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gris-texte);
    font-style: italic;
}

.boutique-section {
    padding: 4rem 0;
    background-color: var(--gris-clair);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background-color: var(--blanc);
    border: 2px solid var(--vert-tendre);
    color: var(--vert-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--vert-tendre);
    color: var(--blanc);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--vert-tendre) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--brun);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.product-category {
    font-size: 0.9rem;
    color: var(--vert-dark);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.product-description {
    font-size: 1rem;
    color: var(--gris-texte);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.4rem;
    color: var(--brun);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--vert-tendre);
    color: var(--blanc);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    background-color: var(--vert-dark);
}

/* ========================================
   Page À propos
======================================== */
.about-section {
    padding: 4rem 0;
    background-color: var(--beige);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--brun);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.about-story {
    background-color: var(--blanc);
    padding: 3rem;
    border-radius: 10px;
    line-height: 1.9;
    font-size: 1.1rem;
}

.about-story p {
    margin-bottom: 1.5rem;
    color: var(--gris-texte);
}

.about-signature {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vert-dark);
    font-style: italic;
    margin-top: 2rem;
}

/* ========================================
   Page Contact
======================================== */
.contact-section {
    padding: 4rem 0;
    background-color: var(--gris-clair);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background-color: var(--blanc);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--brun);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gris-texte);
}

.contact-details strong {
    color: var(--brun);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    background-color: var(--beige-dark);
}

.contact-form {
    background-color: var(--blanc);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--brun);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brun);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--beige-dark);
    border-radius: 5px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vert-tendre);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--vert-tendre);
    color: var(--blanc);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: var(--vert-dark);
    transform: translateY(-2px);
}

/* ========================================
   Page Actualités
======================================== */
.actualites-section {
    padding: 4rem 0;
    background-color: var(--beige);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--vert-tendre) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-content {
    padding: 2rem;
}

.article-date {
    font-size: 0.9rem;
    color: var(--vert-dark);
    margin-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--brun);
    margin-bottom: 1rem;
    font-weight: 400;
}

.article-content p {
    font-size: 1rem;
    color: var(--gris-texte);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--vert-dark);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--brun);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .about-story {
        padding: 2rem;
    }
}
