/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Futura', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #000;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Futura', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
 
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
/* Layout Sections */
.section {
    width: 100%;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.fullscreen {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.fullscreen:first-child {
    background-color: #000;
    color: #fff;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.section-with-image {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    position: relative;
}

.section-with-image .text-content {
    top:90%;
    width: 50%;
    text-align: left;
    position: absolute;
}
.text-content02 {
    width: 40%;
    text-align: left;
}
.text-content03, .text-content04  {
    bottom: 0;
    width: 50%;
    text-align: left;
    position: absolute;
    display: flex;
}
.text-content03 h2, .text-content04 h2{
    background-color: #fff;
    color: #000;
    padding:10px 20px;
}
.section03 {
    background-image: url("/images/arsho-artiste-peintre-fresque04.webp");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    background-attachment: fixed;
    z-index: -1;
}
.section-with-image .image-content {
    position: absolute;
    right: 5%;
    top: 75%; /* Ajustez selon le besoin */
    width: 20%;
    height: auto;
    z-index: 0;
}
.image-content02 {
    position: absolute;
    right: 26%;
    bottom: 0;
    width: 20%;
    height: auto;
    z-index: -1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.h1-typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    width: 0;
    animation: typewriter 3s steps(30, end) forwards, blink 0.8s infinite;
}

.bottom-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: auto;
}
.section05 {
    background-image: url("/images/arsho-artiste-peintre-fresque05.webp");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    filter: grayscale(100%); /* Définir en noir et blanc */
    transition: filter 1s ease-in-out;
}
.blackcontent{
    background-color: #fff;
    color: #000;
    padding: 40px;
    margin: 20px;
}
.gallery {
    text-align: center;
    padding: 50px 0;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}
.section05.in-view {
    filter: grayscale(0%); /* Retire le noir et blanc lorsqu'on arrive dessus */
}
.bg-image {
    background-image: url("/images/arsho-artiste-peintre-fresque01.webp");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    background-attachment: fixed;
}
#contact{
    background-color: #000;
    color:#fff;
    padding: 50px 0;
}
.bg-image .content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}
.galerie {
    background-image: url("/images/arsho-artiste-peintre-fresque06.webp");
    background-size: 40%; /* Définit la taille du background à 40% */
    background-position: bottom right; /* Place le background en bas à droite */
    background-repeat: no-repeat; /* Évite la répétition de l'image */
}
#email{
    background-color: #fff;
    color: #000;
    padding: 5px 10px;
    text-decoration: none;
}
/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    p {
        font-size: 0.85rem;
    }
    .section-with-image {
        flex-direction: column;
        text-align: center;
    }
    .section-with-image .text-content {
        width: 100%;
    }
    .section-with-image .image-content {
        width: 80%;
        position: relative;
        top: 0;
    }
}

/* Ensure images and containers fit within smaller screens */
img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.trusted-by {
    text-align: center;
    padding: 50px 0;
}

.trusted-by h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logos-container img {
    max-width: 150px; /* Ajuste selon tes besoins */
    height: auto;
    filter: grayscale(100%); /* Effet noir & blanc */
    transition: filter 0.3s ease-in-out;
}

.logos-container img:hover {
    filter: grayscale(0%); /* Affiche la couleur au survol */
}

/* Responsive */
@media (max-width: 768px) {
    .logos-container {
        flex-direction: column;
        gap: 20px;
    }

    .logos-container img {
        max-width: 120px;
    }
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button.btn {
    background-color: #000;
    color: white;
    padding: 10px 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button.btn:hover {
    background-color: #333;
}

/* Message de confirmation */
#confirmation {
    display: none;
    color: green;
    font-size: 1.2rem;
    margin-top: 15px;
}