@font-face {
    font-family: 'Rochester';
    src: url('fonts/rochester-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rochester', sans-serif;
    background-color: #f4f6f5;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('monstera-3.jpg');    
    background-size: cover;        
    opacity: 0.15;
    z-index: -1;
    pointer-events: none; 
}

/* 1. Barre supérieure vert foncé */
.top-bar {
    background-color: #0b4332;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none; 
    font-family: 'Rochester', sans-serif;
    font-weight: normal;
    font-size: 30px;
}

/* 2. Header centré avec Logo + Texte Rochester */
.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 150px;
    width: auto;
}

.logo-text {
    font-family: 'Rochester', cursive;
    font-size: 42px;
    color: #069b26;
    line-height: 0.9;
}

/* Bannière Hero */
.hero {
    background-image: url('banière.jpeg');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 40px 30px 40px;
    border-radius: 25px;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 15px 50px;
    border-radius: 40px;
    text-align: center;
}

.hero-overlay h1 {
    color: #1b4332;
    font-family: 'Rochester', cursive;
    font-size: 38px;
    font-weight: normal;
}

/* Les 3 Cartes alignées */
.categories-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 0 40px 40px 40px;
}

.card {
    position: relative;
    flex: 1;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 10px 20px;
    border-radius: 12px;
    width: 75%;
    text-align: center;
}

.card-title h2 {
    color: #1b4332;
    font-family: 'Rochester', cursive;
    font-size: 34px;
    font-weight: normal;
}


/* ==============================================================================================================================================================
   STYLES RESPONSIVE (SMARTPHONES < 768px)
   ============================================================================================================================================================== */

@media (max-width: 768px) {

    /* Barre supérieure */
    .top-bar {
        padding: 8px 5px;
        justify-content: space-between;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .top-bar a {
        font-size: 14px;
        white-space: nowrap;
        padding: 0 2px;
    }

    /* En-tête : Logo et Titre */
    .main-header {
        padding: 15px 10px;
    }

    .logo-container {
        flex-direction: column; /* Empile le logo et le texte sur mobile */
        gap: 8px;
        text-align: center;
    }

    .logo-img {
        height: 90px; /* Taille réduite sur mobile */
    }

    .logo-text {
        font-size: 30px;
    }

    /* Bannière Hero */
    .hero {
        height: 200px;
        margin: 0 15px 20px 15px;
        border-radius: 15px;
    }

    .hero-overlay {
        padding: 10px 20px;
        border-radius: 25px;
        width: 85%;
    }

    .hero-overlay h1 {
        font-size: 24px;
    }

    /* Grille des 3 Cartes (Passage en 1 seule colonne) */
    .categories-container {
        flex-direction: column;
        padding: 0 15px 30px 15px;
        gap: 20px;
    }

    .card {
        width: 100%;
        height: 220px;
    }

    .card-title {
        width: 85%;
        padding: 8px 15px;
    }

    .card-title h2 {
        font-size: 26px;
    }

}


    /* Sur mobile, on repasse la carte en vertical */
    .product-card {
        flex-direction: column;
    }

    .product-card .plant-img {
        width: 100%;
        height: 220px;
    }

    .product-card .card-info {
        width: 100%;
        margin-top: 15px;
    }

/* ================================================================================================================================================================ */
/* bouton retour à l'accueil 
===================================================================================================================================================================*/
.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    color: #0b4332;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    padding: 8px 18px;
    background-color: #ffffff;
    border: 2px solid #0b4332;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

}
/* effet survol de la souris */
.btn-back:hover {
    background-color: #0b4332;
    color: #ffffff;
    transform: translateX(-3px);
}
/* ==================================================================================================================================================================== */
/* Page contact */
/* ==================================================================================================================================================================== */
.contact-container {
    max-width: 1000px;
    margin: 20px auto;
    font-family: 'Rochester', cursive;
}

.contact-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Cartes blanches */
.card-box {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(11, 67, 50, 0.1);
    font-family: 'Rochester', cursive;
}

.card-box h2 {
    font-family: 'Rochester', cursive;
    color: #0b4332;
    font-size: 38px;
    margin-bottom: 15px;
}

/* Note et étoiles */
.rating-score {
    font-size: 48px;
    font-weight: bold;
    color: #0b4332;
    font-family: 'Rochester', cursive;
}

.stars {
    color: #f4b400;
    font-size: 24px;
    margin: 5px 0;
}

.review-count {
    color: #5f6368;
    font-size: 22px;
    margin-bottom: 20px;
    font-family: 'Rochester', cursive;
}

/* Formulaire d'avis */
.add-review-form {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-review-form h3 {
    font-family: 'Rochester', cursive;
    color: #0b4332;
    font-size: 30px;
}

.add-review-form input,
.add-review-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: 'Rochester', cursive;
    font-size: 22px;
    outline: none;
    background-color: #fff;
}

.btn-submit {
    background-color: #0b4332;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Rochester', cursive;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #069b26;
}

/* Section coordonnées */
.contact-links p {
    font-size: 26px;
    margin-bottom: 15px;   
    font-family: 'Rochester', cursive;
    color: #2d3748;
}

.contact-links a {
    color: #069b26;
    text-decoration: none;
    font-family: 'Rochester', cursive;
}

.contact-links a:hover {
    text-decoration: underline;
}

/* Style des avis ajoutés */
.review-list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-item {
    background-color: #f4f6f5;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: 'Rochester', cursive;
    font-size: 22px;
    text-align: left;
}

.review-item strong {
    color: #0b4332;
    display: block;
    margin-bottom: 3px;
    font-family: 'Rochester', cursive;
}

/* ===================================================================================================================================================================
Page Baby plante cartes et conseils
====================================================================================================================================================================== */

/* Page Baby plante cartes et conseils */

/* 1. Bloc global élargi et centré sur l'écran */
.page-content {
    max-width: 1000px;      /* Largeur suffisante pour 2 colonnes de cartes */
    margin: 30px auto;      /* Centre le conteneur principal */
    padding: 0 20px;
}

/* Titre parfaitement centré au milieu de la page */
.page-title {
    font-family: 'Rochester', cursive;
    color: #0b4332;
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
}

/* 2. Grille à 2 colonnes (Gauche et Droite) */
.plants-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Prépare la colonne Gauche et la colonne Droite */
    gap: 30px;                       /* Espace entre la colonne gauche et droite */
    align-items: start;
}

/* 3. Chaque plante (produit + conseils collés en dessous) */
.plant-duo {
    display: flex;
    flex-direction: column;
    gap: 10px;              /* Rapproche le produit de ses conseils */
}

/* Style des cartes blanches */
.plant-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(11, 67, 50, 0.1);
}

/* Carte Produit (Photo à gauche, infos à droite) */
.product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Lien de l'image cliquable */
.img-link {
    display: block;          
    width: 140px;            
    height: 180px;           
    border-radius: 12px;     
    overflow: hidden;        
    flex-shrink: 0;          
    transition: transform 0.3s ease;
}

.img-link:hover {
    transform: scale(1.03);
}

.img-link:hover .plant-img {
    opacity: 0.95;
}

/* Image de la plante */
.product-card .plant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;       
    display: block;
}

.product-card .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-info h3, .care-card h3 {
    font-family: 'Rochester', cursive;
    color: #0b4332;
    font-size: 32px;
    margin-bottom: 10px;
}

.price {
    font-family: 'Rochester', cursive;
    font-size: 24px;
    font-weight: 600;
    color: #069b26;
    margin-bottom: 15px;
}

.btn-buy {
    background-color: #0b4332;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 12px;
    font-family: 'Rochester', cursive;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-buy:hover {
    background-color: #069b26;
}

/* Carte conseils d'entretien */
.care-card {
    justify-content: center;
}

.care-list {
    list-style: none;
    font-family: 'Rochester', cursive;
    font-size: 15px;
    color: #2d3748;
    line-height: 1.8;
}

.care-list strong {
    color: #0b4332;
}

/* Adaptation pour smartphones */
@media (max-width: 800px) {
    .plants-container {
        grid-template-columns: 1fr; /* Repasse sur 1 colonne sur petit écran */
    }
}
/* =====================================================================================================================================================================
                                       Fenetre modale achat ou reservation
======================================================================================================================================================================== */

/* Style de la fenêtre modale */
.modal {
    display: none; /* Masquée par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond sombre transparent */
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #0b4332;
    cursor: pointer;
}

.buy-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.buy-form input, .buy-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}
.empty-message, .form-status {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #2d3748;
    grid-column: 1 / -1;
}

@media (max-width: 800px) {
    .product-card { flex-direction: column; }
    .product-card .img-link { width: 100%; height: 220px; }
    .product-card .card-info { margin-top: 15px; }
}
.main-footer {
    text-align: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}
.main-footer a { color: #0b4332; }

.legal { margin-bottom: 20px; }

.legal,
.legal * {
    font-family: 'Montserrat', sans-serif;
}

.legal h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.legal p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.legal p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}