/* =========================================
   VARIABLES ET POLICES
   ========================================= */
:root {
    --main-pink: #f4d9e0;    /* Rose poudré catalogue */
    --text-pink: #d88a9d;    /* Rose foncé pour titres */
    --dark-pink: #e0a6b5;    /* Rose pour hovers */
    --text-color: #333;
    --brand-font: 'Playfair Display', serif;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--brand-font);
    font-weight: 700;
}

.text-pink { color: var(--text-pink); }
.bg-light-pink { background-color: #fdf6f7; }

/* =========================================
   NAVIGATION
   ========================================= */
.brand-name {
    font-size: 1.5rem;
    letter-spacing: 3px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    height: 80vh;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4));
    background-size: cover;
    background-position: center;
}

.btn-custom {
    background-color: var(--main-pink);
    border: 2px solid var(--dark-pink);
    color: #000;
    padding: 10px 30px;
    border-radius: 0;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-custom:hover {
    background-color: var(--dark-pink);
    color: white;
}
.hero-section {
    /* 1. On augmente la hauteur pour le format grand écran */
    height: 80vh; 
    
    /* 2. On remplace le blanc par une couleur douce (ex: un crème ou rose très pâle) */
    background-color: #fefcfc; 

    /* 3. On superpose le dégradé coloré ET ton logo */
    background-image: 
        linear-gradient(rgba(253, 246, 247, 0.4), rgba(253, 246, 247, 0.4)), 
        url('../images/logo.png');
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 20px;
    z-index: 2;
    /* Optionnel : petite ombre pour décoller le texte du logo */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* On force le logo à ne pas être trop immense sur les très grands écrans */
@media (min-width: 1200px) {
    .hero-section {
        height: 55vh;
        background-size: 800px; /* Fixe une taille max pour le logo sur écran PC */
    }
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Un peu moins haut sur téléphone pour garder le bouton visible */
    }
}

/* =========================================
   CATÉGORIES (Section du haut)
   ========================================= */
.product-card {
    border: none;
    background-color: #fff;
    padding: 20px;
    transition: transform 0.3s;
    border-bottom: 3px solid var(--main-pink);
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Pour empêcher les liens de devenir bleus */
.product-card a {
    color: inherit !important;
    text-decoration: none !important;
}

/* =========================================
   CARTES PRODUITS (Style Catalogue Rose)
   ========================================= */

/* 1. On rend la carte Bootstrap invisible pour ne voir que notre fond rose */
.card.product-mini-card {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 40px; /* Espace pour l'image qui dépasse */
}

/* 2. L'image qui dépasse en haut */
.product-img-container {
    position: relative;
    z-index: 5;
    margin-bottom: -60px; /* Fait descendre le rectangle rose sous l'image */
}

.product-img-container img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    background-color: white;
}

/* 3. Le corps de la carte qui devient le rectangle rose */
.product-card-pink {
    background-color: var(--main-pink) !important;
    border-radius: 20px !important;
    padding: 70px 15px 25px 15px !important; /* Espace haut pour l'image */
    z-index: 1;
    transition: transform 0.3s ease;
}

.product-mini-card:hover .product-card-pink {
    transform: scale(1.03);
}

.product-card-pink .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.product-card-pink .card-text {
    color: #444;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Empêcher les colonnes de se coller */
#cookies-list .row, #cupcakes-list .row {
    --bs-gutter-x: 1.5rem; /* Espace horizontal entre les cartes */
    --bs-gutter-y: 2rem;   /* Espace vertical entre les lignes */
}

.product-mini-card {
    transition: all 0.3s ease;
}

/* =========================================
   SECTION COMMANDER (Tarifs)
   ========================================= */
.price-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--main-pink);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price-box h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

.price-box li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    justify-content: space-between;
}

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.contact-link {
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--text-pink);
}

.bi { 
    font-size: 2rem; 
}


/* --- Animation Header --- */
.navbar-brand .brand-name {
    transition: 0.3s;
}
.navbar-brand:hover .brand-name {
    color: var(--text-pink);
}

/* --- Sliders Avis Infinis --- */
@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes slideReverse {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.logos {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
}

.logos-slide {
    display: inline-block;
    animation: 100s slide infinite linear;
}

.logos-slide.reverse {
    animation: 100s slideReverse infinite linear;
}

.avis-card {
    display: inline-block;
    width: 350px;
    background: white;
    margin: 0 20px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--main-pink);
    vertical-align: top;
    white-space: normal; /* Permet au texte de revenir à la ligne */
}

.stars { color: #FFD700; font-size: 1.2rem; }
.text-avis { font-style: italic; font-size: 0.95rem; margin-bottom: 10px; }
.pseudo { font-weight: 600; color: var(--text-pink); display: block; text-align: right; }

/* --- Section Créations --- */
.creation-img {
    height: 350px; /* Ajuste la hauteur selon ton envie */
    object-fit: cover; /* Recadre l'image proprement sans la déformer */
    transition: transform 2s ease;
}

.creation-img:hover {
    transform: scale(1.05);
}

.creation-container {
    overflow: hidden; /* Pour que le zoom reste dans le cadre */
    border-radius: 10px;
}


/* --- Styles Section À Propos --- */
.border-pink {
    border-color: var(--text-pink) !important;
    border-width: 4px !important;
}

.custom-list li {
    font-size: 1.1rem;
}

.italic {
    font-style: italic;
}

/* On s'assure que les titres de sections sont bien espacés */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--main-pink);
}

#a-propos .section-title::after {
    left: 0;
    transform: none;
}

.border-pink-soft {
    border: 1px solid var(--dark-pink);
    font-weight: 400;
    font-size: 0.9rem;
}

.bg-light-pink {
    background-color: #fdf6f7 !important;
}

#a-propos .badge {
    border-radius: 50px; /* Donne un aspect arrondi moderne */
    transition: 0.3s;
}

#a-propos .badge:hover {
    background-color: var(--main-pink) !important;
    transform: scale(1.05);
}