/* ================================================
   GARDENKER.FR - CHARTE GRAPHIQUE & STYLES
   Noir (#1a1a1a) | Rose Pâle (#E8B4C8) | Vert Sapin (#2F5233)
   ================================================ */

/* VARIABLES COULEURS */
:root {
    --noir: #1a1a1a;
    --rose-pale: #E8B4C8;
    --vert-sapin: #2F5233;
    --blanc: #FFFFFF;
    --gris-light: #f5f5f5;
    --gris-medium: #e0e0e0;
    --text-dark: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--blanc);
}

/* ================================================
   MENU FIXE
   ================================================ */
.menu-fixe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--noir);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.menu-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.menu-link {
    color: var(--blanc);
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-radius: 5px;
}

.menu-link:hover {
    background-color: var(--rose-pale);
    color: var(--noir);
}

.menu-link.active {
    color: var(--vert-sapin);
    background-color: var(--rose-pale);
}

.menu-link.boutique {
    background-color: var(--vert-sapin);
    color: var(--blanc);
    font-weight: bold;
}

.menu-link.boutique:hover {
    background-color: #1f3a23;
}

/* Responsive menu */
@media (max-width: 768px) {
    .menu-items {
        gap: 0;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--noir);
        padding: 10px 0;
        display: none;
    }

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

    .menu-link {
        width: 100%;
        padding: 12px 20px;
        border-radius: 0;
    }
}

/* ================================================
   BANNEAU EXPÉDITION
   ================================================ */
.banneau-expedition {
    margin-top: 70px;
    background-color: var(--vert-sapin);
    color: var(--blanc);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.banneau-expedition p {
    margin: 0;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 100%);
    color: var(--blanc);
    padding: 80px 20px;
    text-align: center;
    margin-top: 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--rose-pale);
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   BOUTONS
   ================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--vert-sapin);
    color: var(--blanc);
}

.btn-primary:hover {
    background-color: #1f3a23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 82, 51, 0.3);
}

.btn-secondary {
    background-color: var(--rose-pale);
    color: var(--noir);
}

.btn-secondary:hover {
    background-color: #d99aae;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 180, 200, 0.3);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--blanc);
    border: 2px solid var(--rose-pale);
}

.btn-tertiary:hover {
    background-color: var(--rose-pale);
    color: var(--noir);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    display: inline-block;
    color: var(--vert-sapin);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    color: var(--noir);
}

/* ================================================
   SECTIONS GÉNÉRALES
   ================================================ */
section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--noir);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* ================================================
   SECTION BOUTIQUE
   ================================================ */
.section-boutique-avant {
    background-color: var(--gris-light);
}

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

.produit-card {
    background-color: var(--blanc);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rose-pale);
}

.produit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.produit-image {
    font-size: 3rem;
    margin-bottom: 20px;
}

.produit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--noir);
}

.produit-prix {
    font-size: 1.8rem;
    color: var(--vert-sapin);
    font-weight: 700;
    margin-bottom: 10px;
}

.produit-desc {
    color: #666;
    margin-bottom: 20px;
    min-height: 50px;
}

.produit-badges {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.stock {
    background-color: #d4edda;
    color: #155724;
}

/* ================================================
   SECTION GUIDES
   ================================================ */
.section-guides {
    background-color: var(--blanc);
}

.guides-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.guide-card {
    background-color: var(--gris-light);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--vert-sapin);
}

.guide-card:hover {
    background-color: var(--blanc);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.guide-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--noir);
}

.guide-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.lien-guide {
    color: var(--vert-sapin);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lien-guide:hover {
    color: var(--rose-pale);
}

/* ================================================
   SECTION OUTILS
   ================================================ */
.section-outils {
    background-color: var(--gris-light);
}

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

.outil-card {
    background-color: var(--blanc);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--vert-sapin);
}

.outil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.outil-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--noir);
}

.outil-card p {
    color: #666;
    margin-bottom: 20px;
}

/* ================================================
   SECTION BLOG
   ================================================ */
.section-blog {
    background-color: var(--blanc);
}

.articles-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-preview {
    background-color: var(--gris-light);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--rose-pale);
}

.article-preview:hover {
    background-color: var(--blanc);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-preview h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--noir);
}

.article-date {
    color: var(--vert-sapin);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.lien-article {
    color: var(--vert-sapin);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lien-article:hover {
    color: var(--rose-pale);
}

/* ================================================
   SECTION FAQ
   ================================================ */
.section-faq {
    background-color: var(--gris-light);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--blanc);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    cursor: pointer;
    padding: 20px;
    background-color: var(--blanc);
    font-weight: 600;
    color: var(--noir);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary:hover {
    background-color: var(--gris-light);
    color: var(--vert-sapin);
}

.faq-item[open] summary {
    background-color: var(--rose-pale);
    color: var(--noir);
}

.faq-content {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
}

.faq-content p {
    margin: 0;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background-color: var(--noir);
    color: var(--blanc);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--rose-pale);
    font-size: 1.1rem;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

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

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--rose-pale);
}

.footer-logo {
    margin-top: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 15px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .produits-phares,
    .guides-cards,
    .outils-grid,
    .articles-preview {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ================================================
   UTILITAIRES
   ================================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gris-light);
}

::-webkit-scrollbar-thumb {
    background: var(--vert-sapin);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rose-pale);
}
