/* Styles de base */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

h1 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    padding: 20px 0 20px;
}
h2 {
    font-family: 'Roboto', sans-serif;
    color: #444;
    margin: 0 0 20px;
}
h3 {
    font-family: 'Roboto', sans-serif;
    color: #444;
    margin: 0 0 20px;
    padding-top: 20px;
}
a {
    color: #008cba;
    text-decoration: none;
}

header.hero {
    position: relative;
    height: 90vh;
    background: url('/public/peintre-en-batiment-vitry-le-francois-st-dizier-bar-le-duc.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

header.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 20px 0;
}

.btn-primary {
    padding: 10px 20px;
    background: #008cba;
    color: white;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #005f73;
}
/* From Uiverse.io by Rodrypaladin */ 
.button2 {
    font-size: 2em;
    padding: 10px 20px;
    background-color: transparent;
    transition: all 0.2s ease-out;
    border: none;
  }
  
  .button__span {
    color: #131313;
    transition: all 0.2s ease-out;
    padding: 20px 20px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.6);
    letter-spacing: .15em;
    text-shadow: 1px -1px 0 #767676, 
        -1px 2px 1px #737272, 
        -2px 4px 1px #767474, 
        -3px 6px 1px #787777;
  }
  
  .button__span:hover {
    text-shadow: -1px -1px 0 #767676, 
        1px 2px 1px #737272, 
        2px 4px 1px #767474, 
        3px 6px 1px #787777;
  }
  
  .button:active .button__span {
    text-shadow: none;
  }
.main-nav {
    background: #fff;
    padding: 15px 0;
    transition: background 0.3s ease;
}

.label {
    display: none;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    display: inline;
    margin: 0 20px;
}

.main-nav ul li a {
    color: #0b1213;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.main-nav ul li a:hover {
    font-size: 18px;
    transform: scale(1.1);
    padding-bottom: 5px;
    border-bottom: 2px solid #1fc2e8;
    text-decoration: none;
}

.logo {
    width: 150px; /* Réduire la taille du logo */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrer le logo horizontalement */
    padding-bottom: 30px;
}

article p {
    margin: 30px 30px;
}

article h3 {
    text-transform: uppercase;
}
.services-section, .contact-section {
    padding: 60px 0;
    text-align: center;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-list article {
    flex: 1 1 45%;
    margin: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-list article:hover {
    transform: translateY(-10px);
}

.service-list img {
    width: 100%;
    height: auto;
    display: block;
}

.zone-section {
    position: relative;
    color: #333;
    padding: 100px 0;
    text-align: center;
}

.zone-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin: -10px;
}


.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
    position: relative;
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px;
    position: relative;
}
#lottie {
    width: 100%;
    height: auto;
    z-index: 12;
    padding: 0;
    margin: 0;
}
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.call-button a {
    color: white;
    font-size: 24px;
}


.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.call-button a {
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.call-button a:hover {
    color: black;
}

.call-button a i {
    font-size: 24px;
}

hr {
    height: 20px;
    border: none;
    background-color: #333;
 }

 @media (min-width: 768px) {
    .call-button {
        display: none;
    }}
@media (max-width: 768px) {
    .main-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 12;
    }

    .main-nav ul.active {
        display: flex;
    }

    .logo {
        padding-bottom: 0px;
    }

    .hamburger {
        display: block;
    }
    .label {
        display: block;
        opacity: 0.9;
        margin-left: 15px;
        margin-top: 45px;
        transition: all 0.3s ease;
    }

    .main-nav ul.active ~ .label {
        opacity: 0;
    }

    header.hero h1 {
        font-size: 2.5rem;
    }

    header.hero p {
        font-size: 1.2rem;
    }

    .service-list {
        flex-direction: column;
    }

    .service-list article {
        flex: 1 1 100%;
    }

    .main-nav ul li {
        display: block;
        margin: 10px 0;
    }
}
