/* Styles globaux */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1F8E9;
    color: #37474F;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #00897B, #004D40);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin: 0;
}

nav {
    background-color: #004D40;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #00ACC1;
    transform: scale(1.1);
}

/* Conteneur principal */
.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Galerie photos */

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background-color: #F1F8E9;
    margin-bottom: 20px;
}

.gallery img {
    max-width: 150px;
    height: auto;
    margin: 10px;
    border: 2px solid #00897B;
    border-radius: 5px;
    background-color: white;
    padding: 3px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Témoignages */

.testimonial-container {
    margin-top: 30px;
    max-height: 700px;
    overflow-y: auto;
    text-align: left;
    padding-right: 10px;
}

.testimonial {
    margin-bottom: 10px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.testimonial h3 {
    font-size: 1.3rem;
    color: #00897B;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 8px;
}

.star {
    font-size: 1.4rem;
    color: #FFD700;
}

/* Bouton principal */

.btn-primary {
    display: inline-block;
    margin: 20px auto;
    padding: 12px 24px;
    background-color: #00897B;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #00695C;
}

/* Formulaire */

form {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    box-sizing: border-box;
    text-align: left;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 8px 12px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

button {
    background-color: #00897B;
    color: white;
    border: none;
    padding: 12px 24px;
    margin-top: 25px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00695C;
}

.erreur {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

/* Flex layout pour inputs côte à côte */

.flex-group {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.form-group {
    flex: 1;
}

form button {
    display: block;
    margin: 25px auto 0 auto;
}

/* Centre le captcha Google reCAPTCHA */

.g-recaptcha {
    display: flex !important;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Section contact spécifique */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: Arial, sans-serif;
}

.contact-container h2 {
    color: #00897B;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-container p {
    font-size: 1.2rem;
    color: #37474F;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-info p strong {
    color: #0066cc;
    font-size: 1.2rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    font-size: 1.2rem;
    gap: 10px;
}

.contact-info .contact-item i {
    font-size: 1.5rem;
    color: #00897B;
}

.contact-info a {
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ff6600;
}

/* Animation mail (à adapter si tu veux) */
.mail-animation {
    font-size: 4rem;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mail-animation .letter {
    animation: float 3s ease-in-out infinite;
}

.mail-animation .mailbox {
    animation: bounce 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Footer */

footer {
    background-color: #004D40;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Services section */

.services {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service h3 {
    color: #00897B;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.service p {
    color: #555;
    line-height: 1.4;
}

.gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* autres styles */
}

.gallery img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 90vw;
    max-height: 90vh;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1000;
    cursor: zoom-out;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 5px solid #00897B;
    border-radius: 10px;
    background-color: #F1F8E9; /* <- fond beige clair */
    padding: 10px;
}

