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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f6f0df;
  color: #0f4a3c;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* ================= SCROLL VIDEO SECTION ================= */

.scroll-video-section {
  height: 300vh;
  position: relative;
  background: #f6f0df;
}

.video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #f6f0df;
}

.video-sticky video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= VIDEO BUTTONS ================= */

.video-buttons {
  position: absolute;

  /*
    Change these two values to move the buttons
    left: 50% means center
    top: 72% means lower part of the video
  */
  left: 19%;
  top: 75%;

  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, 35px) scale(0.96);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.video-buttons.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.video-btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 40px;

  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;

  white-space: nowrap;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border 0.3s ease;
}

.primary-btn {
  background: #0f4a3c;
  color: #f6f0df;
  border: 1px solid #0f4a3c;
}

.secondary-btn {
  background: rgba(246, 240, 223, 0.7);
  color: #0f4a3c;
  border: 1px solid rgba(15, 74, 60, 0.35);
  backdrop-filter: blur(10px);
}

.video-btn:hover {
  transform: translateY(-3px);
}

.primary-btn:hover {
  background: #123f35;
}

.secondary-btn:hover {
  background: #f6f0df;
}

/* ================= PRODUCT DETAILS SECTION ================= */

.product-details {
  min-height: 100vh;
  background: #f6f0df;
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-details-inner {
  max-width: 760px;
  text-align: center;
}

.small-title {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgba(15, 74, 60, 0.65);
}

.product-details h1 {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.95;
  margin-bottom: 28px;
  font-weight: 600;
}

.product-details p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(15, 74, 60, 0.85);
}

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

@media (max-width: 768px) {

  .scroll-video-section {
    height: 320vh;
  }

  .video-buttons {
    left: 50%;
    top: 76%;
    flex-direction: column;
    gap: 12px;
  }

  .video-btn {
    padding: 13px 26px;
    font-size: 13px;
    min-width: 160px;
    text-align: center;
  }

  .product-details {
    padding: 90px 20px;
  }

}