/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #0e0101;
  color: #333;
  line-height: 1.6;
}

.hero {
  background: url('sunset1.jpeg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
}


.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffd700;
  transform: scaleX(1);
  transform-origin: left;
  border-bottom: 2px solid #ffd700;
  border-top: 2px solid #ffd700;
  border-right: 2px solid#ffd700;
  border-left: 2px solid#ffd700;
}

.main {
  text-align: center;
  font-size: 60px;
  color: transparent; /* make text fill invisible */
  -webkit-text-stroke: 3px rgb(131, 120, 120); /* add stroke */
  font-family: 'Caveat', cursive;
  animation: fadeDown 1.3s ease-in-out;
}


.hero-content {
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeDown 1.3s ease-in-out;
}

.hero-content h2 {
  font-size: 3rem;
  animation: fadeDown 1.3s ease-in-out;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 1rem 0;
  animation: fadeDown 1.3s ease-in-out;
}

.cta {
  padding: 0.75rem 1.5rem;
  background: #ffd700;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #cfbb07;
  font-size: 20px;
  transition: ease-in 0.2s;
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2rem;
}

.feature {
  width: 300px;
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.feature:hover {
  transform: scale(1.35);
}

.feature img {
  width: 350px;
  border-radius: 8px;
  height: 200px;
}

.gallery {
  padding: 4rem 2rem;
  background: white;
  text-align: center;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
}

.carousel img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  scroll-snap-align: center;
}

.carousel:hover{
 transform: scale(1.08);

}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  padding: 2rem;
  text-align: center;
  background: #eee;
}


/* ✅ Updated mobile responsiveness without changing desktop layout */

/* Add this at the end of your main CSS (Code 7) */

@media (max-width: 768px) {
  /* NAV */
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav-links li {
    margin-left: 0;
  }

  .nav-links a {
    padding: 0.5rem 1rem;
    display: block;
  }

  /* MAIN TITLE */
  .main {
    font-size: 40px;
    padding: 1rem;
  }

  /* HERO TEXT */
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* CTA BUTTON */
  .cta {
    display: inline-block;
    font-size: 1rem;
    margin-top: 1rem;
  }

  /* FEATURES */
  .feature-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 90%;
  }

  .feature img {
    width: 100%;
    height: auto;
  }

  /* GALLERY */
  .carousel img {
    max-width: 90vw;
  }

  /* CONFIRMATION PAGE */
  .confirmation-container {
    padding: 2rem 1rem;
    text-align: center;
  }
}






/* === Floating Terms Box === */
#terms-hover {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #00c896;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
  animation: floatFade 0.6s ease;
}

.terms-content {
  text-align: center;
  font-family: 'Outfit', sans-serif;
}

.terms-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.terms-content a {
  color: #00c896;
  text-decoration: underline;
}

#accept-btn {
  padding: 0.4rem 1rem;
  background-color: #00c896;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

#accept-btn:hover {
  background-color: #009e76;
}

/* Animation */
@keyframes floatFade {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}