/* --- 1. Variables & Overrides Bootstrap --- */
:root {
    --primary-color: #eecabb;
    --secondary-color: #865a17;
    --text-color: #333;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Quicksand', sans-serif;

	/* Injection dans Bootstrap */
	--bs-primary: var(--primary-color);
	--bs-secondary: var(--secondary-color);
	--bs-body-color: var(--text-color);
	--bs-body-font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--font-title);
	color: var(--secondary-color);
}

/* --- 2. Header & Navbar --- */
body { padding-top: 96px; }
main { padding-top: 0.75rem; }
@media (max-width: 991.98px){
	body { padding-top: 104px; }
}

.navbar {
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	background-color: #fff !important;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

.logo-img { max-height: 56px; width: auto; display: block; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: 0 0 0 0.1rem var(--primary-color); }
.offcanvas-title { font-family: var(--font-title); color: var(--secondary-color); font-size: 1.5rem; }
.nav-link { font-size: 1.1rem; font-weight: 400; color: #555; transition: color 0.3s ease; }
.nav-link:hover, .nav-link.active { color: var(--secondary-color) !important; }

/* --- 3. Sections & Contenu --- */
#hero { padding: 6rem 0 5rem; }
#hero .hero-title { font-size: 3.2rem; color: var(--secondary-color); }
#hero .hero-subtitle { font-size: 1.25rem; font-weight: 400; color: #555; }
#hero .hero-image img { max-height: 420px; object-fit: cover; }
.cta-button { background-color: var(--secondary-color); color: #fff; padding: 1rem 2rem; border-radius: 5px; font-weight: 700; text-decoration: none; display: inline-block; border: none; transition: background-color 0.3s ease, transform 0.2s ease; }
.cta-button:hover { background-color: #a06b1c; color: #fff; transform: translateY(-2px); }

/* Section de bienvenue sous le hero */
#welcome { background-color: #fdfaf6; }

.page-header { margin-bottom: 3rem; }
.page-header h2 { font-size: 2.5rem; }

/* Services - sans image de fond derrière les cards */
.services { position: relative; padding: 3rem 0; background: none; }
.services::before { display: none; }
.services .container, .services-grid, .service-category, .service-category * { position: relative; z-index: 1; }

.service-category { padding: 2rem; border-left: 5px solid rgba(255,255,255,0.35); color: #fff; background: rgba(0,0,0,0.25); border-radius: 8px; backdrop-filter: blur(1px); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.service-category h3 { color: #fff; margin-bottom: 1rem; }
.service-category ul { margin: 0; }
.service-category h3 { color: #fff; }
.service-category ul li { color: #fff; }
.service-category ul { list-style-type: none; padding-left: 0; }
.service-category ul li { margin-bottom: 0.8rem; }

/* Contact */
.contact-info { background-color: #f9f9f9; padding: 2rem; height: 100%; }
.contact-info p { line-height: 1.7; }

/* --- 4. Footer --- */
footer { background-color: #f8f8f8; color: #555; border-top: 1px solid #ddd; }
footer a { color: #555; font-weight: bold; text-decoration: none; }
footer a:hover { color: var(--secondary-color); }

/* --- 5. Galerie avec Légendes --- */
.gallery-card { width: 100%; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; display: flex; flex-direction: column; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.gallery-image-container { overflow: hidden; }
.gallery-image-container { cursor: pointer; }

/* --- 6. Page Tarifs (Version avec fonds) --- */
.tarifs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tarif-category { padding: 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; overflow: hidden; background-size: cover; background-position: center; }
#tarif-coiffure { background-image: url('../img/bg-coiffure.jpg'); }
#tarif-esthetique { background-image: url('../img/bg-esthetique.jpg'); }
.tarif-category::before { content: ''; position: absolute; inset: 0; background-color: rgba(255,255,255,0.85); z-index: 1; }
.tarif-category > * { position: relative; z-index: 2; }
.tarif-category h3 { font-family: var(--font-title); color: var(--secondary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; margin-bottom: 1.5rem; display: inline-block; }
.tarif-category .list-group-item { background-color: transparent; border-color: rgba(134,90,23,0.15); padding: 1rem 0.5rem; font-size: 1.1rem; }
.tarif-prix { font-weight: 700; color: var(--secondary-color); font-size: 1.1rem; font-family: var(--font-body); }
@media (max-width: 992px) { .tarifs-grid { grid-template-columns: 1fr; } }
.gallery-card img { display: block; width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-caption { padding: 1rem; text-align: center; border-top: 1px solid #f0f0f0; }
.gallery-caption p { margin: 0; color: var(--secondary-color); font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; }


