/* ===========================================
   FLORENCE PHILIPPE PÂTISSERIE - STYLES CSS
   ===========================================
   
   GUIDE D'ÉDITION RAPIDE:
   - Couleur rose principale: #d4a5a5
   - Couleur rose foncé (hover): #c17a7a
   - Fond rose clair: #f3dfcb
   - Police titres: 'Magnolia Script' (ou cursive)
   - Police texte: 'Cormorant Garamond'
   
=========================================== */

/* ----- Police Magnolia Script ----- */
@font-face {
    font-family: 'Magnolia Script';
    src: url('https://fonts.cdnfonts.com/s/15547/Magnolia-Script.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ----- NAVIGATION ----- */
.navbar {
    background-color: #d4a5a5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.nav-link {
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b5a5a;
}

.nav-link.active {
    color: #8b5a5a;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #fdf8f8;
    color: #c17a7a;
}

/* ----- HERO SECTION (Page d'accueil) ----- */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero-subtitle {
    font-family: 'Magnolia Script', cursive;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.hero-tagline {
    font-family: 'Magnolia Script', cursive;
    font-size: 1.5rem;
    font-weight: normal;
}

/* ----- SECTION TITRES ----- */
.section-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 4rem;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.section-divider {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section-divider span {
    width: 100px;
    height: 1px;
    background-color: #ccc;
}

.section-description {
    font-style: 'Magnolia Script';
    font-size: 1.2rem;
	text-align: center;
    max-width: 850px;
    margin: 0 auto 40px;
    color: #666;
    padding: 0 20px;
}

/* ----- GALERIE DE CRÉATIONS ----- */
.creations-section {
    padding: 60px 20px;
    background: white;
}

.creations-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.creation-card {
    flex-shrink: 0;
    width: 250px;
    text-align: center;
}

.creation-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.creation-card:hover img {
    transform: scale(1.05);
}

.creation-card .link {
    display: inline-block;
    margin-top: 10px;
    color: #c17a7a;
    border-bottom: 1px solid #c17a7a;
    font-size: 14px;
}

/* ----- SECTIONS CATÉGORIES (Accueil) ----- */
.categories-section {
    padding: 40px 20px;
    background: #fdf8f8;
}

.category-block {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 40px 0;
    border-bottom: 1px solid #e8e8e8;
}

.category-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-block.reverse {
    flex-direction: row-reverse;
}

.category-image {
    flex: 1;
    text-align: center;
}

.category-image img {
    max-width: 450px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-content {
    flex: 1;
}

.category-title-bg {
    font-family: 'Magnolia Script', cursive;
    font-size: 3.5rem;
    color: #e8c4c4;
    opacity: 0.5;
    margin-bottom: -30px;
    font-weight: normal;
}

.category-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.category-description {
    background: rgba(255,255,255,0.8);
    padding: 25px;
    border: 1px solid rgba(232,196,196,0.3);
    border-radius: 4px;
    font-style: 'Magnolia Script';
    font-size: 1.2rem;
	color: #666;
    margin-bottom: 20px;
    white-space: pre-line;
}

.btn-discover {
    display: inline-block;
    background: #d4a5a5;
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: background 0.3s ease;
}

.btn-discover:hover {
    background: #c17a7a;
}

/* ----- PAGE CATÉGORIE (Bûches, Macarons, etc.) ----- */
.page-banner {
    height: 350px;
    background-size: cover;
    background-position: center;
}

.page-intro {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.page-logo img {
    width: 280px;
}

.page-info {
    flex: 1;
}

.page-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.page-description {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

/* ----- GRILLE DE PRODUITS ----- */
.products-section {
    background: #fdf8f8;
    padding: 60px 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212,165,165,0.2);
}

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

.product-info {
    padding: 25px;
}

.product-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: normal;
}

.product-description {
    font-style: italic;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ----- TÉMOIGNAGE ----- */
.testimonial-section {
    padding: 80px 20px;
    text-align: center;
    background: white;
}

.testimonial-quote {
    font-size: 4rem;
    color: #d4a5a5;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
}

.testimonial-author {
    color: #999;
}

/* ----- FOOTER ----- */
.footer-map {
    height: 400px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    background: white;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    color: #666;
    font-size: 14px;
}

.footer-top-btn {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-top-btn:hover {
    color: #c17a7a;
}

/* ----- BOUTON RETOUR ----- */
.back-home {
    text-align: center;
    padding: 40px 20px;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .category-block,
    .category-block.reverse {
        flex-direction: column;
    }
    
    .page-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-container {
        padding: 0 10px;
    }
}
