/* ============================================================
   PALM RESORT — inner.css
   Shared styles for all inner pages (About, Menu, Why Us, Gallery, Reviews, Contact)
   Imports and extends styles.css
   ============================================================ */

/* Page hero banner (inner pages) */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px; /* offset fixed navbar */
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
}
.page-hero-bg img { display: none; } /* background set via inline style */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,20,0.88) 0%, rgba(31,61,43,0.5) 60%, rgba(10,20,14,0.65) 100%);
}

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

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.page-breadcrumb a { color: var(--gold); transition: var(--transition); }
.page-breadcrumb a:hover { color: var(--white); }
.page-breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* Navbar always dark on inner pages */
.navbar-inner {
  background: rgba(31, 61, 43, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  /* NO backdrop-filter here — breaks position:fixed children */
}
.navbar-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}

/* About page extras */
.about-page .about-grid {
  gap: 4rem;
}
.about-page .about-img {
  height: 560px;
}

.values-section {
  background: #f0ede5;
  padding: 80px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Menu page — full expanded grid */
.menu-page-section { background: var(--cream); }

.menu-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-tab {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(31,61,43,0.25);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--green-dark);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(31,61,43,0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-category-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(201,166,90,0.5), transparent);
  margin-left: 0.5rem;
}

.menu-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Why Us page */
.why-page-main { background: var(--green-dark); }
.stats-section { background: var(--cream-dark); padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Gallery page */
.gallery-page-section { background: var(--cream); }
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-page-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-page-item:nth-child(1),
.gallery-page-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-page-item:not(:nth-child(1)):not(:nth-child(5)) {
  aspect-ratio: 4/3;
}
.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-page-item:hover img { transform: scale(1.1); }
.gallery-page-item .gallery-overlay { opacity: 0; transition: opacity 0.35s ease; }
.gallery-page-item:hover .gallery-overlay { opacity: 1; }

/* Reviews page */
.reviews-page-section { background: var(--cream); }
.reviews-hero-stat {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}
.rhs-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}
.rhs-item span { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.rhs-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.15); }
.reviews-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Contact page */
.contact-page-section { background: var(--cream); padding: 80px 0; }

/* Responsive inner pages */
@media (max-width: 1024px) {
  .menu-full-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page-item:nth-child(1),
  .gallery-page-item:nth-child(5) { grid-column: span 2; }
  .reviews-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .menu-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .gallery-page-item:nth-child(1),
  .gallery-page-item:nth-child(5) { grid-column: span 1; aspect-ratio: 4/3; }
  .reviews-full-grid { grid-template-columns: 1fr; }
  .reviews-hero-stat { flex-direction: column; gap: 1.5rem; }
  .rhs-divider { width: 60px; height: 1px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .menu-full-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .filter-tab { font-size: 0.78rem; padding: 0.45rem 1rem; }
}
