/* ==========================================================
   DREAM VACATIONS — Inner Pages Stylesheet (hotels / restaurants / beaches)
   ========================================================== */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero--video {
  background: #0a1432;
}

.page-hero--video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,50,0.5), rgba(10,20,50,0.72));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 760px;
}

.page-hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  text-shadow: 0 3px 20px rgba(0,0,0,0.35);
}

.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ===== PAGE INTRO ===== */
.page-intro {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid #eee;
}

.page-intro p {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  padding: 5rem 0;
}

.page-section.bg-light {
  background: #f8f7f4;
}

.page-section.bg-navy {
  background: #0e1830;
}

/* ===== MASONRY PHOTO GALLERY ===== */
.photo-gallery {
  columns: 4;
  column-gap: 0.75rem;
}

.photo-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* reuse .gallery-overlay from style.css */

/* ===== VIDEO GRID ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.video-card {
  background: #16233a;
  border-radius: 6px;
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.video-card-info {
  padding: 1.25rem 1.5rem;
  color: #fff;
}

.video-card-info h4 {
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.25rem;
}

.video-card-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== PAGE CTA STRIP ===== */
.page-cta-strip {
  padding: 5rem 0;
  background: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .photo-gallery { columns: 3; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { height: 55vh; }
  .photo-gallery { columns: 2; }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .photo-gallery { columns: 2; }
  .page-hero-content h1 { font-size: 2rem; }
}
