/* ============================================
   All Packages Page — Premium Design
   Palette: Warm earth tones with orange accent
   ============================================ */

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

:root {
  --ap-orange: #FF6B35;
  --ap-orange-light: #FF8C42;
  --ap-dark: #1a1a2e;
  --ap-dark-soft: #2d2d44;
  --ap-cream: #faf8f5;
  --ap-parchment: #f3efe9;
  --ap-snow: #ffffff;
  --ap-stone: #4a5568;
  --ap-stone-light: #718096;
  --ap-text: #2d3748;
  --ap-border: #e8e0d6;
  --ap-radius: 16px;
  --ap-radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ap-text);
  background: var(--ap-snow);
  line-height: 1.7;
  overflow-x: hidden;
}

.ap-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Header ===== */
.ap-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
}

.ap-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 0.6rem 2rem;
}

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

.ap-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ap-snow);
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.ap-header.scrolled .ap-logo { color: var(--ap-dark); }

.ap-logo-img {
  width: 38px; height: 38px;
  border-radius: 6px;
  object-fit: contain;
}

.ap-nav-links {
  display: flex;
  gap: 0.5rem;
}

.ap-nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.ap-nav-links a:hover,
.ap-nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: var(--ap-snow);
}

.ap-header.scrolled .ap-nav-links a { color: var(--ap-stone); }
.ap-header.scrolled .ap-nav-links a:hover,
.ap-header.scrolled .ap-nav-links a.active {
  background: var(--ap-cream);
  color: var(--ap-dark);
}

.ap-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ap-menu-btn span {
  width: 24px; height: 2px;
  background: var(--ap-snow);
  border-radius: 2px;
  transition: all 0.3s;
}

.ap-header.scrolled .ap-menu-btn span { background: var(--ap-dark); }
.ap-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ap-menu-btn.active span:nth-child(2) { opacity: 0; }
.ap-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero ===== */
.ap-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ap-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/Hero.jpg') center/cover no-repeat;
  transform: scale(1.05);
}

.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,0.4) 0%,
    rgba(26,26,46,0.6) 50%,
    rgba(26,26,46,0.9) 100%
  );
}

.ap-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ap-snow);
  padding: 2rem;
  max-width: 800px;
}

.ap-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
  animation: apFadeUp 0.8s ease 0.2s both;
}

.ap-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  animation: apFadeUp 0.8s ease 0.4s both;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ap-hero-sub {
  font-size: 1.1rem;
  opacity: 0.8;
  margin: 0 0 2rem;
  animation: apFadeUp 0.8s ease 0.6s both;
}

.ap-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  animation: apFadeUp 0.8s ease 0.8s both;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.ap-hero-stats.revealed { opacity: 1; transform: translateY(0); }

.ap-hero-stat { text-align: center; }

.ap-hero-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ap-orange-light);
}

.ap-hero-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

@keyframes apFadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Head ===== */
.ap-section-head {
  text-align: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.ap-section-head.revealed { opacity: 1; transform: translateY(0); }

.ap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ap-orange);
  margin-bottom: 0.6rem;
}

.ap-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ap-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.ap-section-head h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--ap-orange);
  margin: 0.75rem auto 0;
  border-radius: 3px;
}

.ap-section-head p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ap-stone-light);
  font-size: 1.05rem;
}

/* ===== Packages Grid ===== */
.ap-packages {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--ap-cream) 0%, var(--ap-parchment) 100%);
}

.ap-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ===== Card ===== */
.ap-card {
  background: var(--ap-snow);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.ap-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.ap-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.ap-card.revealed:hover {
  transform: translateY(-12px);
}

/* Card image */
.ap-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.ap-card:hover .ap-card-img img {
  transform: scale(1.1);
}

.ap-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

.ap-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: var(--ap-orange);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ap-badge i { font-size: 0.65rem; }

.ap-badge-spiritual { color: #8b5cf6; }
.ap-badge-premium { color: #d97706; }

.ap-card-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
}

.ap-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Card body */
.ap-card-body {
  padding: 1.75rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ap-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--ap-dark);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.ap-route {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ap-stone-light);
  font-size: 0.83rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.ap-route i {
  color: var(--ap-orange);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.ap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.ap-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background: #faf5ef;
  border: 1px solid #f0e6d8;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a4a3a;
  transition: all 0.3s;
}

.ap-chips span i {
  color: var(--ap-orange);
  font-size: 0.65rem;
}

.ap-card:hover .ap-chips span {
  background: #fff5eb;
  border-color: #ffd9b3;
}

/* Card actions */
.ap-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0ebe4;
}

.ap-btn-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--ap-orange), var(--ap-orange-light));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,107,53,0.25);
}

.ap-btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.35);
}

.ap-btn-view i {
  font-size: 0.72rem;
  transition: transform 0.3s;
}

.ap-btn-view:hover i {
  transform: translateX(4px);
}

.ap-btn-wa {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.15rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(37,211,102,0.25);
}

.ap-btn-wa:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

/* ===== CTA Section ===== */
.ap-cta {
  padding: 5rem 0;
  background: var(--ap-cream);
}

.ap-cta-card {
  background: linear-gradient(135deg, var(--ap-dark), var(--ap-dark-soft));
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.ap-cta-card.revealed { opacity: 1; transform: translateY(0); }

.ap-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ap-cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ap-snow);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.ap-cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.ap-cta-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ap-cta-wa, .ap-cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--ap-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.ap-cta-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.ap-cta-wa:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

.ap-cta-contact {
  background: rgba(255,255,255,0.1);
  color: var(--ap-snow);
  border: 1px solid rgba(255,255,255,0.2);
}

.ap-cta-contact:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.ap-footer {
  background: linear-gradient(135deg, #0f0f1a, var(--ap-dark), #1e1e36);
  color: rgba(255,255,255,0.8);
}

.ap-footer-top {
  padding: 4.5rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.ap-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  opacity: 0.75;
}

.ap-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.ap-footer-logo img {
  width: 42px; height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.ap-footer-logo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ap-snow);
  margin: 0;
  font-weight: 700;
}

.ap-footer-social {
  display: flex;
  gap: 0.6rem;
}

.ap-footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-snow);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.ap-footer-social a:hover {
  background: var(--ap-orange);
  transform: translateY(-3px);
  border-color: var(--ap-orange);
}

.ap-footer-col h4 {
  color: var(--ap-snow);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.ap-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--ap-orange);
  border-radius: 2px;
}

.ap-footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.ap-footer-col a:hover { color: var(--ap-snow); padding-left: 0.5rem; }

.ap-footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.ap-footer-contact p i {
  color: var(--ap-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
}

.ap-footer-contact a {
  display: inline;
  padding: 0;
  color: rgba(255,255,255,0.65);
}

.ap-footer-contact a:hover { color: var(--ap-snow); padding-left: 0; }

.ap-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ap-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.ap-footer-bottom-links { display: flex; gap: 1.5rem; }

.ap-footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
}

.ap-footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== Back to Top ===== */
.ap-back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--ap-dark);
  color: var(--ap-snow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(26,26,46,0.3);
}

.ap-back-top:hover { background: var(--ap-orange); transform: translateY(-3px); }
.ap-back-top.visible { opacity: 1; visibility: visible; }

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

@media (max-width: 768px) {
  .ap-nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--ap-snow);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .ap-nav-links.active { right: 0; }

  .ap-nav-links a {
    color: var(--ap-stone);
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .ap-nav-links a:hover,
  .ap-nav-links a.active {
    background: var(--ap-cream);
    color: var(--ap-dark);
  }

  .ap-menu-btn { display: flex; }

  .ap-hero { min-height: 380px; height: 50vh; }
  .ap-hero-stats { gap: 2rem; }
  .ap-hero-stat-num { font-size: 1.5rem; }

  .ap-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .ap-card-img { height: 220px; }
  .ap-packages { padding: 4rem 1.5rem; }

  .ap-cta-card { padding: 3rem 2rem; }
  .ap-cta-btns { flex-direction: column; align-items: center; }
  .ap-cta-wa, .ap-cta-contact { width: 100%; max-width: 280px; justify-content: center; }

  .ap-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ap-footer-bottom { flex-direction: column; text-align: center; }
  .ap-footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
  .ap-hero-stats { flex-direction: column; gap: 1rem; }
  .ap-card-body { padding: 1.5rem 1.25rem 1.25rem; }
}
