/* ============================================
   Packages Page — Curug Song
   Isolated via p- prefix
   ============================================ */

/* --- Navbar --- */
.p-navbar {
  background: #fff;
  padding: 24px 40px;
  position: relative;
  z-index: 10;
}

.p-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2EC4B6;
  text-decoration: none;
  line-height: 1.2;
}

.p-logo:hover {
  opacity: 0.85;
  transition: all 0.2s ease;
}

.p-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.5px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-nav-link:hover,
.p-nav-link:focus,
.p-nav-link--active {
  color: #2EC4B6;
}

/* --- Banner --- */
.p-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.p-banner-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  margin: 0;
}

/* --- List Section --- */
.p-list {
  background: var(--light-bg, #f8f9fa);
  padding: 80px 0;
}

/* reuse .package-card, .package-img, .package-body, .package-price, .package-meta,
   .package-rating, .package-rating .fa-star, .package-rating .fa-star.active
   from style.css - no changes needed */

/* --- Footer --- */
.p-footer {
  background: #F5F5F5;
  padding: 80px 40px;
}

.p-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.p-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-footer-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2EC4B6;
  margin: 0 0 20px 0;
}

.p-footer-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: #777;
  margin: 0;
}

/* --- Social --- */
.p-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #BBB;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-social-link i {
  font-size: 0.875rem;
  color: #fff;
}

.p-social-link:hover {
  background: #2EC4B6;
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(46, 196, 182, 0.3);
}

/* --- Thumbnails --- */
.p-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.p-thumb {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
}

.p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.p-thumb:hover img {
  transform: scale(1.08);
}

/* --- Copyright Bar --- */
.p-footer-bar {
  background: #2EC4B6;
  padding: 18px 40px;
  text-align: center;
}

.p-footer-bar p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  color: #fff;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
  .p-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-footer-col:last-child {
    grid-column: span 2;
  }

  .p-thumbs {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 1fr;
  }
}

@media (max-width: 767px) {
  .p-navbar {
    padding: 20px 24px;
  }

  .p-nav-links {
    gap: 20px;
  }

  .p-nav-link {
    font-size: 0.8125rem;
  }

  .p-banner {
    height: 240px;
  }

  .p-banner-title {
    font-size: 2rem;
  }

  .p-list {
    padding: 48px 0;
  }

  .p-footer {
    padding: 48px 24px;
  }

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

  .p-footer-col {
    align-items: center;
    text-align: center;
  }

  .p-footer-col:last-child {
    grid-column: span 1;
  }

  .p-thumbs {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

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