@import "output.css";
/* @import "reset.css"; */

:root {
	--primary-color: #000000;
	--secondary-color: #ffffff;
	--tertiary-color: #FFFFFF1F;
	--quaternary-color: #FFFFFF9C;
	--quinary-color: #f0f0f0;
	--senary-color: #f0f0f0;
	--septenary-color: #f0f0f0;
	
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  background-color: #000000;
}

.section-container {
	width: 100%;
	height: 100%;
	background-color: var(--secondary-color);
}

.container {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  position: relative;
}

.video-container video   {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/16;
  position: relative;
}

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

h1.text-2xl {
  font-size: 1.5rem;
  font-weight: 600;
  /* color: var(--primary-color); */
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url('../assets/svgs/play.svg') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 5;
  opacity: 1;
  transition: all 0.3s ease;
}

/* When video is playing, hide both overlay and button */
.video-container.playing::before {
  opacity: 0;
  visibility: hidden;
}

.video-container.playing .play-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Only show overlay and button on hover when video is playing */
.video-container.playing:hover::before {
  opacity: 0.3;
  visibility: visible;
}

.video-container.playing:hover .play-button {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.download-btn {
  transition: transform 0.2s ease-in-out;
}

.download-btn:hover {
  transform: scale(1.05);
}

.covered-items-list {
  background-color: var(--tertiary-color);
  padding: 0.5rem 0.75rem ;
  border-radius: 8px;
}

 li {
  color: var(--quaternary-color);
}

@media (max-width: 768px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .video-container {
    max-width: 100%;
  }
}

/* Scroll Animation Styles */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base animation styles */
.video-section,
.trip-info h1,
.covered-items,
.trip-activities,
.how-to-enter,
.download-buttons {
  opacity: 1;
  will-change: transform, opacity;
  animation: scaleIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Video section - Scale in */
.video-section {
  animation: scaleIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Main heading - Slide from left */
.trip-info h1 {
  animation: slideInLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Covered items - Slide from right */
.covered-items {
  animation: slideInRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Trip activities - Staggered slide up for list items */
.trip-activities {
  animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.trip-activities li {
  opacity: 1;
  animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* How to enter - Slide up with bounce */
.how-to-enter {
  animation: slideUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Download button - Scale in with bounce */
.download-buttons {
  animation: scaleIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Visible state */
.video-section.visible,
.trip-info h1.visible,
.covered-items.visible,
.trip-activities.visible,
.how-to-enter.visible,
.download-buttons.visible {
  animation-play-state: running;
}

/* Staggered animation for trip activities list items */
.trip-activities.visible li {
  animation-play-state: running;
}

.trip-activities li:nth-child(1) { animation-delay: 0.1s; }
.trip-activities li:nth-child(2) { animation-delay: 0.2s; }
.trip-activities li:nth-child(3) { animation-delay: 0.3s; }
.trip-activities li:nth-child(4) { animation-delay: 0.4s; }
.trip-activities li:nth-child(5) { animation-delay: 0.5s; }
.trip-activities li:nth-child(6) { animation-delay: 0.6s; }
.trip-activities li:nth-child(7) { animation-delay: 0.7s; }
.trip-activities li:nth-child(8) { animation-delay: 0.8s; }
.trip-activities li:nth-child(9) { animation-delay: 0.9s; }

/* Mobile View Banner */
.mobile-view-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(275.38deg, #D70A53 12.81%, #E742A0 90.05%);
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 1000;
  font-size: 14px;
  display: none;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-view-banner .close-banner {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-view-banner .close-banner:hover {
  opacity: 1;
}

/* Only show banner on screens larger than mobile */
@media (min-width: 768px) {
  .mobile-view-banner {
    display: block;
  }

  /* Adjust header position when banner is visible */
  body.has-banner .container {
    padding-top: 40px;
  }
}

