/* PJ INFRA — Cinematic luxury mobile & global premium polish */

:root {
  --charcoal: #141210;
  --charcoal-soft: #1c1a17;
  --charcoal-card: #232019;
  --charcoal-warm: #2a261f;
  --gold: #d4af37;
  --gold-light: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.35);
  --cream: #f8f5ef;
  --text-soft: #c8c4bc;
  --section-pad-y: clamp(3.5rem, 8vw, 5.5rem);
  --section-pad-x: clamp(1.25rem, 4vw, 2rem);
}

body {
  background: var(--charcoal);
  color: var(--text-soft);
}

/* ——— Sticky luxury header (mobile) ——— */
@media (max-width: 767px) {
  .site-header {
    padding-top: 0.65rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .site-header .header-bar {
    padding: 0.5rem 0.85rem !important;
    background: rgba(20, 18, 16, 0.82) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 215, 0, 0.06);
  }

  .brand-logo-img-header {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  #mobile-toggle {
    width: 2.75rem !important;
    height: 2.75rem !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
  }

  .mobile-menu {
    background: rgba(20, 18, 16, 0.96) !important;
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
  }

  .mobile-nav-link {
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 0.75rem;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link[data-page].active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light) !important;
  }
}

/* ——— Section rhythm & flow ——— */
.section-cinematic {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: linear-gradient(180deg, var(--charcoal-soft) 0%, var(--charcoal) 100%);
}

.section-cinematic-warm {
  background: linear-gradient(165deg, #1f1c18 0%, #141210 45%, #1a1712 100%);
}

.section-flow-overlap {
  margin-top: -2.5rem;
  border-radius: 1.75rem 1.75rem 0 0;
  z-index: 2;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.section-premium-light.section-flow-overlap {
  background: linear-gradient(180deg, #faf7f0 0%, #f8f5ef 40%, #ffffff 100%) !important;
}

.py-20,
.py-16 {
  padding-top: var(--section-pad-y) !important;
  padding-bottom: var(--section-pad-y) !important;
}

/* ——— Premium buttons (shine + glow) ——— */
.btn-premium-lux,
.btn-gold,
.btn-card-primary,
.btn-hero-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-premium-lux::after,
.btn-gold::after,
.btn-card-primary::after,
.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn-premium-lux:hover::after,
.btn-gold:hover::after,
.btn-card-primary:hover::after,
.btn-hero-primary:hover::after {
  transform: translateX(130%);
}

.btn-premium-lux {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #c9a227, #ffd700, #b8860b);
  color: #141210 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 28px rgba(255, 215, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-premium-lux:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.4);
}

.btn-premium-lux i {
  color: #141210 !important;
}

/* ——— Why Choose — luxury glass cards ——— */
.why-choose-section {
  background: linear-gradient(180deg, #1a1814 0%, #141210 50%, #1c1915 100%) !important;
}

.why-choose-section .section-title,
.why-choose-section h2 {
  color: #faf8f4 !important;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card-lux {
  position: relative;
  padding: 1.75rem 1.35rem;
  border-radius: 1.25rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(42, 38, 31, 0.9), rgba(28, 26, 23, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.why-card-lux::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
  opacity: 0.7;
}

.why-card-lux:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 215, 0, 0.12);
}

.why-icon-wrap {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.15rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.1);
}

.why-icon-wrap i {
  font-size: 1.65rem !important;
  color: var(--gold-light) !important;
}

.why-card-lux h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #faf8f4 !important;
  margin: 0 0 0.5rem;
}

.why-card-lux p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-soft) !important;
  margin: 0;
}

/* ——— Amenities — premium animated grid ——— */
.amenities-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #f0ebe3 100%) !important;
}

.amenities-section .section-title {
  color: #141210 !important;
}

.amenities-grid-lux {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .amenities-grid-lux {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .amenities-grid-lux {
    grid-template-columns: repeat(6, 1fr);
  }
}

.amenity-lux {
  position: relative;
  padding: 1.35rem 0.85rem;
  border-radius: 1rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.amenity-lux::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.amenity-lux:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.2);
}

.amenity-lux:hover::after {
  opacity: 1;
}

.amenity-lux-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: transform 0.35s ease;
}

.amenity-lux:hover .amenity-lux-icon {
  transform: scale(1.1) rotate(-3deg);
}

.amenity-lux-icon i {
  font-size: 1.35rem !important;
  color: #b8860b !important;
}

.amenity-lux:hover .amenity-lux-icon i {
  color: var(--gold-light) !important;
}

.amenity-lux p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a2824 !important;
  margin: 0;
  line-height: 1.3;
}

/* ——— Project cards — mobile larger ——— */
@media (max-width: 767px) {
  .premium-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 0 !important;
  }

  .project-card-white {
    max-width: 100%;
    margin: 0 auto;
  }

  .project-card-white .card-media-white {
    min-height: 170px !important;
    max-height: 200px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .project-card-white .card-body-white {
    padding: 1rem 1.05rem 1.2rem !important;
  }

  .project-card-white .card-title-white {
    font-size: 1.1rem !important;
    color: #0c0c0c !important;
  }

  .project-card-white .highlights-grid {
    gap: 0.55rem !important;
  }

  .project-card-white {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(212, 175, 55, 0.2) !important;
  }

  .project-card-white:hover {
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.5),
      0 12px 40px rgba(255, 215, 0, 0.2),
      0 28px 56px rgba(0, 0, 0, 0.12) !important;
  }

  #featured.section-premium-light,
  .section-premium-light {
    padding: 3.5rem 1.25rem 4rem !important;
  }

  .section-premium-light .text-center.mb-12 {
    margin-bottom: 2rem !important;
  }
}

/* ——— Compact premium footer ——— */
.site-footer.footer-lux {
  padding: 2.5rem 0 1.5rem !important;
  background: linear-gradient(180deg, #1a1814 0%, #0f0e0c 100%) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-lux .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .footer-lux .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-lux .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-lux h4 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 0.85rem !important;
}

.footer-lux p,
.footer-lux li a {
  color: var(--text-soft) !important;
  font-size: 0.875rem;
}

.footer-lux .footer-brand-text {
  color: #e8e4dc !important;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 16rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light) !important;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.22);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

.footer-social a i {
  color: var(--gold-light) !important;
}

.footer-divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  margin: 1.25rem 0;
}

.footer-lux .footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: #8a8680 !important;
  padding-top: 0;
}

.footer-lux .footer-bottom p {
  margin: 0.25rem 0;
}

/* Stats on dark */
.section-alt {
  background: linear-gradient(180deg, #1c1a17 0%, #141210 100%) !important;
}

.stat-box.glass-card {
  background: linear-gradient(145deg, rgba(35, 32, 25, 0.95), rgba(24, 22, 19, 0.98)) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* About / light sections on mobile */
@media (max-width: 767px) {
  .section-light {
    background: linear-gradient(180deg, #f5f2eb 0%, #faf8f4 100%) !important;
  }

  .section-light .section-title,
  .section-light h2 {
    color: #141210 !important;
    font-size: clamp(1.65rem, 5vw, 2.25rem) !important;
  }

  .section-light p {
    color: #4a4844 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }
}

.why-grid.reveal-stagger > *,
.amenities-grid-lux.reveal-stagger > * {
  opacity: 1 !important;
  visibility: visible !important;
}

.text-gold-brand {
  color: var(--gold) !important;
}

