/* Règles générales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
}

.top-bar {
    background-color: #444;
    padding: 15px 0;
}

.phone-button {
    color: white;
    font-size: 24px;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #007BFF;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.phone-button:hover {
    background-color: #0056b3;
}

nav ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.hero {
    background-image: url(./paysagesdesbaux_06_jb_4.jpg); /* Remplacer par l'image souhaitée */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    /*opacity: 0;*/
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

/* Sections de contenu */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about, .services, .cta {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #444;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* Bloc de services */
.blocks-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.block {
    background-color: #e7e7e7;
    padding: 20px;
    width: calc(33.333% - 20px);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.block h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.block p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* CTA Section */
.cta {
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.cta p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer-email {
    font-size: 18px;
    margin-top: 10px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Animation */
.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blocks-container {
        flex-direction: column;
    }
    
    .block {
        width: 100%;
    }

    .phone-button {
        font-size: 18px;
    }
}
/* Animation pour les éléments en fondu */
.fade-in, .block, .phone-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible, .block.visible, .phone-button.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Style général pour garder la cohérence du design */
.simple-header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.simple-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: normal;
    color: #ffffff;
}

/* Style du formulaire de contact */
.contact-form-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}

input, textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #f7f7f7;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

#formFeedback {
    margin-top: 15px;
    font-size: 14px;
    color: green;
    text-align: center;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 15px;
    }

    button {
        font-size: 14px;
    }

    input, textarea {
        font-size: 14px;
    }
}

/* Style du bouton de contact */
.contact-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.contact-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.contact-button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Header simple */
.simple-header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.simple-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: normal;
}

/* Section des mentions légales */
.legal-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.legal-section h2, .legal-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Lien des mentions légales dans le footer */
.legal-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.legal-link:hover {
    text-decoration: underline;
}

/* Section de présentation */
.about-me-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-me {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.about-photo img {
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-me {
        flex-direction: column;
        text-align: center;
    }

    .about-photo img {
        max-width: 150px;
        margin-top: 20px;
    }
}
