@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway+Dots&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* ------------------------------ */
/*    STYLE CSS FINAL AVEC MINI-PANIER + / -  */
/* ------------------------------ */


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway+Dots&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ------------------------------ */
/*        STYLE GÉNÉRAL          */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {

    margin-top: 80px; /* adapte selon la hauteur de ton menu */
    background-color:rgb(255, 255, 255);
}

/* --------Heather--------*/
header { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9); /* 80% d'opacité */
    z-index: 1000;
    
}

/* Logo */
.logo_div .logo a {
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    color: black;
}

.logo span {
    color: orangered;
}

/* Menu centré */
.menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.menu ul li a {
    text-decoration: none;
    color: orangered;
    font-weight: 500;
    transition: 0.3s;
}

.menu ul li a:hover {
    background-color: orangered;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

/* Bouton "Appeler" à droite */
.btn_heather .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: orangered;
    color: white;
    border: 2px solid orangered;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn_heather .btn:hover {
    background-color: white;
    color: orangered;
    transform: rotate(5deg);
}


/* Bandeau promo défilant */
.promo-marquee {
    background: rgb(255, 255, 255);
    border-top: 1px solid orangered;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: defilement 25s linear infinite;
    font-weight: bold;
    color: orangered;
    font-size: 16px;
}
@keyframes defilement {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ------------------------------ */
/*          HERO BANNER           */
/* ------------------------------ */
.hero {
    width: 100%;
    height: 500px;
    background-image: url("../img/banner_bg.png"); /* mets ton image ici */
    background-size: cover;         /* l'image couvre toute la section */
    background-position: center;    /* image centrée */
    background-repeat: no-repeat;   /* pas de répétition */
    padding: 100px 20px;            /* espace pour que le texte respire */
    text-align: center;             /* texte centré */
    color: white;                   /* pour voir le texte si le fond est sombre */
    background-image: url("../img/banner_bg.png");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid #ffa64d;
    transition: opacity 0.4s ease;
}

.hero h2 {
   
    font-size: 32px;
    margin-top: 140px;
    margin-bottom: 20px;
    font-weight: bold;
}
.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}
.btn-hero {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: orangered;
    color: white;
    border: 2px solid orangered;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
    text-decoration: none;
}
.btn-hero:hover {
    background-color: white;
    color: orangered;
    transform: rotate(5deg);
}

/* Section Pourquoi choisir Shop Azra */
.pourquoi-azra {
    padding: 60px 20px;
    background-color: #fff8f0; /* léger ton chaud */
    text-align: center;
}

.pourquoi-azra h2 {
    font-size: 32px;
    color: #ff6600;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Container des features */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* responsive */
}

/* Chaque feature */
.feature {
    background: linear-gradient(145deg, #ffffff, #ffeedd);
    border-radius: 20px;
    padding: 30px 20px;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Icônes */
.feature i {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 20px;
}

/* Titres et descriptions */
.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* Responsive : mobile */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .feature {
        width: 90%;
    }
}

/* Section Catégories */
.categories {
    padding: 60px 20px;
    background-color: #f8f8f8; /* léger ton neutre pour séparer les sections */
    text-align: center;
}

.categories h2 {
    font-size: 32px;
    color: #ff6600;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Container des catégories */
.categorie-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Chaque catégorie */
.categorie {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    width: 220px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categorie:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Image catégorie */
.categorie img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.5s, filter 0.5s;
}

.categorie img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Titre catégorie */
.categorie h3 {
    font-size: 18px;
    color: #333;
}

/* Responsive : mobile */
@media (max-width: 768px) {
    .categorie-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .categorie {
        width: 90%;
    }
}

/* Section Produits */
.produits {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}


.produits h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff6600;
    font-weight: bold;
}

/* Grille produits */
.produit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Card produit */
.produit {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    width: 280px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.produit:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #fff3e0, #ffe0b3);
}

/* Images produits */
.produit img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.5s, filter 0.5s;
}

.produit img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Titres et descriptions */
.produit h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #333;
}

.produit p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

/* Prix */
.prix {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 15px;
}

/* Boutons uniformes */
.btn-ajouter {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-ajouter:hover {
    background-color: #e65c00;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive : mobile */
@media (max-width: 768px) {
    .produit-list {
        flex-direction: column;
        align-items: center;
    }

    .produit {
        width: 90%;
    }
}


/* ------------------------------ */
/*          PANIER COMPLET        */
/* ------------------------------ */
.panier-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}
.panier-total {
    text-align: right;
    font-size: 1.2em;
    margin-top: 10px;
}
#checkout-btn {
    padding: 12px 25px;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    margin-top: 10px;
}
#checkout-btn:hover { background-color: #ff9933; }
.panier-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#continue-btn {
    padding: 12px 25px;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    margin-top: 10px; /* pousse le bouton à gauche */
}

#continue-btn:hover {
    background-color: #ff9933;;
}

/* Section Produits */
.produits {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.produits h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff6600;
    font-weight: bold;
}

/* Liste des produits en grille responsive */
.produit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Card produit premium */
.produit {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    width: 280px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.produit:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #fff3e0, #ffe0b3);
}

/* Images produits avec effet lumière au survol */
.produit img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.5s, filter 0.5s;
}

.produit img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Titres et descriptions */
.produit h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #333;
}

.produit p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

/* Prix */
.prix {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 15px;
}

/* Bouton Ajouter au panier premium */
.produit .btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.produit .btn:hover {
    background-color: #e65c00;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive : mobile une colonne */
@media (max-width: 768px) {
    .produit-list {
        flex-direction: column;
        align-items: center;
    }

    .produit {
        width: 90%;
    }
}



/* ------------------------------ */
/*             FOOTER             */
/* ------------------------------ */
/* Footer minimaliste */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.footer a {
    color: #ff6600;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ffa64d;
}

.footer .socials {
    margin-top: 15px;
}

.footer .socials a {
    font-size: 20px;
    margin: 0 8px;
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

.footer .socials a:hover {
    transform: scale(1.2);
    color: #ffa64d;
}

