/* Variables pour les couleurs basées sur votre logo */
:root {
    --primary-color: #FFA07A; /* Une couleur orangée tirée du bandana et du t-shirt */
    --secondary-color: #5F9EA0; /* Une couleur tirée du cadre de la maison */
    --text-dark: #333;
    --text-light: #555;
    --background-light: #f9f9f9;
    --background-white: #fff;
    --border-color: #ddd;
    --button-hover: #ff7f50; /* Une version plus foncée du primaire */
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0;
    /*padding: 20px 0;*/
}

h1, h2, h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: var(--button-hover);
    text-decoration: none;
}

.section-padded {
    padding: 60px 0;
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.section-padded:nth-of-type(even) {
    background-color: var(--background-white);
}


/* Header */
header {
    background-color: var(--background-white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Pour la responsivité */
}

.logo {
    /*height: 60px; /* Ajustez la taille de votre logo */
	height: 150px; /* Ajustez la taille de votre logo */
    width: auto;
    margin-right: 20px;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.telephone {
    color: var(--secondary-color);
    font-weight: 1000;
    font-size: 3em;
    transition: color 0.3s ease;
}
/* Hero Section */
#hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('chemin/vers/image-hero.jpg') no-repeat center center/cover; /* Mettez une image de fond pertinente */
    text-align: center;
    padding: 30px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#hero h1 {
    font-size: 3.5em;
    color: var(--secondary-color); /* Utilisation de la couleur secondaire pour le titre principal */
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

#hero2 {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#hero2 h1 {
    font-size: 3.5em;
    color: var(--secondary-color); /* Utilisation de la couleur secondaire pour le titre principal */
    margin-bottom: 0px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.service-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Pour un look d'icône plus doux */
    border: 2px solid var(--primary-color);
    padding: 5px;
}

.service-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
}

/* Contact Section */
#contact {
    background-color: var(--background-light);
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: var(--text-light);
}

#contactForm {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical; /* Permet de redimensionner verticalement */
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

button[type="submit"]:hover {
    background-color: var(--button-hover);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px 10px 10px;
    }

    #hero h1 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
    }

    .service-item {
        padding: 20px;
    }

    #contactForm {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9em;
    }
}