/* styles.css */

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

/* Typographie */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: white; /* Changer la couleur du texte en blanc */
    background-color: #333333; /* Couleur de fond gris foncé */
}

/* En-tête */
header {
    background-color: #444;
    color: white;
    padding: 1em 0;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    margin: 0;
}

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

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Parallax sections */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

#home {
    background-image: url('https://i.ibb.co/H2srhGY/ITER.jpg');
}

#services {
    background-image: url('https://i.ibb.co/H2srhGY/ITER.jpg');
}

/* Conteneur principal */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* À propos */
.about-content {
    display: flex;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    margin-right: 20px;
}

.about-image {
    flex: 1;
}

/* Services */
.services {
    display: flex;
    justify-content: space-between;
}

.service {
    flex: 1;
    margin-right: 20px;
}

.service:last-child {
    margin-right: 0;
}

/* Galerie */
.gallery-images {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gallery-images img {
    max-width: 100%;
    height: auto;
    border: 2px solid white;
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

/* Contact */
.contact-info {
    text-align: center;
}

/* Pied de page */
footer {
    background-color: #444;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Bouton retour en haut */
#back-to-top, #quote-request {
    display: none; /* Par défaut, caché */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
}

#back-to-top {
    right: 80px; /* Ajuster la position pour éviter la superposition */
}

/* Style du modal */
.modal {
    display: none; /* Par défaut, caché */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Fond semi-transparent */
}

.modal-content {
    background-color: #444;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    color: white;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#quote-form label {
    display: block;
    margin-bottom: 8px;
}

#quote-form input,
#quote-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#quote-form button {
    background-color: #444;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#quote-form button:hover {
    background-color: #333;
}

