/* --- Variables de couleurs --- */
:root {
    --bg-color: #FCF9F9; /* Blanc très légèrement rosé pour le fond */
    --powder-pink: #F4E1E6; /* Rose poudré */
    --gold: #D4AF37; /* Doré */
    --text-dark: #4A4042; /* Gris-brun foncé pour la lisibilité */
    --text-light: #ffffff; /* Blanc */
}

/* --- Reset de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* --- En-tête et Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--powder-pink);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    color: var(--gold);
    font-style: italic;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--gold);
}

/* --- Section Accueil (Hero) --- */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--powder-pink) 100%);
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--gold);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    border-radius: 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--text-light);
}

/* --- Section Portfolio --- */
.gallery-section {
    padding: 80px 50px;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

/* Petite ligne dorée sous le titre */
.gallery-section h2::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: var(--gold);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Effet au survol des images */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 225, 230, 0.85); /* Rose poudré transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.overlay p {
    color: var(--gold);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* --- Pied de page --- */
footer {
    background-color: var(--powder-pink);
    padding: 60px 20px;
    text-align: center;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

footer p {
    margin-bottom: 30px;
}

.copyright {
    margin-top: 50px;
    font-size: 0.8rem;
    color: #888;
}

/* --- Responsive (Mobiles) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .gallery-section {
        padding: 50px 20px;
    }
}