/* Wonder Nusantara Modern Styles */
:root {
  --primary-color: #00303f;
  --primary-dark: #00222e;
  --primary-gradient: linear-gradient(135deg, #00303f 0%, #004d66 100%);
  --secondary-color: #f3e9dc;
  --accent-color: #ffa726;
  --accent-gradient: linear-gradient(135deg, #ffa726 0%, #ff7043 100%);
  --accent-gold: #ffd700;
  --accent-teal: #26a69a;
  --accent-coral: #ff7043;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #fdf6ef;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(255, 167, 38, 0.3);
  --font-family: 'Inter', sans-serif;
}

body {
  font-family: var(--font-family);
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fdf6ef 50%, #f8f9fa 100%);
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--accent-color);
  color: var(--white);
}

::-moz-selection {
  background: var(--accent-color);
  color: var(--white);
}

a:focus,
button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* =========================================
   Hero Section (Immersive)
========================================= */
.hero-section {
  position: relative;
  width: 80%;
  /* STRICTLY 80% Boxed Layout */
  max-width: 1400px;
  height: 500px;
  min-height: 400px;
  margin: 20px auto;
  /* Centered */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 1000px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--accent-color);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.btn-hero-primary {
  background: var(--accent-gradient);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(255, 167, 38, 0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hero-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 167, 38, 0.5), var(--shadow-glow);
  border-color: var(--accent-gold);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
  border-color: var(--white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Marketplace Navigation Section
========================================= */
.mp-nav-section {
  padding: 30px 20px;
  background: transparent;
  margin-bottom: 0;
}

.mp-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.mp-nav-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
}

.mp-pills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.mp-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.mp-pill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transition: left 0.4s ease;
  z-index: 0;
}

.mp-pill-item:hover::before {
  left: 0;
}

.mp-pill-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.mp-pill-item:hover {
  color: var(--white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.mp-pill-item:hover i {
  color: var(--white);
  transform: rotate(90deg);
}

.mp-pill-item span {
  position: relative;
  z-index: 1;
}

/* =========================================
   Section Common Customization
========================================= */
.modern-section {
  padding: 70px 20px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.15rem;
}

/* =========================================
   Jelajah Tabs (Pills)
========================================= */
.jelajah-nav-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: left 0.4s ease;
  z-index: 0;
}

.nav-pill:hover::before,
.nav-pill.active::before {
  left: 0;
}

.nav-pill span {
  position: relative;
  z-index: 1;
}

.nav-pill:hover,
.nav-pill.active {
  color: var(--white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.nav-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0.2);
  transition: filter 0.3s;
  position: relative;
  z-index: 1;
}

.nav-pill:hover img,
.nav-pill.active img {
  filter: brightness(0) invert(1);
}

/* =========================================
   Cards (Floating)
========================================= */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
}

.modern-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.modern-card:hover::before {
  opacity: 1;
}

.modern-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 167, 38, 0.2);
  border-color: rgba(255, 167, 38, 0.3);
}

.card-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .card-image-wrapper img {
  transform: scale(1.1) rotate(1deg);
}

.card-overlay-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gradient);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
}

.modern-card:hover .card-overlay-btn {
  opacity: 1;
  transform: translateY(0) scale(1.05);
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 12px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.modern-card:hover .card-title {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: #888;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================
   Marketplace Horizontal Scroll
========================================= */
.horizontal-scroll-container {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 40px 60px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  max-width: 100%;
  margin: 0 auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
}

.horizontal-scroll-container::before,
.horizontal-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 60px;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}

.horizontal-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 1), transparent);
}

.horizontal-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 249, 250, 1), transparent);
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: center;
}

/* =========================================
   Footer Styling (Fixes)
========================================= */
.new-footer {
  background: linear-gradient(135deg, #00303f 0%, #001a24 100%);
  color: var(--white);
  padding: 60px 20px 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.new-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-main-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-column h4 {
  color: var(--accent-color);
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Fix social icons size */
.social-icons img {
  width: 40px;
  height: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1);
}

.social-icons a:hover img {
  transform: scale(1.2) translateY(-3px);
  filter: drop-shadow(0 0 15px var(--accent-color));
}

.footer-info-section {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
}

.why-choose-us-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.why-choose-us-card p,
.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-footer-tertiary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s;
}

.btn-footer-tertiary:hover {
  background-color: #ffe033;
}

.footer-copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   Responsive Fixes
========================================= */
@media (max-width: 900px) {
  .footer-info-section {
    grid-template-columns: 1fr;
    /* Stack footer info sections */
    gap: 30px;
    text-align: center;
  }

  .contact-details,
  .action-buttons {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 40px;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    padding: 14px 20px;
    text-align: center;
  }

  .modern-section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .mp-nav-title {
    font-size: 1.5rem;
  }

  .mp-pills-container {
    gap: 12px;
  }

  .mp-pill-item {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Fixed Mobile Nav Grid */
  .jelajah-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns */
    gap: 12px;
  }

  .nav-pill {
    padding: 12px 10px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    flex-direction: column;
    /* Icon top, text bottom */
    text-align: center;
    gap: 8px;
  }

  /* Adjust icon size for vertical stacking */
  .nav-pill img {
    width: 28px;
    height: 28px;
  }

  .modern-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-main-info {
    grid-template-columns: 1fr;
    /* Stack footer columns */
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .action-buttons {
    display: flex;
    justify-content: center;
  }
}

/* Mobile Hero Height Adjustment */
@media (max-width: 768px) {
  .hero-section {
    width: 95% !important;
    /* Mobile: 95% */
    height: 60vh !important;
    min-height: 400px !important;
    border-radius: 16px;
  }

  .hero-content-wrapper {
    width: 95%;
  }
}

/* =========================================
   Utility Animations
========================================= */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

.shimmer-effect {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Smooth page transitions */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-transition.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to top button (if needed) */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}