/* accueil.css */

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*NAVBAR*/
.logo1 img {
    height: 60px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    background-color: black;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}

/* Affichage normal en desktop */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    gap: 20px;
  }

  .burger {
    display: none;
  }
}


body {
  font-family: 'Oswald', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.hero {
    height: 100vh;
    background-image: url('../images/pexels-watorious-2381463.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.white-text {
    color: white;
}

.gold-text {
    color: #c9a74b;
}

.hero-text {
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 3rem;
    font-family: 'Times New Roman', serif;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: baseline;
}

.hero-text p {
    color: white !important;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

@keyframes pop-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.pop-in {
    animation: pop-in 0.8s ease-out forwards;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .line {
        width: 60px;
        height: 3px;
    }
}

.line {
    width: 100px;
    height: 4px;
    background-color: #c9a74b;
    margin: 10px auto;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.content {
    padding: 60px 20px;
}

/*Parallax section*/
.parallax-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 100px 5%;
    gap: 40px;
    flex-wrap: wrap;
}

.left-column{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.text-container {
    flex: 1 1 400px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.image-container {
    flex: 1 ;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: 50px auto;
    width: 100%;
    max-width: 600px;
    background-color: #ddd;
}

.image-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: bottom center;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.animate-from-left,
.animate-from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
    color: #c9a74b;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.animate-from-left {
    transform: translateX(-50px);
}

.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-left:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-from-right:nth-child(2) {
  transition-delay: 0.4s;
}

.animate-from-left:nth-child(3) {
  transition-delay: 0.7s;
}


/*MINI GALLERY*/
.mini-gallery-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

.gallery-item {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
     width: 30%;
     height: 170px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5 ease;
}

.gallery-item:hover img {
    transform: scale(1.1)
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

p {
    text-align: center;
}



@media (max-width: 768px) {
  .parallax-section {
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
  }

  .text-container {
    width: 100%;
    margin-bottom: 0;
  }

  .text-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .text-content p {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .image-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
  }

  .image-parallax {
  position: absolute;
  top: 0;
  left: 0;
  height: 140%;
  width: 100%;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
  will-change: transform;
}

  .mini-gallery-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    width: 100%;
    margin-top: 20px;
    scroll-snap-type: x mandatory;
     -webkit-overflow-scrolling: touch;
  }

  .mini-gallery-inline::-webkit-scrollbar {
    display: none;
  }

  .mini-gallery-inline {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .gallery-item {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    scroll-snap-align: start;
    overflow: hidden;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .overlay {
    font-size: 14px;
    padding: 10px 0;
  }
}

/*GRID*/
.section2 {
  display: grid;
  grid-template-columns: 70% 30%;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "left right"
    "images right";
 }

.left-content {
  grid-area: left;
  display: flex;
  flex-direction: column;
}

.text {
  background-color: #c8b171;
  padding: 60px 40px;
  box-sizing: border-box;
}

.section2 .text h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 10px;
}

.white-text {
    color: white;
}

.dark-text {
    color: #1d1d1d;
}

.underline {
  height: 6px;
  background-color: white;
  margin: 30px;
}

.text ul {
  font-size: 1.1em;
  line-height: 1.7em;
  list-style: disc;
  padding-left: 20px;
}

.bottom-images {
  grid-area: images;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%; /* prend tout l'espace restant */
}

.bottom-images img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  display: block;
}

.right-image {
  grid-area: right;
  height: 73.5%;
}

.right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .section2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left"
      "images"
      "right";
    max-height: none;
    height: auto;
  }

  .bottom-images {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px;
  }

  .bottom-images img {
    height: 100%;
    background-position: bottom;
  }

  .right-image {
    height: 300px;
  }

  .text {
    padding: 40px 20px;
  }

  .text h1 {
    font-size: 2em;
  }
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'segoe UI', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
    align-items: center;
}

.footer-logo img {
    height: 60px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #c9a74b;
}

.footer-social a {
    color: #ccc;
    font-size: 20px;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    border-top: 10px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: space-between;
    }

    .footer-social {
        margin-top: 10px;
    }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: white;
  padding: 1em;
  text-align: center;
  z-index: 9999;
}
#cookie-banner button {
  margin-left: 10px;
  padding: 0.5em 1em;
  background-color: #00aa88;
  color: white;
  border: none;
  cursor: pointer;
}
