:root {
  --primary: #ffffff;
  --accent: #0a0f3c;
  --font-heading: "Montserrat", sans-serif;
  --font-subtitle: "Playfair Display", serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: var(--font-heading);
  color: var(--primary);
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.navbar--hero {
  background: transparent;
}

.navbar--solid {
  background-color: #0d0d0d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: bold;
  font-size: 1rem;
  color: white;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #cfeeff;
}

.ai-link {
  font-weight: 600;
  color: #60a5fa;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.;
  /* Atur agar teks tetap terbaca */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-family: var(--font-subtitle);
  color: #ffffff;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-quotes {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2.5rem;
}

.quote-box {
  background: rgba(103, 127, 124, 0.544);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #fff;
  text-align: justify;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.quote-mark {
  font-size: 2rem;
  font-weight: bold;
  display: block;
  color: #ffffffcc;
  margin-bottom: 0.5rem;
}

.cta-button {
  background: linear-gradient(to right, #1d2671, #c33764);
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
}

.fullscreen {
  height: 100vh;
  display: flex;
  align-items: center;
}

.section {
  padding: 6rem 0;
  scroll-margin-top: 80px;
}

.info-section {
  background-color: #0d0d0d;
  color: #e5e5e5;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.info-layout {
  max-width: 100%;
  width: 100%;
  height: 100%;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.info-left {
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.info-right {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

.section-label,
.section-title {
  animation: fadeInLeft 0.8s ease both;
}

.info-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  border-left: 4px solid #38bdf8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.7s ease both;
}

.info-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #38bdf8;
  border-radius: 6px;
}

.mountain-img {
  max-width: 100%;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.25));
  animation: float 6s ease-in-out infinite;
}

/* about */
.about-section.fullscreen {
  width: 100%;
  min-height: 100vh;
  background: #0d0d0d;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.about-section .info-layout {
  max-width: 100%;
  width: 100%;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-section .info-left {
  flex: 1 1 600px;
}

.about-section .info-right {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}

.about-section .info-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  border-left: 4px solid #38bdf8;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.about-quote-card .quote-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #ffffff;
}

.mountain-small {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.1));
}

.biaya-modern {
  background: #0d0d0d;
  color: #ffffff;
  padding: 6rem 5vw;
  min-height: 100vh;
}

.biaya-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.biaya-title {
  font-family: "Fredoka One", cursive;
  font-size: 2.7rem;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 1px;
}

.biaya-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.biaya-left,
.biaya-right {
  flex: 1;
  min-width: 250px;
}

.biaya-left h3,
.biaya-right h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.sub {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: #c2c2c2;
  margin-top: 0.25rem;
}

.biaya-left ul,
.biaya-right ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.biaya-left ul li,
.biaya-right ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #d4d4d4;
  line-height: 1.5;
}

.biaya-center {
  flex: 1;
  min-width: 240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pendaki-img {
  width: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.lokasi h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.lokasi p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.btn-next {
  background: #f97316;
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
}

.btn-next:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-next span {
  margin-left: 0.5rem;
}

/* jalur pendakian */
.jalur-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.jalur-header-left {
  display: flex;
  flex-direction: column;
}

.jalur-title {
  text-transform: uppercase;
  color: #9ca3af;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.jalur-subtitle {
  font-size: 2rem;
  font-weight: bold;
  color: #111;
  margin: 0;
}

.slider-pagination {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  align-self: flex-end;
}

.jalur-slider-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.jalur-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.jalur-slider::-webkit-scrollbar {
  display: none;
}

.pos-card {
  flex: 0 0 300px;
  background: #fff;
  color: #111;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pos-card:hover {
  transform: translateY(-5px);
}

.pos-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.pos-content {
  padding: 1rem;
}

.pos-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pos-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.slider-btn {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: -0.5rem;
}

.slider-btn.next {
  right: -0.5rem;
}

.section.jalur-section {
  background: #ffffff;
  padding: 5rem 2rem;
  color: #111;
}

.jalur-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* tips pendakian */
.tips-section {
  background-color: #fff;
  padding: 6rem 2rem;
  color: #111;
}

.tips-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.tip-card {
  background: #f9fafb;
  border-radius: 1.5rem;
  padding: 1.5rem 1.25rem;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-left: 4px solid transparent;
}

.tip-card:hover {
  transform: translateY(-4px);
}

.tip-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tip-number {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.tip-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #444;
}

.tip-card.green {
  border-left-color: #10b981;
}

.tip-card.yellow {
  border-left-color: #facc15;
}

.tip-card.pink {
  border-left-color: #ec4899;
}

.tip-highlight {
  background: linear-gradient(to right, #fff7ed, #fef9c3);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.highlight-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 1rem;
}

.highlight-desc {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

.tip-svg {
  text-align: center;
}

.tip-svg svg {
  margin-bottom: 0.75rem;
  height: 40px;
}

.tip-svg .tip-number {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* footer */
.footer-section {
  background-color: #111;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-right {
  flex: 1 1 380px;
}

.footer-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-title span {
  color: #f97316;
  font-family: "Playfair Display", serif;
}

.faq-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-form textarea,
.faq-form input {
  background-color: #1e1e1e;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
}

.faq-form small {
  color: #aaa;
  font-size: 0.75rem;
}

.send-btn {
  background-color: #f97316;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 0.4rem;
  font-weight: 600;
  width: fit-content;
  cursor: pointer;
  transition: background-color 0.3s;
}

.send-btn:hover {
  background-color: #ea5b06;
}

.footer-right-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-subtext {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.ai-button {
  background-color: transparent;
  border: 1px solid #f97316;
  color: #f97316;
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.ai-button:hover {
  background-color: #f97316;
  color: #fff;
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  display: block; /* atau hilangkan flex jika hanya ada satu elemen */
}

/* Animasi keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  /* hero */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-quotes {
    grid-template-columns: 1fr;
  }

  .fullscreen {
    height: auto;
    padding: 4rem 0;
  }

  .info-layout {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .info-left {
    height: auto;
    text-align: center;
  }

  .info-right {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 2rem;
    text-align: center;
  }

  .section-label {
    text-align: center;
    display: block;
  }

  .info-box {
    padding: 1.5rem;
  }

  .mountain-img {
    max-width: 70%;
  }

  /* about*/
  .about-section .info-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-section .info-left,
  .about-section .info-right {
    width: 100%;
  }

  .about-quote-card {
    margin-top: 2rem;
  }

  /* estimasi */
  .biaya-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .biaya-left,
  .biaya-right {
    margin-top: 2rem;
  }

  .biaya-title {
    font-size: 2.2rem;
  }

  .btn-next {
    margin-top: 1rem;
  }

  /* jalur pendakian */
  .jalur-title {
    font-size: 2rem;
  }

  .jalur-slider {
    gap: 1rem;
  }

  .slider-btn.prev {
    left: 0;
  }

  .slider-btn.next {
    right: 0;
  }

  /* tips */
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* About section side by side for large screens */
@media (min-width: 769px) {
  .about-section .info-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .about-section .info-left,
  .about-section .info-right {
    width: 48%;
    /* Slightly reduced to ensure there's space between them */
  }

  .about-section .info-right {
    display: flex;
    justify-content: flex-end;
  }

  .mountain-small {
    max-width: 100%;
    /* Full width for the image */
  }
}

/* Info Section - About Gunung Penanggungan */
.info-layout {
  max-width: 100%;
  width: 100%;
  height: 100%;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.info-left,
.info-right {
  flex: 1 1 45%;
  /* Ensure they take 45% width, which is flexible */
}

.info-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {

  /* On mobile or smaller screens */
  .info-layout {
    flex-direction: column;
    /* Stack the content vertically */
    align-items: center;
    text-align: center;
  }

  .info-left,
  .info-right {
    flex: 1 1 100%;
    /* Each section will take full width */
    text-align: center;
  }

  .info-right {
    margin-top: 2rem;
  }

  /* Adjust the mountain image in the right section */
  .mountain-small {
    max-width: 80%;
    /* Ensure it doesn't overflow the container */
  }

  /* Adjust section title font size */
  .section-title {
    font-size: 2rem;
  }

  /* Adjust section label for better responsiveness */
  .section-label {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {

  /* For larger screens */
  .info-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .info-left,
  .info-right {
    width: 48%;
    /* Slightly reduced to ensure there's space between them */
  }

  .info-right {
    display: flex;
    justify-content: flex-end;
  }

  .mountain-small {
    max-width: 100%;
    /* Full width for the image */
  }
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 101;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0d0d0d;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
  }
}
