/* ============================================
   Curug Song — Tourist Attraction Landing Page
   ============================================ */

/* --- Design Tokens --- */
:root {
  --primary: #00d2b5;
  --primary-dark: #00bfa0;
  --dark: #1e1e2d;
  --text: #666666;
  --text-dark: #222222;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --star-gold: #ffc107;
  --transition: all 0.3s ease;
  --section-pad-lg: 100px;
  --section-pad-md: 80px;
  --container: 1200px;
  --grid-gap: 24px;
  --shadow-card: 0 15px 50px rgba(0,0,0,0.08);
  --radius-sm: 4px;
  --radius-md: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 181, 0.3);
}

/* --- Price Badge --- */
.price-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

/* ============================================
   Part 1A: Navigation Header
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: var(--transition);
}

.header.scrolled {
  position: fixed;
  background: var(--white);
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
  padding: 14px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.nav-menu-links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: var(--transition);
}

.nav-menu-links a:hover { color: var(--primary); }

.header.scrolled .nav-menu-links a { color: var(--text-dark); }
.header.scrolled .nav-menu-links a:hover { color: var(--primary); }

/* ============================================
   Part 1B: Hero Section
   ============================================ */
.hero {
  min-height: 750px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-content { max-width: 650px; }

.hero-content .subtitle {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* ============================================
   Part 1C: Features Overlap Grid
   ============================================ */
.features {
  position: relative;
  z-index: 10;
  margin-top: -90px;
  padding-bottom: 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.feature-card {
  background: var(--white);
  padding: 40px 24px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.feature-card:hover { transform: translateY(-8px); }

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================
   Part 2: News Masonry Grid
   ============================================ */
.news {
  background: var(--light-bg);
  padding: var(--section-pad-md) 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.news-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item:hover img { transform: scale(1.08); }

.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.dest-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.grid-span-x2 { grid-column: span 2; }
.grid-span-y2 { grid-row: span 2; height: 100%; }

/* ============================================
   Part 3: Tour Packages
   ============================================ */
.tour-packages {
  padding: var(--section-pad-lg) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
  .tour-packages { background-attachment: scroll; }
}

.tour-packages .section-header h2 { color: #fff; }
.tour-packages .section-header .subtitle { color: rgba(255,255,255,0.7); }

.package-card {
  margin-bottom: var(--grid-gap);
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.package-img {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
}

.package-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-body {
  flex: 1;
  padding: 30px;
}

.package-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 12px;
}

.package-meta i {
  color: var(--primary);
  margin-right: 6px;
}

.package-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.package-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.package-rating { margin-top: 12px; }

.package-rating .fa-star {
  color: #ddd;
  font-size: 13px;
}

.package-rating .fa-star.active { color: var(--star-gold); }

.package-price {
  flex: 0 0 200px;
  border-left: 1px solid #eee;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.package-price .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.package-price .price-label {
  font-size: 13px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   Part 4: Testimonial
   ============================================ */
.testimonial {
  padding: var(--section-pad-lg) 0;
}

.testimonial-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.testimonial-img {
  flex: 0 0 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testimonial-img img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-content { flex: 1; }

.testimonial-quote {
  font-size: 64px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 10px;
  display: block;
}

.testimonial-content blockquote {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   Part 5: Stats Banner
   ============================================ */
.stats-banner {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  width: 100%;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  font-size: 36px;
  color: var(--primary);
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stats-banner .section-header h2 { color: #fff; }
.stats-banner .section-header .subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   Part 6A: Partners Carousel
   ============================================ */
.partners {
  padding: var(--section-pad-md) 0;
  background: var(--white);
}

.partners-carousel {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.carousel-slide img {
  max-height: 60px;
  width: auto;
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(100%);
}

.carousel-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #eee;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  transition: var(--transition);
  z-index: 5;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-arrow.prev { left: -15px; }
.carousel-arrow.next { right: -15px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active { background: var(--primary); }

/* ============================================
   Part 6B: Sale Banner
   ============================================ */
.sale-banner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.sale-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 60px;
  color: #fff;
}

.sale-content h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sale-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   Part 7: Footer
   ============================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: #aaaaaa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: #aaaaaa;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.footer-gallery img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  transition: var(--transition);
}

.footer-gallery img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px 0;
  text-align: center;
  font-size: 13px;
  color: #777777;
}

/* ============================================
   Responsive: 992px (Tablet)
   ============================================ */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
  }

  .grid-span-x2 { grid-column: span 2; }

  .package-card { flex-direction: column; }

  .package-img {
    flex: 0 0 260px;
    width: 100%;
  }

  .package-price {
    flex: 0 0 auto;
    border-left: none;
    border-top: 1px solid #eee;
    flex-direction: row;
    gap: 10px;
    padding: 20px 30px;
  }

  .testimonial-inner { flex-direction: column; }
  .testimonial-img { width: 100%; }

  .sale-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   Responsive: 768px (Mobile)
   ============================================ */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }

  .destinations-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .dest-item {
    height: 260px;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .nav-menu-links { display: none; }

  .hero-content h1 { font-size: 36px; }
  .hero { min-height: 550px; }

  .stats-grid {
    flex-direction: column;
    gap: 35px;
  }

  .sale-content h2 { font-size: 26px; }
  .section-header h2 { font-size: 22px; }

  .features {
    margin-top: -50px;
    padding-bottom: 60px;
  }
}

/* --- Floating Ticket Banner --- */
.ticket-banner {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF6B35, #e85d2c);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255,107,53,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: ticketPulse 2s ease-in-out infinite;
}
.ticket-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}
.ticket-banner i {
  font-size: 1.1rem;
}
@keyframes ticketPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(255,107,53,0.35); }
  50% { box-shadow: 0 4px 25px rgba(255,107,53,0.6); }
}

@media (max-width: 768px) {
  .ticket-banner {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
    justify-content: center;
  }
}
