/* ============================================
   CAVES.CSS — Page Caves à Cigares LEMONY
   Réutilise les conventions de surmesure.css
   ============================================ */

/* ================================
   HERO SECTION
   ================================ */
.caves-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caves-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slowZoom 25s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.caves-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21, 25, 26, 0.65) 0%,
    rgba(21, 25, 26, 0.35) 50%,
    rgba(21, 25, 26, 0.9) 100%
  );
}

.caves-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #c1bca7;
  padding: 0 20px;
}

.caves-hero-content h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: #c1bca7;
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.caves-hero-subtitle {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.15em;
  color: #c1bca7;
  margin-bottom: 40px;
  opacity: 0.9;
}

.caves-hero-cta .btn-caves {
  display: inline-block;
  min-width: 200px;
  padding: 14px 40px;
  border: 1px solid #c1bca7;
  color: #c1bca7;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: 'FonteLoewTech', sans-serif;
  font-size: 13px;
  transition: all 0.5s ease;
  margin: 0 10px;
}

.caves-hero-cta .btn-caves:hover {
  background-color: #c1bca7;
  color: #15191a;
}

.caves-hero-cta .btn-caves-filled {
  background-color: #c1bca7;
  color: #15191a;
}

.caves-hero-cta .btn-caves-filled:hover {
  background-color: transparent;
  color: #c1bca7;
}

/* ================================
   SECTION TITLES
   ================================ */
.caves-section-title {
  text-align: center;
  padding-top: 5%;
  margin-bottom: 5%;
  color: #c1bca7;
}

.caves-section-title-light {
  color: #c1bca7;
}

.caves-divider {
  width: 60px;
  height: 1px;
  background-color: #c1bca7;
  margin: 20px auto 0;
  opacity: 0.6;
}

/* ================================
   STORYTELLING SECTION
   ================================ */
.caves-storytelling {
  background-color: #15191a;
  padding: 80px 0;
}

.caves-storytelling-text {
  color: #c1bca7;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: justify;
  line-height: 1.9;
  font-size: 15px;
}

.caves-storytelling-text h2 {
  color: #c1bca7;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.caves-storytelling-text p {
  margin-bottom: 18px;
}

.caves-storytelling-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
}

.caves-storytelling-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.caves-storytelling-img-wrapper:hover .caves-storytelling-img {
  transform: scale(1.05);
}

/* ================================
   PRODUCT SHOWCASE
   ================================ */
.caves-products {
  padding: 80px 0;
  background-color: #0d0f10;
}

.caves-product-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  background: #1a1d1e;
  transition: transform 0.6s ease;
}

.caves-product-card:hover {
  transform: translateY(-5px);
}

.caves-product-card img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  transition: transform 0.8s ease, opacity 0.5s ease;
}

.caves-product-card:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.caves-product-info {
  padding: 25px 20px;
  text-align: center;
}

.caves-product-info h3 {
  font-family: 'FonteLoewTech', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: #c1bca7;
  margin-bottom: 8px;
}

.caves-product-info p {
  font-family: Georgia, serif;
  color: #8a8474;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ================================
   MATERIALS SECTION
   ================================ */
.caves-materials {
  padding: 80px 0;
  background-color: #15191a;
}

.caves-material-block {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
  cursor: default;
}

.caves-material-block:hover {
  transform: scale(0.98);
}

.caves-material-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 25, 26, 0.95) 0%, rgba(21, 25, 26, 0.3) 100%);
  transition: background 0.5s ease;
}

.caves-material-block:hover .caves-material-overlay {
  background: linear-gradient(to top, rgba(21, 25, 26, 0.8) 0%, rgba(21, 25, 26, 0.1) 100%);
}

.caves-material-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  width: 100%;
}

.caves-material-content h3 {
  font-family: 'FonteLoewTech', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #c1bca7;
  font-size: 1rem;
  margin-bottom: 8px;
}

.caves-material-content p {
  font-family: Georgia, serif;
  color: #8a8474;
  font-size: 13px;
  line-height: 1.6;
}

/* Material gradient backgrounds */
.material-erable { background: linear-gradient(135deg, #d4b896 0%, #a8896a 100%); }
.material-bambou { background: linear-gradient(135deg, #c9a96e 0%, #8b6914 100%); }
.material-noyer { background: linear-gradient(135deg, #5c3d2e 0%, #3a2518 100%); }
.material-tulipier { background: linear-gradient(135deg, #2d2d2d 0%, #111111 100%); }
.material-carbone { background: linear-gradient(135deg, #3a3a3a 0%, #0a0a0a 100%); }

/* ================================
   SAVOIR-FAIRE SECTION
   ================================ */
.caves-savoirfaire {
  padding: 80px 0;
  background: linear-gradient(180deg, #0d0f10 0%, #15191a 100%);
}

.caves-sf-item {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.5s ease;
}

.caves-sf-item:hover {
  transform: translateY(-8px);
}

.caves-sf-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border: 1px solid #c1bca7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c1bca7;
  font-size: 24px;
  transition: all 0.5s ease;
}

.caves-sf-item:hover .caves-sf-icon {
  background-color: #c1bca7;
  color: #15191a;
}

.caves-sf-item h3 {
  font-family: 'FonteLoewTech', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  color: #c1bca7;
  margin-bottom: 12px;
}

.caves-sf-item p {
  font-family: Georgia, serif;
  color: #8a8474;
  font-size: 14px;
  line-height: 1.7;
}

/* ================================
   IMMERSIVE SECTION
   ================================ */
.caves-immersive {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caves-immersive-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.caves-immersive-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 25, 26, 0.6);
}

.caves-immersive-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 30px;
}

.caves-immersive-content h2 {
  color: #c1bca7;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  margin-bottom: 25px;
}

.caves-immersive-content p {
  font-family: Georgia, serif;
  color: #c1bca7;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

/* ================================
   CONTACT CTA SECTION
   ================================ */
.caves-contact-cta {
  padding: 100px 0;
  background-color: #15191a;
  text-align: center;
}

.caves-contact-cta h2 {
  color: #c1bca7;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.caves-contact-cta p {
  font-family: Georgia, serif;
  color: #8a8474;
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.caves-contact-cta .btn-caves-cta {
  display: inline-block;
  min-width: 220px;
  padding: 16px 40px;
  border: 1px solid #c1bca7;
  color: #c1bca7;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: 'FonteLoewTech', sans-serif;
  font-size: 13px;
  transition: all 0.5s ease;
}

.caves-contact-cta .btn-caves-cta:hover {
  background-color: #c1bca7;
  color: #15191a;
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */
.caves-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.caves-reveal.caves-visible {
  opacity: 1;
  transform: translateY(0);
}

.caves-reveal-delay-1 { transition-delay: 0.15s; }
.caves-reveal-delay-2 { transition-delay: 0.3s; }
.caves-reveal-delay-3 { transition-delay: 0.45s; }
.caves-reveal-delay-4 { transition-delay: 0.6s; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  .caves-hero {
    min-height: 500px;
  }

  .caves-hero-cta .btn-caves {
    display: block;
    margin: 10px auto;
    max-width: 260px;
  }

  .caves-product-card img {
    height: 250px;
  }

  .caves-material-block {
    height: 220px;
  }

  .caves-immersive {
    height: 50vh;
    min-height: 350px;
  }

  .caves-immersive-bg {
    background-attachment: scroll;
  }

  .caves-storytelling {
    padding: 50px 0;
  }

  .caves-storytelling-img-wrapper {
    min-height: 300px;
    margin-top: 30px;
  }

  .caves-products,
  .caves-materials,
  .caves-savoirfaire,
  .caves-contact-cta {
    padding: 50px 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .caves-product-card img {
    height: 280px;
  }

  .caves-material-block {
    height: 260px;
  }
}