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

body {
  background: #f7f8f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

}

/* ================= NAVBAR ================= */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: rgba(18, 3, 3, 0.199);
}

.nav-inner {
  max-width: 1400px;
  margin: auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: #8df26d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.login-btn {
  border: 1.5px solid white;
  padding: 8px 18px;
  border-radius: 999px;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: white;
}

/* ================= MOBILE NAV ================= */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px 28px;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav.show {
    display: flex;
  }
}


/* ================= HERO ================= */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}



.hero-slide.active {
  opacity: 1;
}

/* keep content above overlay */
.hero-content,
.slider-dots,
.green-top,
.green-bottom {
  position: relative;
  z-index: 2;
}
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}


.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.slider-dots span.active {
  background: #ffffff;
}
/* HERO CONTENT */
.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 28px;
}

/* SEARCH */
.search-box {
  background: white;
  border-radius: 999px;
  display: flex;
  align-items: center;
  width: min(700px, 90%);
  padding: 18px 24px;
  gap: 14px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
}

.search-icon {
  font-size: 18px;
  color: #555;
}

.nearby-link {
  margin-top: 18px;
  color: white;
  font-size: 14px;
  text-decoration: underline;
}

/* ================= GREEN SHAPES ================= */
.green-top {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #8df26d;
}

.green-bottom {
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 160px;
  border-radius: 200px;
  background: #8df26d;
}

/* ================= SLIDER DOTS ================= */
.slider-dots {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 12px;
}

.slider-dots span {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
}

/* ================= LOCAL FAVORITES ================= */
.local-favorites {
  padding: 80px 6%;
  background: #ffffff;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 28px;
}

.section-header a {
  color: #1f2933;
  text-decoration: underline;
}

/* GRID */
.trail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* CARD */
.trail-card {
  display: flex;
  flex-direction: column;
}

.image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

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

.bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
}

/* TEXT */
.trail-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 12px;
}

.location {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 4px 0;
}

.meta {
  font-size: 0.85rem;
  color: #4b5563;
  display: flex;
  align-items: start;
  gap: 4px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .trail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .trail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-wrap img {
    height: 200px;
  }
}

@media (max-width: 520px) {
  .trail-grid {
    grid-template-columns: 1fr;
  }

  .image-wrap img {
    height: 190px;
  }
}

/* ===== HOVER EFFECTS ===== */
.trail-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trail-card:hover {
  transform: translateY(-4px);
}

.image-wrap img {
  transition: transform 600ms ease;
}

.trail-card:hover img {
  transform: scale(1.05);
}

/* ===== HORIZONTAL SCROLL (MOBILE) ===== */
@media (max-width: 900px) {
  .trail-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 75%;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .trail-card {
    scroll-snap-align: start;
  }

  .trail-grid::-webkit-scrollbar {
    display: none;
  }
}

/* ================= UPGRADE SECTION ================= */
.upgrade {
  padding: 90px 6%;
  background: #f7f8f6;
  background:
    linear-gradient(rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.11)),
    url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;

}

.upgrade-inner {
  max-width: 1400px;
  margin: auto;
  background: white;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;


}

.upgrade-text {
  padding: 70px 60px;
}

.sparkle {
  color: #3b82f6;
  font-size: 22px;
  display: inline-block;
  margin-bottom: 12px;
}

.upgrade-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.upgrade-text p {
  color: #4b5563;
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 28px;
}

.upgrade-btn {
  display: inline-block;
  background: #8df26d;
  color: #1f2933;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.upgrade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .upgrade-inner {
    grid-template-columns: 1fr;
  }

  .upgrade-text {
    padding: 50px 30px;
  }

  .upgrade-image {
    height: 320px;
  }
}

/* stats */
.stats {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
  background: #fff;
}

.stat h3 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.stat .label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.stat .desc {
  color: #4b5563;
  max-width: 320px;
  margin: auto;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Adventure section */
.share {
  padding: 90px 6%;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.share-header h2 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.share-header p {
  color: #4b5563;
}

.socials span {
  font-size: 20px;
  margin-left: 12px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.share-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* gift card */
.gift {
  padding: 100px 6%;
  margin-left: 10px;
  height: 100vh;
  display: flex;
  align-items: flex-end;
   background: url("./adv.avif") center / cover
 
}



.gift-images {
  position: relative;
}

.gift-images .card {
  width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
}

.gift-images .back {
  transform: translate(-20px, 70px) rotate(-22deg);

}

.gift-text{
       background:
    linear-gradient(rgba(218, 211, 211, 0.8), rgba(0, 0, 0, 0.11)),

}

.gift-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;

}

.gift-text p {
  margin-bottom: 20px;
  font-size: .8rem;
  
}

.gift-btn {
  background: #1f2d1b;
  color: #fff;
  padding: 10px 30px;
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 900px) {
  

  .gift-images {
    height: 320px;
  }
}


/* browse section */
.activities {
  padding: 90px 6%;
  
}

.activities h2 {
  font-size: 2.6rem;
  margin-bottom: 40px;
}

.activity-grid {
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: scroll;
}

.activity-grid::-webkit-scrollbar{
  display: none;
  scroll-behavior: smooth;
  scroll-snap-type: mandatory;
}

.activity-grid img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
   transition:  all 300ms;
}

.activity-grid img:hover {
  scale: 1.12;
  cursor: pointer;
 
}

.activity-grid p {
  font-weight: 500;
  text-align: center;
}

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gift-text{
    width: 45%;
       background:
    linear-gradient(rgba(218, 211, 211, 0.8), rgba(0, 0, 0, 0.11)),

}

.gift-text h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;

}

.gift-text p {
  margin-bottom: 28px;
  
}
}


/* Review section */
/* ================= APP PROMO SECTION ================= */
.app-promo {
  background: #f3efe7;
  padding: 90px 6%;
}

.app-promo-inner {
  max-width: 1400px;
  margin: auto;
  background: #f3efe7;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* LEFT RAIL */
.promo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rail-nav a {
  color: #1f2933;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.rail-nav a.active {
  border-color: #1f2933;
}

/* PHONE */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone-wrap img {
  max-width: 320px;
  width: 100%;
}

/* RIGHT CONTENT */
.promo-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.promo-content p {
  color: #4b5563;
  max-width: 420px;
  margin-bottom: 28px;
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.qr {
  width: 120px;
  height: 120px;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-buttons img {
  width: 160px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .app-promo-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-rail {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .rail-nav {
    flex-direction: row;
    gap: 16px;
  }

  .promo-actions {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .promo-actions {
    flex-direction: column;
  }

  .store-buttons img {
    width: 180px;
  }
}
/* ================= SHARE ADVENTURE ================= */
.share-adventure {
  padding: 90px 6%;
  background: #ffffff;
}

/* HEADER */
.share-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.share-title h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.share-title p {
  color: #4b5563;
  font-size: 1rem;
}

.share-socials {
  display: flex;
  gap: 14px;
}

.share-socials a {
  width: 36px;
  height: 36px;
  border: 2px solid #1f2933;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #1f2933;
  font-size: 14px;
}

/* GRID */
.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* CARD */
.share-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.share-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
    transition: all 500ms;

}

.share-card img:hover {
  scale: 1.12;
  cursor: pointer;
}

/* USERNAME OVERLAY */
.username {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-card img {
    height: 300px;
  }
}

@media (max-width: 700px) {
  .share-header {
    flex-direction: column;
    gap: 20px;
  }

  .share-grid {
    grid-template-columns: 1fr;
  }

  .share-card img {
    height: 280px;
  }
}

/* footer */
/* ================= FOOTER ================= */
.site-footer {
  background: #182412;
  color: #ffffff;
  padding: 90px 6% 50px;
}

/* TOP LINKS */
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  font-size: 0.95rem;
  margin-bottom: 14px;
  cursor: pointer;
}

.footer-col li:hover {
  text-decoration: underline;
}

/* MIDDLE */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-block h4 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* APP LINKS */
.store-links img {
  width: 150px;
  display: block;
  margin-bottom: 12px;
}

/* PLANET LOGOS */
.planet-logos {
  display: flex;
  gap: 20px;
}

.planet-logos img {
  height: 40px;
}

/* SOCIAL */
.footer-socials {
  display: flex;
  gap: 12px;
}

svg:hover, img:hover{
  cursor: pointer;
}
.footer-socials svg {
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-legal {
  max-width: 800px;
}

.footer-legal p {
  font-size: 0.8rem;
  color: #d1d5db;
  margin-bottom: 10px;
}

.footer-links {
  cursor: pointer;
}

.footer-links span:hover{
  text-decoration: underline;
}
/* LANGUAGE */
.footer-lang select {
  background: #ffffff;
  color: #1f2933;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-middle {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* TEXT ANIMATION */
.hero-content h1,
.hero-content .search-box,
.hero-content .nearby-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero.active-text .hero-content h1 {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.hero.active-text .hero-content .search-box {
  transition-delay: 0.35s;
  opacity: 1;
  transform: translateY(0);
}

.hero.active-text .hero-content .nearby-link {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}
/* PROGRESS DOTS */
.slider-dots span {
  position: relative;
  width: 14px;
  height: 14px;
}

.slider-dots svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.slider-dots circle {
  fill: none;
  stroke: rgba(255,255,255,0.4);
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.slider-dots span.active circle {
  animation: progress 5s linear forwards;
}

@keyframes progress {
  to {
    stroke-dashoffset: 0;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}
