/* =============================================
   GALLERY PAGE – EXTENDED STYLES
   (Additions to main style.css)
   ============================================= */

/* ── Hero Secondary (Gallery Page Hero) ── */
.hero-secondary {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 60px;
}
.hero-secondary .hero-bg {
  position: absolute;
  inset: 0;
}
.hero-secondary .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-secondary .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.85) 0%,
    rgba(13,27,42,0.55) 50%,
    rgba(13,27,42,0.35) 100%
  );
}
.hero-secondary .hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-secondary .hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery { background: var(--white); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  background: var(--cream);
  color: var(--text);
  border: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeInUp 0.5s ease both;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0) 45%,
    rgba(13,27,42,0.78) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}
.gallery-info {
  color: var(--white);
  width: 100%;
}
.gallery-info h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.gallery-info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-info p::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold-light);
  font-size: 0.72rem;
}
.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13,27,42,0.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item.hidden { display: none; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials { background: var(--navy); position: relative; overflow: hidden; }
.testimonials::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(200,150,42,0.06);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,150,42,0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testimonial-meta {
  min-width: 0;
}
.testimonial-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 2px;
}
.testimonial-meta span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.testimonial-rating {
  margin-bottom: 14px;
  color: #C9A45C;
  font-size: 0.78rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 18px;
}

.testimonial-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.destination-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(200,150,42,0.25);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.testimonial-meta-bottom > span:last-child {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   PACKAGES DETAILED SECTION
   ============================================= */
.packages-detailed { background: var(--cream); }

.packages-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pkg-accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid #E5DED7;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.pkg-accordion-item.open {
  box-shadow: var(--shadow-md);
}

.pkg-accordion-header {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(200,150,42,0.04) 0%, rgba(200,150,42,0.02) 100%);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.pkg-accordion-item.open .pkg-accordion-header {
  background: linear-gradient(135deg, rgba(200,150,42,0.12) 0%, rgba(200,150,42,0.08) 100%);
}

.pkg-accordion-header:hover {
  background: linear-gradient(135deg, rgba(200,150,42,0.08) 0%, rgba(200,150,42,0.04) 100%);
}

.pkg-acc-left h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 600;
}

.pkg-acc-left p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pkg-acc-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.pkg-acc-duration,
.pkg-acc-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.pkg-acc-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.pkg-acc-price {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.pkg-accordion-header i {
  font-size: 0.9rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.pkg-accordion-item.open .pkg-accordion-header i {
  transform: rotate(180deg);
}

.pkg-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.pkg-accordion-item.open .pkg-accordion-content {
  max-height: 2000px;
}

.pkg-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid #E5DED7;
}

.pkg-detail-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 600;
}

.pkg-detail-col h4 i {
  color: var(--gold);
  font-size: 1rem;
}

.pkg-detail-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-detail-col li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 0;
  position: relative;
}

.pkg-detail-col li::before {
  content: '✓';
  position: absolute;
  left: -18px;
  color: var(--gold);
  font-weight: 700;
}

.pkg-itinerary {
  padding: 24px;
  border-bottom: 1px solid #E5DED7;
}

.pkg-itinerary h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 600;
}

.pkg-itinerary h4 i {
  color: var(--gold);
  font-size: 1rem;
}

.itinerary-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

.step strong {
  color: var(--navy);
  font-weight: 600;
}

.pkg-acc-footer {
  padding: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #E5DED7;
  transition: all var(--transition);
}

.btn-outline-secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =============================================
   STRONG CTA SECTION
   ============================================= */
.cta-strong {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-strong::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(200,150,42,0.08);
  pointer-events: none;
}

.cta-strong::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(200,150,42,0.06);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.96rem;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* =============================================
   RESPONSIVE – TABLET
   ============================================= */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pkg-details { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pkg-accordion-header {
    flex-wrap: wrap;
  }
  .pkg-acc-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item { border-radius: var(--radius-sm); }
  .testimonials-grid { grid-template-columns: 1fr; }
  
  .pkg-accordion-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pkg-acc-right {
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
  }

  .pkg-details { gap: 16px; }
  .pkg-detail-col h4,
  .pkg-itinerary h4 { font-size: 0.85rem; }

  .cta-actions { flex-direction: column; }
  .btn-lg { width: 100%; }

  .gallery-filters {
    gap: 6px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  
  .pkg-accordion-header {
    padding: 16px;
  }

  .pkg-details {
    padding: 16px;
  }

  .pkg-itinerary,
  .pkg-acc-footer {
    padding: 16px;
  }

  .cta-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }

  .testimonial-card {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .hero-secondary {
    min-height: 100vh;
  }

  .hero-secondary .hero-content {
    padding: 120px 24px 80px;
  }
}
/* Gallery spacing */

.gallery {

  padding-top: 60px;

}
@media (max-width: 768px) {
  .hero-secondary .hero-content {
    padding: 40px 20px !important;
  }
}
