/* Base */

:root {
    --color-body: #fdfafa;

}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-body);
    margin: 0;
    background-color: white;
}

h1,
h2,
h3,
h4,
h6 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color:white;
    font-weight: 500;
    line-height: 1;
}

h1,
.h1 {
    font-size: 3.1rem;
}

h2,
.h2 {
    font-size: 2.8rem;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    color:white;
    margin: 50px;
    margin-top: 20px;
}

h3,
.h3 {
    font-size: 2.1rem;
    color:white;
    padding: 10px;
    margin-top: 20px;

}

.nav-link {
    text-decoration: none;
    color:white;
    font-weight: bolder;
    font-size: 1.5rem;

}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding-left: 2rem;
}

li {
    margin-bottom: 1rem;
}

.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
    
}


.category {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    color:black;
}

.container {
    padding: 1rem 2rem;
   
}

.d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: flex;
    flex-wrap: wrap;
}

.grid__item {
    flex-grow: 1;
    flex-shrink: 0;
    width: 100%;
    padding: 1rem;
}

@media screen and (min-width: 750px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .grid__item {
        max-width: 50%;
    }
}

*/
/* Sections */

section {
    padding: 5.5rem 0;
}

.section-title {
    margin-top: 10px;
    font-size: 3.8rem;
}

.section-header {
    text-align: center;
}

@media screen and (min-width: 750px) {
    .section-title {
        font-size: 4.8rem;
    }
}


.hero {
    background-color: hsl(330, 55%, 75%);
    background-size: cover;
    color:white;
    padding: 1rem 0 0 0;
}

.hero .title {
    color:white;
    font-size: 4rem;
    font-weight: 700;
}

.hero__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero__item span {
    text-transform: uppercase;
}

/* Animations hero */
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero__item.left {
    
    animation-duration: 2s;
    animation-name: slideInLeft;
    animation-fill-mode: both; /* conserve la position finale */
}

.hero__item.right {
    animation-duration: 2s;
    animation-name: slideInRight;
    animation-fill-mode: both;
}

/* Responsive : inverser ordre sur petit écran (déjà présent) */
@media screen and (max-width: 749px) {
  .hero__item.left {
    order: 2;
  }
  .hero__item.right {
    order: 1;
  }
}


.hero__avatar img {

    border-radius: 30%;
    padding-bottom: 70px;
}


@media screen and (min-width: 600px) {
    .hero__item {
        flex: auto;
        text-align: center;
        justify-content: end;
    }

    .hero__item.left {
        align-items: center;
        justify-content: center;
    }

    .hero .title {
        font-size: 5rem;
    }

    .hero__avatar img {
        max-width: 500px;
        border-radius: 20%;
    }
}

@media screen and (max-width: 749px) {
    .hero .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__item.left {
    order: 1; /* texte en haut */
    margin-bottom: 20px; /* espace sous le texte */
  }

  .hero__item.right {
    order: 2; /* image en dessous */
  }
}


.about {
   background-color: hsl(330, 50%, 75%);
    color:white;
}

#about h2 {
    margin-bottom: 50px;
}

.about .section-title {
    margin-top: 2.8rem;
}

.grid__item.left {
    animation-duration: 3s;
    animation-name: slideInRight;
}

.grid__item.right {
    animation-duration: 3s;
    animation-name: slideInRight;
}

@media screen and (min-width: 750px) {
    .about img {
        padding-right: 3rem;
        height: 700px;
        width: 550px;
    }
}

.services {
    background-color: hsl(330, 30%, 75%);
    margin: 0;
    padding: 0;
}

.service-svg {
    display: flex;
    align-items: center;
    gap: 10px;

}

.service-svg h3 {
    margin: 0;
}

.service__content__index {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
    /* limite la taille des cartes */
    height: 400px;
    border: 2px solid #ada8a8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #6e6c6c;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service__content__index:hover {
    transform: translateY(-10px);
}

.service-svg {
    margin-bottom: 15px;
}

.service-svg svg {
    margin-bottom: 10px;
    color: #fff;
}

.service__content__index h3 {
    margin-bottom: 10px;
}

.service__content__index a {
    flex-grow: 0;
}

.service__content__index a {
    color: #ffffff;
    /* liens en blanc */
    text-decoration: none;
    /* enlève le soulignement */
    transition: color 0.3s ease;
    margin-top: auto;
}

.service__content__index a:hover {
    color: #4d4c4a;
    /* couleur au survol, par exemple or */
}




/* Container général des services */
.service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    /* espace entre les cartes */
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Chaque carte */
.service__content {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
    /* limite la taille des cartes */
    height: 600px;
    border: 2px solid #ada8a8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #6e6c6c;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.service__content h3 {
    margin-bottom: 10px;
}

.service__content a {
    flex-grow: 0;
}

.service__content a {
    color: #ffffff;
    /* liens en blanc */
    text-decoration: none;
    /* enlève le soulignement */
    transition: color 0.3s ease;
    margin-top: auto;
}

.service__content a:hover {
    color: #4d4c4a;
    /* couleur au survol, par exemple or */
}


/* Titre et icône */
.service-svg {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.service-svg h3 {
    margin: 0;
}

/* Liens */
.service__content a {
    color: #ffffff;
    /* lien blanc */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.service__content a:hover {
    color: #5c5c5a;
    /* couleur au survol */
}

/* Listes à l'intérieur des cartes */
.service__content ul {
    padding-left: 20px;
}

.service__content ul li {
    margin-bottom: 5px;
}

.service__content ul li span {
    font-weight: bold;
}

.btn-view-more {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  background-color: hsl(330, 26%, 52%) !important;
   border-radius: 999px;
  text-decoration: none;
  border: 1px solid #555;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.4);
}

.btn-view-more:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #5a5a5a, #2c2c2c);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  color: #ffd28a;
}

.galerie{
    background-color: hsl(330, 3%, 75%);
}
/* Marges sur les images */
.galerie img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 15px 0; /* plus de marge horizontale ! */
  border-radius: 8px;
}


/* Bouton "en voir plus" */
.galerie .container a {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid;
  border-radius: 20%;
  background-color: hsl(330, 3%, 75%);
  padding: 15px 30px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 1.2rem;
}

/* Section galerie-photo (si utilisée dans autre page) */
.galerie-photo {
 background-color: hsl(330, 3%, 75%);
  padding: 80px;
}

.galerie-photo h2 {
  color: #242424;
  text-align: center;
  margin-bottom: 80px;
}

.galerie-photo div {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  margin-bottom: 15px;
  height: 300px;
  
}

/* Responsive : ajuste la hauteur selon la taille d’écran */
@media (min-width: 768px) {
  .galerie img {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .galerie img {
    height: 300px;
  }
}



/* Footer */

footer {
   
    color: #ffffff;
    text-align: center;

}

footer p {
    margin: 10px;


}




.contact p,
.contact li {
  color: white /* texte normal */
}
.contact {
  color: #242424;            /* texte gris foncé */
 background-color: hsl(330, 50%, 75%);
  padding: 60px 0;
}



.contact-info p,
.opening-hours li {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-info i {
  color: #c06c29; /* couleur des icônes */
  margin-right: 10px;
}

.contact-info a {
  color: #242424;
  text-decoration: none;
}

.contact-info a:hover {
  color: #c06c29;
  text-decoration: underline;
}

.opening-hours h5 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.opening-hours li {
  margin-left: 20px;
}

/* Responsive mobile : texte sous image */
@media (max-width: 991px) {
  .contact .row {
    flex-direction: column-reverse;
  }
  .contact .col-lg-6 {
    text-align: center;
  }
  .opening-hours li {
    margin-left: 0;
  }
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: #4b2041;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
}

/* Affiche uniquement sur petit écran */
@media (min-width: 768px) {
  .back-to-top {
    display: none;
  }
}
