/* Styles généraux */
/*ELCETROLAG*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('img/fond/unnamed.jpg'); /* Chemin vers votre image de fond */
    background-size: cover;
    color: #ffffff;
}

header {
    position: relative;
    background-color: #77E2FF;
    color: #ffffff;
    
}


/*logo*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 25px;
    border-radius : 80px 80px / 50px 50px;
}

img{
    padding: 15px;
}

.banner {
    text-align: center;
    padding: 10px 0;
}

h2{
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 30px;
}

nav {
    background-color: #089AC1;
    padding: 20px 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

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

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4d4c4c;
}

section {
    padding: 40px 20px;
}

/* Nouveau style pour aligner les images */
.serviceac p{
    font-size: 50px;
    text-align: center;
    color: white;
    font-weight: bold;
}

#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px;
}

.service {
    background-color: #5DBBD4;
    color: whitesmoke;
    text-align: center;
    padding: 30px;
    margin: 20px;
    border-radius: 10px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service img {
    width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}


.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
}

.info p{
    text-align: center;
    padding-left: 150px;
    padding-right: 150px;
}

.info{
    background-color: #424242;
}
/* Footer */

/*tout le footer*/
.footer1{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer {
    background-color: #77E2FF;
    color: #fff;
    padding: 50px 0;
    margin-top: 185px;
}
/*contenue du footer*/
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

.footer-section h2 {
    margin-bottom: 15px;
}
/*info*/
.footer-section.about .logo {
    font-size: 2em;
    margin-bottom: 10px;
}

.contact span {
    display: block;
    margin-bottom: 10px;
}

.socials a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 20px;
}

.links ul {
    list-style: none;
    
}

.links ul li {
    margin-bottom: 10px;
    padding: -40px;
}

.contact-form .text-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.logo {
    max-width: 250px; 
    height: auto;
}

.contact-form textarea {
    height: 100px;
}

.contact-btn {
    background-color: #424242;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

a{
    text-decoration: none;
    color: white; 
}

.footer-bottom {
    background-color: #77E2FF;
    text-align: center;
}






/*agrandisement image*/
.image-container {
    width: 300px;
    overflow: hidden;
  }
  
  .clickable-image {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  button {
    background-color: #089AC1;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  

  .hidden {
    display: none;
  }
  
  #extraInfo {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #007BFF;
    border-radius: 5px;
    background-color: #089AC1;
  }

  

  .carousel {
    position: relative;
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease-in-out; /* Safari support */
}

.carousel-item img {
    width: 100%;
    display: block;
    
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}



.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


  