/* =========================================================
   PETAL VAULT — LEGACY: OLD HERO SLIDER (.luxury-flower-slider)
   Only needed until the homepage uses the new slider (.pvh).
   Safe to delete afterwards, together with js/petal-vault-legacy.js.
   ========================================================= */


/* =========================================================
   RESET
========================================================= */

.luxury-flower-slider,
.luxury-flower-slider * {
  box-sizing: border-box;
}


/* =========================================================
   MAIN SLIDER
========================================================= */

.luxury-flower-slider {

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  position: relative;

  width: 100%;

  height: min(900px, 92vh);

  min-height: 650px;

  overflow: hidden;

  background: #211718;

  isolation: isolate;

  font-family: var(--sans);
}


/* =========================================================
   SLIDES
========================================================= */

.lfs-slides {

  position: absolute;

  inset: 0;
}


.lfs-slide {

  position: absolute;

  inset: 0;

  opacity: 0;

  visibility: hidden;

  z-index: 0;

  transition:
    opacity 1.2s cubic-bezier(.22,.61,.36,1),
    visibility 1.2s;
}


.lfs-slide.is-active {

  opacity: 1;

  visibility: visible;

  z-index: 2;
}


/* =========================================================
   IMAGE
========================================================= */

.lfs-image {

  position: absolute;

  inset: -3%;

  width: 106%;

  height: 106%;

  object-fit: cover;

  object-position: center center;

  transform: scale(1.07);

  transition:
    transform 7s cubic-bezier(.16,1,.3,1);

  filter:
    saturate(.96)
    contrast(1.02);
}


.lfs-slide.is-active .lfs-image {

  transform: scale(1);
}


/* =========================================================
   IMAGE OVERLAY
=========================================================

   The overlay is strongest where the text sits,
   while the right side remains bright.

========================================================= */

.lfs-image-shade {

  position: absolute;

  inset: 0;

  z-index: 1;

  background:

    /* Text protection */
    linear-gradient(
      90deg,
      rgba(35, 16, 20, .76) 0%,
      rgba(35, 16, 20, .62) 20%,
      rgba(35, 16, 20, .38) 38%,
      rgba(35, 16, 20, .12) 62%,
      rgba(35, 16, 20, .02) 82%
    ),

    /* Bottom protection */
    linear-gradient(
      0deg,
      rgba(20, 10, 12, .55) 0%,
      rgba(20, 10, 12, .18) 25%,
      transparent 55%
    ),

    /* Soft overall layer */
    linear-gradient(
      180deg,
      rgba(0,0,0,.08),
      transparent 45%,
      rgba(0,0,0,.08)
    );
}


/* =========================================================
   CONTENT
========================================================= */

.lfs-content {

  position: absolute;

  z-index: 4;

  left: clamp(30px, 9vw, 150px);

  top: 50%;

  transform: translateY(-45%);

  width: min(680px, 55vw);

  color: white;
}


/* =========================================================
   LABEL
========================================================= */

.lfs-label {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 25px;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 3.5px;

  text-transform: uppercase;

  color: rgba(255,255,255,.92);

  text-shadow:
    0 2px 10px rgba(0,0,0,.5);
}


.lfs-label span {

  display: block;

  width: 30px;

  height: 1px;

  background: rgba(255,255,255,.85);
}


/* =========================================================
   HEADING
========================================================= */

.lfs-content h1 {

  margin: 0;

  font-family: var(--serif);

  font-size: clamp(50px, 5.7vw, 92px);

  line-height: .95;

  font-weight: 400;

  letter-spacing: -3.5px;

  color: #fff;

  text-shadow:

    0 2px 4px rgba(0,0,0,.45),

    0 6px 25px rgba(0,0,0,.28);
}


.lfs-content h1 em {

  font-style: italic;

  font-weight: 400;

  color: #fff;

  opacity: .96;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.lfs-content p {

  width: min(440px, 100%);

  margin: 29px 0 34px;

  font-size: 15px;

  line-height: 1.72;

  font-weight: 400;

  color: rgba(255,255,255,.96);

  text-shadow:

    0 1px 5px rgba(0,0,0,.7),

    0 3px 16px rgba(0,0,0,.35);
}


/* =========================================================
   BUTTON
========================================================= */

.lfs-button {

  display: inline-flex;

  align-items: center;

  gap: 34px;

  min-height: 52px;

  padding: 0 22px;

  background: #fff;

  color: #351b22;

  border: 1px solid #fff;

  text-decoration: none;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;

  transition:

    background .35s ease,

    color .35s ease,

    gap .35s ease,

    transform .35s ease;
}


.lfs-button i {

  font-style: normal;

  font-size: 17px;

  line-height: 1;

  transition:
    transform .35s ease;
}


.lfs-button:hover {

  background: #b85f78;

  border-color: #b85f78;

  color: #fff;

  gap: 42px;

  transform: translateY(-2px);
}


.lfs-button:hover i {

  transform: translate(3px,-3px);
}


/* =========================================================
   TOP MARK
========================================================= */

.lfs-top-mark {

  position: absolute;

  top: 30px;

  left: clamp(30px, 9vw, 150px);

  z-index: 8;

  display: flex;

  align-items: center;

  gap: 12px;

  color: rgba(255,255,255,.9);

  font-size: 8px;

  letter-spacing: 3px;

  font-weight: 600;

  text-shadow:
    0 2px 10px rgba(0,0,0,.45);
}


.lfs-mark-line {

  width: 24px;

  height: 1px;

  background: rgba(255,255,255,.7);
}


/* =========================================================
   ARROWS
========================================================= */

.lfs-arrow {

  position: absolute;

  top: 50%;

  z-index: 8;

  transform: translateY(-50%);

  width: 52px;

  height: 52px;

  border: 1px solid rgba(255,255,255,.6);

  background: rgba(30,10,15,.15);

  backdrop-filter: blur(6px);

  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition:

    background .3s ease,

    color .3s ease,

    border-color .3s ease;
}


.lfs-arrow span {

  font-size: 17px;

  transition:
    transform .3s ease;
}


.lfs-prev {

  left: 30px;
}


.lfs-next {

  right: 30px;
}


.lfs-arrow:hover {

  background: #fff;

  border-color: #fff;

  color: #351b22;
}


.lfs-prev:hover span {

  transform: translateX(-3px);
}


.lfs-next:hover span {

  transform: translateX(3px);
}


/* =========================================================
   BOTTOM CONTROLS
========================================================= */

.lfs-bottom {

  position: absolute;

  z-index: 8;

  left: clamp(30px, 9vw, 150px);

  right: clamp(30px, 9vw, 150px);

  bottom: 30px;

  display: flex;

  align-items: center;

  gap: 20px;
}


/* =========================================================
   PROGRESS
========================================================= */

.lfs-progress {

  position: relative;

  width: min(260px, 30vw);

  height: 1px;

  background: rgba(255,255,255,.32);

  overflow: hidden;
}


.lfs-progress span {

  display: block;

  width: 33.333%;

  height: 100%;

  background: #fff;

  transition:
    width .5s ease;
}


/* =========================================================
   NUMBERS
========================================================= */

.lfs-numbers {

  display: flex;

  align-items: center;

  gap: 7px;

  color: #fff;

  font-size: 10px;

  letter-spacing: 2px;
}


.lfs-numbers strong {

  font-weight: 600;
}


.lfs-numbers span {

  opacity: .45;
}


.lfs-numbers small {

  font-size: 9px;

  opacity: .65;
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.lfs-play {

  margin-left: auto;

  width: 36px;

  height: 36px;

  border: 1px solid rgba(255,255,255,.5);

  background: rgba(20,10,12,.12);

  color: #fff;

  cursor: pointer;

  transition:

    background .3s ease,

    color .3s ease;
}


.lfs-play:hover {

  background: #fff;

  color: #351b22;
}


/* =========================================================
   CONTENT ANIMATION
========================================================= */

.lfs-slide.is-active .lfs-content {

  animation:
    lfsContentIn 1.05s cubic-bezier(.16,1,.3,1) both;
}


@keyframes lfsContentIn {

  from {

    opacity: 0;

    transform:
      translateY(calc(-45% + 25px));
  }

  to {

    opacity: 1;

    transform:
      translateY(-45%);
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .luxury-flower-slider {

    height: 78vh;

    min-height: 620px;
  }


  .lfs-content {

    width: min(650px, 70vw);
  }


  .lfs-content h1 {

    font-size:
      clamp(48px, 7vw, 72px);
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .luxury-flower-slider {

    height: 82svh;

    min-height: 600px;
  }


  /* Mobile readability */

  .lfs-image-shade {

    background:

      linear-gradient(
        180deg,
        rgba(30,12,17,.05) 0%,
        rgba(30,12,17,.08) 28%,
        rgba(30,12,17,.30) 52%,
        rgba(30,12,17,.82) 100%
      ),

      linear-gradient(
        90deg,
        rgba(30,12,17,.30),
        transparent 80%
      );
  }


  .lfs-content {

    left: 25px;

    right: 25px;

    bottom: 105px;

    top: auto;

    transform: none;

    width: auto;
  }


  .lfs-slide.is-active .lfs-content {

    animation:
      lfsMobileIn 1s cubic-bezier(.16,1,.3,1) both;
  }


  @keyframes lfsMobileIn {

    from {

      opacity: 0;

      transform: translateY(20px);
    }

    to {

      opacity: 1;

      transform: translateY(0);
    }
  }


  .lfs-label {

    margin-bottom: 17px;

    font-size: 8px;

    letter-spacing: 2.7px;
  }


  .lfs-label span {

    width: 20px;
  }


  .lfs-content h1 {

    font-size:
      clamp(42px, 12vw, 62px);

    line-height: .95;

    letter-spacing: -2px;
  }


  .lfs-content p {

    margin: 20px 0 24px;

    font-size: 13px;

    line-height: 1.65;

    max-width: 370px;
  }


  .lfs-button {

    min-height: 48px;

    padding: 0 17px;

    gap: 25px;

    font-size: 9px;
  }


  /* Top mark */

  .lfs-top-mark {

    top: 22px;

    left: 25px;

    font-size: 7px;

    letter-spacing: 2.5px;
  }


  /* Mobile arrows */

  .lfs-arrow {

    top: auto;

    bottom: 26px;

    transform: none;

    width: 40px;

    height: 40px;
  }


  .lfs-prev {

    left: auto;

    right: 77px;
  }


  .lfs-next {

    right: 27px;
  }


  /* Bottom controls */

  .lfs-bottom {

    left: 25px;

    right: 25px;

    bottom: 45px;

    gap: 13px;
  }


  .lfs-progress {

    width: 100px;
  }


  .lfs-numbers {

    display: none;
  }


  .lfs-play {

    display: none;
  }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

  .luxury-flower-slider {

    min-height: 570px;
  }


  .lfs-content {

    bottom: 98px;
  }


  .lfs-content h1 {

    font-size: 40px;
  }


  .lfs-content p {

    max-width: 310px;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .lfs-slide,
  .lfs-image,
  .lfs-content,
  .lfs-progress span {

    transition: none !important;

    animation: none !important;
  }
}

