/*--------------------------------------------------------------
# Variables de Style
--------------------------------------------------------------*/
:root {
  --primary-color: #8B4513; /* Un marron "SaddleBrown", évoque le bois, la terre, l'artisanat */
  --secondary-color: #FCFBF8; /* Un blanc cassé très clair et chaud pour le fond principal */
  --text-color: #3D2B1F; /* Un marron foncé "Mummy's Tomb" pour le texte */
  --light-bg-color: #EADED8; /* Une teinte terracotta douce et poudrée pour les sections */
  --white-color: #FFFFFF;
  --playfair-font: 'Playfair Display', serif;
  --lato-font: 'Lato', sans-serif;
}

/*--------------------------------------------------------------
# Styles Généraux
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--lato-font);
  color: var(--text-color);
  background-color: var(--secondary-color);
  /* Ajoute un padding en haut du corps pour éviter que le contenu
     ne soit caché par la barre de navigation fixe */
  padding-top: 70px;
}

/*--------------------------------------------------------------
# Typographie
--------------------------------------------------------------*/
/*a. {
   font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary-color);
    opacity: 0.9;
}
*/

h1, h2, h3, h4, h5, h6, .navbar-brand, .card-title {
  font-family: var(--playfair-font);
  font-weight: 700;
  color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

h2 {
    font-size: 2.8rem;
}

p.lead {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--white-color);
    opacity: 0.9;
}

/*--------------------------------------------------------------
# Barre de Navigation
--------------------------------------------------------------*/
.navbar {
  transition: all 0.3s ease-in-out;
  /* Fond semi-transparent avec effet de flou pour un look moderne */
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.8rem;
}

.nav-link {
  font-family: var(--lato-font);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-color) !important;
  margin: 0 10px;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Soulignement animé pour l'élément actif ou survolé */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link.active,
.nav-link:hover {
    color: var(--primary-color) !important;
}

/*--------------------------------------------------------------
# Section Héros (Accueil)
--------------------------------------------------------------*/
.hero-section {
    /* Image de fond avec un filtre sombre pour la lisibilité du texte */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('mariage.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    height: 95vh; /* Hauteur de la section */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    color: var(--white-color);
}

/* Amélioration de la phrase d'accroche */
.hero-section .highlight-text {
    font-style: italic;
    font-weight: 400; /* Police plus légère pour un contraste subtil */
    display: inline-block; /* Permet d'appliquer padding et position relative */
    margin-top: 10px;
    position: relative;
    padding-bottom: 15px;
}

.hero-section .highlight-text::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
    padding: 80px 0;
}

#catalogue {
    background-color: var(--white-color);
}

#a-propos {
    background-color: var(--light-bg-color);
}

/*--------------------------------------------------------------
# Boutons
--------------------------------------------------------------*/
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-family: var(--lato-font);
    font-weight: 400;
    font-size: 1.1rem;
    border-radius: 50px; /* Boutons arrondis pour un style plus doux */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #A0522D; /* Un marron un peu plus clair au survol */
    border-color: #A0522D;
    transform: translateY(-3px); /* Effet de soulèvement */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/*--------------------------------------------------------------
# Cartes (Catalogue)
--------------------------------------------------------------*/
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-img-top {
    height: 250px;
    object-fit: cover; /* Assure que l'image remplit l'espace sans être déformée */
}

.card-body {
    padding: 25px;
    text-align: center;
}

/*--------------------------------------------------------------
# Formulaire de Contact
--------------------------------------------------------------*/
.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
}

/*--------------------------------------------------------------
# Section Contact (Améliorée)
--------------------------------------------------------------*/
.contact-info-box {
    background-color: var(--white-color);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 20px;
}

.contact-info-box h4 {
    font-family: var(--playfair-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-info-box a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-box a:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background-color: var(--light-bg-color) !important;
    color: var(--text-color);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}