:root {
    --primary-color: #2b7a78; /* Océan Teal */
    --secondary-color: #def2f1; /* Light Océan */
    --accent-color: #d8b08c; /* Bois/Accent */
    --text-color: #333333;
    --bg-color: #e6d7c3; /* Nouvelle couleur de base Sable chaud */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    /* Effet texture grain de sable généré en code */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: #eaddcf;
    /* Subtle wood-like pattern using SVG */
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.05" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.1"/></svg>');
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    border-bottom: 4px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container {
    background-color: var(--bg-color);
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid var(--accent-color);
}

.logo {
    height: 70px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for readability */
}

.hero-overlay {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 15px 25px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-overlay p {
    font-size: 1.2rem;
    background-color: var(--primary-color);
    padding: 8px 20px;
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #1f5a58;
    transform: translateY(-2px);
}

/* Container & Layout */
.container {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: #f4ede4;
    border-top: 1px solid #e0d5c1;
    border-bottom: 1px solid #e0d5c1;
}

h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item span {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-color);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--accent-color);
    text-align: center;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
	cursor: pointer;
}

.gallery-item p {
    font-weight: bold;
    color: var(--primary-color);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.pricing-table th, .pricing-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0d5c1;
}

.pricing-table th {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 1.1rem;
}

.pricing-table tr:nth-child(even) {
    background-color: #faf8f5;
}

/* Contact & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.img-responsive {
    width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: #eaddcf;
    text-align: center;
    padding: 40px 20px;
    border-top: 4px solid var(--accent-color);
}

.footer-content p {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    .logo-container {
        margin-bottom: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
}
/* =========================================
   Styles pour la Modale (Agrandissement Photo)
   ========================================= */
.modal {
    display: none; /* Cachée par défaut */
    position: fixed;
    z-index: 2000; /* Passe au-dessus du menu */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* Fond noir transparent */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation: zoom 0.3s ease-in-out;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color); /* Reprend la couleur sable/bois au survol */
    text-decoration: none;
    cursor: pointer;
}

/* Adaptation pour les téléphones */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 95%;
    }
    .close-modal {
        right: 15px;
        top: 10px;
    }
}