@charset "UTF-8";

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #fafafa;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #282727;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Le contenu principal */
.row {
    display: grid;
    grid-template-columns: 4fr 3fr;
    column-gap: 70px;
    width: 100%;
    max-width: 1200px;                  
    margin-left: 2em;
    margin-right: 2em;
    flex: 1;
}

header {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1.5em;
}


/* Footer collé en bas */
footer {
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1.5em;
    margin-top: auto;
}

/* Titres */
h1 {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.25em;
    text-align: left;
}


h3 {
    font-weight: 600;
    font-size: 1em;
    line-height: 1.25em;
    text-align: left;
    word-break: break-word;
}

p {
    font-weight: 600;
    font-size: 1em;
    line-height: 1.25em;
    text-align: left;
    word-break: break-word;
}

/* Liens */
.detailsInfos {
    color: #ff73f3;
    text-decoration: none;
}
.detailsInfos:hover {
    color: #282727;
    text-decoration: underline dotted;
}

.detailsInfos2 {
    color: #282727;
    text-decoration: none;
}
.detailsInfos2:hover {
    color: #ff73f3;
    text-decoration: underline dotted;
}

.detailsInfos3 {
    color: #282727;
    text-decoration: underline dotted;
}

/* Image hover effet */
.img-hover {
  position: relative;
  cursor: pointer;
  text-decoration: underline dotted;
}

.img-hover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 500px;
  height: 350px;
  background-image: url('../images/IMG_5178 copie.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.img-hover:hover::after {
  opacity: 1;
  transform: translateY(0);
}


.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 1rem;
  max-width: 1080px;
  max-height: 1920px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
}

.carousel a {
  min-width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #282727;
}

.carousel-btn.prev {
  left: 0;
  color: #ff73f3;
}

.carousel-btn.next {
  right: 0;
  color: #ff73f3;
}


/* --------- Responsive ---------- */
@media screen and (max-width: 800px) {
    .row {
        grid-template-columns: 1fr;
        margin: 2em;
    }

    .column {
        width: 85%;
    }

    h1 {
      font-size: 1em;
      line-height: 1.1m;
    }

    h3 {
      font-size: 1em;
      line-height: 1.1m;
    }

    p {
      font-size: 1em;
      line-height: 1.1m;
    }
}
