/* Variables CSS */
:root {
    --color-cream: #f8f3e9;
    --color-blue: #a3c6d9;
    --color-pink: #f5b7b1;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Base */
/* Réinitialisation des marges, padding et box-sizing pour tous les éléments */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Définition du comportement de défilement de la page */
html {
    scroll-behavior: smooth;
}

/* Styles de base pour le corps de la page */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
}

/* Styles de base pour les liens */
a {
    text-decoration: none;
    color: inherit;
}

/* Styles pour les titres */
h1, h2, h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Header & Navigation */
/* Styles pour l'en-tête fixe */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-cream);
    box-shadow: 0 2px 10px rgba(163, 198, 217, 0.3), 0 2px 10px rgba(245, 183, 177, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

/* Styles pour la navigation */
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Styles pour le logo */
.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--color-pink);
}

/* Styles pour les liens de navigation */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 7px;
}

.nav-links a:hover {
    color: var(--color-pink);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--color-blue), var(--color-pink));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Styles pour le bouton de menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Sections */
/* Styles de base pour les sections */
section {
    padding: 5rem 2rem;
    /*min-height: 100vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.short-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Styles pour le conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
/* Styles pour la section d'accueil */
#accueil {
    padding-top: 6rem;
    min-height: 100vh;
    background: transparent;
}

/* Styles pour le conteneur de diaporama */
.slider-container {
    width: 100%;
    height: calc(100vh - 6rem);
    position: relative;
    overflow: hidden;
}

/* Styles pour les diapositives */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Styles pour le contenu des diapositives */
.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    max-width: 500px;
    border-radius: 10px;
}

/* Galerie Section */
/* Styles pour la section de galerie */
#galerie {
    background: linear-gradient(135deg, var(--color-blue), var(--color-pink));
    color: white;
}

/* Tarifs Section */
/* Styles pour la section des tarifs */
#tarifs {
    background-color: var(--color-cream);
}

/* Styles pour la grille d'informations */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.info-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Styles pour la liste des fonctionnalités */
.feature-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 1.2rem;
    color: var(--color-pink);
    margin-right: 1rem;
    min-width: 25px;
}

/* Styles pour le tableau des prix */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.price-table th, .price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-table th {
    background-color: rgba(163, 198, 217, 0.3);
}

.price-table tr:hover {
    background-color: rgba(245, 183, 177, 0.1);
}

/* Formulaire Section */
/* Styles pour la section de formulaire */
#formulaire {
    background: white;
}

/* Styles pour le conteneur de formulaire */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-cream);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Styles pour les groupes de formulaire */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    color: var(--color-pink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
}

/* Styles pour la grille de formulaire */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Styles pour les groupes de formulaire en pleine largeur */
.form-group.full-width {
    grid-column: span 2;
}

/* Styles pour les boutons */
.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--color-blue), var(--color-pink));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
/* Styles pour le pied de page */
footer {
    background: #333;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

/* Styles pour le contenu du pied de page */
.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Styles pour les informations du pied de page */
.footer-info {
    margin-bottom: 2rem;
}

.footer-info h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-info h3 i {
    margin-right: 10px;
    color: var(--color-pink);
}

.footer-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info p i {
    margin-right: 10px;
    min-width: 20px;
}

/* Styles pour la grille des icônes sociales dans le pied de page */
.social-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Styles pour les éléments sociaux dans le pied de page */
.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem; /* Utilisez rem pour une taille relative */
    height: 4.5rem; /* Utilisez rem pour une taille relative */
    border-radius: 50%;
    background-color: white;
    transition: background-color 0.3s, transform 0.3s;
}

.social-item i {
    font-size: 2.5rem; /* Ajustez la taille de la police pour les icônes */
}

.social-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #333;
    transition: color 0.3s;
}

.social-item a:hover {
    color: var(--color-pink);
}

.social-item:hover {
    background-color: var(--color-cream);
    transform: scale(1.1);
}


/* Responsive Design */
@media (max-width: 768px) {
    .social-item {
        width: 2rem;
        height: 2rem;
    }

    .social-item i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-item {
        width: 1.5rem;
        height: 1.5rem;
    }

    .social-item i {
        font-size: 1rem;
    }
}

/* Styles pour les droits d'auteur */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright i {
    margin-right: 8px;
    color: var(--color-pink);
}

.copyright a {
    color: var(--color-cream);
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--color-pink);
}

/* Services */
/* Styles pour la grille des services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Styles pour les cartes de service */
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Styles pour les icônes de service */
.service-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-blue), var(--color-pink));
    color: white;
    font-size: 3rem;
}

/* Styles pour le contenu des services */
.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Responsive */
/* Styles pour les écrans de taille moyenne */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Styles pour les écrans de taille petite */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav {
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--color-cream);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right 0.3s;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 4rem 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les écrans de très petite taille */
@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Message alert */
/* Styles pour les alertes de message */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Style pour le lien de l'email */
.email-link {
    color: var(--color-pink); /* Utilise la variable CSS pour la couleur rose */
    text-decoration: none; /* Supprime la décoration par défaut du lien */
}

.email-link:hover {
    text-decoration: underline; /* Ajoute une décoration au survol */
}

/* Style pour les liens de contact */
.contact-link {
    color: var(--color-pink); /* Utilise la variable CSS pour la couleur rose */
    text-decoration: none; /* Supprime la décoration par défaut du lien */
}

.contact-link:hover {
    text-decoration: underline; /* Ajoute une décoration au survol */
}