/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style global */
body {
    font-family: 'Arial', sans-serif;
    background-color: #091975; /* Bleu nuit */
    color: white;
}

/* Barre de navigation */
.navbar {
    background-color: #040d3d; /* Bleu nuit */
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff7f50; /* Couleur au survol */
}

/* Section d'introduction */
.intro {
    height: 100vh;
    background: url('https://example.com/dépannage-image.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.intro-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff7f50;
    padding: 12px 25px;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e76f3c;
}

/* Section des services */
.services {
    padding: 60px 20px;
    text-align: center;
    background-color: #1f1f1f;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-card {
    display: inline-block;
    width: 30%;
    padding: 20px;
    background-color: #2d2d2d;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    color: #bbb;
}

/* Section À propos */
.about {
    padding: 60px 20px;
    text-align: center;
    background-color: #333;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Contact */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #2d2d2d;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    padding: 12px;
    background-color: #ff7f50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:hover {
    background-color: #e76f3c;
}

/* Pied de page */
footer {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}