/* Green Pinnacle — Premium project landing page */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Roboto:wght@300;400;500;600;700&display=swap');

:root {
  --gp-green: #1a4d2e;
  --gp-green-dark: #0f3320;
  --gp-gold: #c9a227;
  --gp-gold-light: #ffd700;
  --gp-cream: #f8f5ef;
  --gp-warm: #f0ebe3;
  --gp-charcoal: #2a2824;
  --gp-white: #ffffff;
  --gp-shadow: 0 12px 48px rgba(26, 77, 46, 0.08);
  --gp-font-display: 'Cormorant Garamond', Georgia, serif;
  --gp-font-body: 'Roboto', sans-serif;
}

html:has(body.gp-page) {
  scroll-behavior: auto !important;
  overflow-y: auto !important;
  height: auto !important;
}

html.lenis:has(body.gp-page),
html.lenis:has(body.gp-page) body {
  height: auto !important;
  overflow: visible !important;
}

body.gp-page {
  font-family: var(--gp-font-body);
  background: var(--gp-cream) !important;
  color: var(--gp-charcoal);
  overflow-x: hidden;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100%;
  touch-action: pan-y;
}

.gp-page .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gp-gold);
  margin-bottom: 0.75rem;
}

.gp-page .section-heading {
  font-family: var(--gp-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gp-green-dark);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.gp-page .section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5c5a54;
  max-width: 42rem;
  margin: 0 auto;
}

.gp-section {
  padding: clamp(4rem, 10vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.gp-section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

/* ——— Hero (image only) ——— */
.gp-hero {
  position: relative;
  background: var(--gp-green-dark);
  overflow: hidden;
}

.gp-hero-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.gp-hero-bg img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.gp-intro-visual,
.gp-about-visual,
.gp-location-visual {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 77, 46, 0.1);
  background: var(--gp-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.gp-intro-visual img,
.gp-about-visual img,
.gp-location-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.gp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 51, 32, 0.35) 0%, rgba(15, 51, 32, 0.5) 45%, rgba(15, 51, 32, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 51, 32, 0.4) 0%, transparent 50%, rgba(15, 51, 32, 0.3) 100%);
  pointer-events: none;
}

.gp-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 70% 45% at 50% 75%, rgba(255, 215, 0, 0.2) 0%, transparent 55%);
  animation: gpGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gpGlowPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.gp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.gp-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
  animation: gpParticleFloat 8s ease-in-out infinite;
}

@keyframes gpParticleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-40px) translateX(10px); opacity: 0.9; }
}

.gp-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 52rem;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.gp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--gp-gold-light);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

.gp-hero-title {
  font-family: var(--gp-font-display);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 0.25rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.gp-hero-subtitle {
  font-family: var(--gp-font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gp-gold-light);
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
}

.gp-hero-loc {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.35rem;
}

.gp-hero-bhk {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gp-gold-light);
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
}

.gp-hero-desc {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

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

.gp-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.gp-btn:hover::after {
  transform: translateX(120%);
}

.gp-btn-primary {
  background: linear-gradient(135deg, #c9a227, #ffd700, #b8860b);
  color: var(--gp-green-dark) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25), 0 0 36px rgba(255, 215, 0, 0.25);
}

.gp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 48px rgba(255, 215, 0, 0.35);
}

.gp-btn-primary i {
  color: var(--gp-green-dark) !important;
}

.gp-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 215, 0, 0.55);
  backdrop-filter: blur(10px);
}

.gp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.gp-btn-outline i {
  color: var(--gp-gold-light) !important;
}

.gp-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: gpBounce 2s ease-in-out infinite;
}

.gp-scroll-indicator i {
  color: var(--gp-gold-light) !important;
  font-size: 1.25rem;
}

@keyframes gpBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.gp-reveal {
  opacity: 0;
  transform: translateY(32px);
}

.gp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ——— Intro (image + info cards) ——— */
.gp-intro {
  background: var(--gp-white);
  padding-top: clamp(3rem, 8vw, 5rem);
}

.gp-intro-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .gp-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.gp-intro-visual {
  min-height: 0;
}

.gp-reveal-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.gp-intro-visual.gp-reveal-scroll,
.gp-about-visual.gp-reveal-scroll,
.gp-location-visual.gp-reveal-scroll,
.gp-location-split.gp-reveal-scroll {
  opacity: 1 !important;
}

.gp-about-visual img {
  transform: none;
}

.gp-intro-cards {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.gp-info-card {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: var(--gp-cream);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: var(--gp-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.12);
}

.gp-info-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8860b !important;
  margin-bottom: 0.4rem;
}

.gp-info-card-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f3320 !important;
  margin: 0;
}

.gp-info-card-text {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a !important;
  margin: 0;
  line-height: 1.55;
}

.gp-info-card-text i {
  color: #1a4d2e !important;
  margin-right: 0.35rem;
}

.gp-info-card-wide .gp-info-card-text {
  font-weight: 400;
  color: #3d3b36 !important;
}

/* ——— Stats ——— */
.gp-stats {
  background: linear-gradient(180deg, var(--gp-white) 0%, var(--gp-cream) 100%);
  margin-top: 0;
  position: relative;
  z-index: 5;
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.06);
}

.gp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .gp-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gp-stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--gp-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.gp-stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--gp-gold);
  box-shadow: 0 20px 50px rgba(201, 162, 39, 0.15);
}

.gp-stat-value {
  font-family: var(--gp-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gp-green);
  line-height: 1;
  margin: 0 0 0.35rem;
}

.gp-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6860;
  margin: 0;
}

/* ——— About ——— */
.gp-about {
  background: var(--gp-white);
}

.gp-about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .gp-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.gp-about-visual {
  position: relative;
  min-height: 0;
}

.gp-about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 1.5rem;
  pointer-events: none;
}

.gp-about-text .section-heading {
  text-align: left;
}

.gp-about-text p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5c5a54;
  margin: 0 0 1.25rem;
}

.gp-config-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gp-config-card {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: var(--gp-cream);
  border: 1px solid rgba(26, 77, 46, 0.12);
}

.gp-config-card strong {
  color: var(--gp-green);
  font-size: 1rem;
}

.gp-config-card span {
  display: block;
  font-size: 0.875rem;
  color: #6b6860;
  margin-top: 0.25rem;
}

/* ——— Amenities ——— */
.gp-amenities {
  background: linear-gradient(180deg, var(--gp-cream) 0%, var(--gp-warm) 100%);
}

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

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

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

.gp-amenity-card {
  background: var(--gp-white);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 1rem;
  padding: 1.35rem 0.85rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gp-amenity-card:hover {
  transform: translateY(-6px);
  border-color: var(--gp-gold);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.18);
}

.gp-amenity-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(26, 77, 46, 0.08), rgba(201, 162, 39, 0.1));
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.gp-amenity-icon i {
  font-size: 1.35rem !important;
  color: var(--gp-green) !important;
}

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

.gp-amenity-card p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gp-charcoal);
  margin: 0;
  line-height: 1.3;
}

/* ——— Location ——— */
.gp-location {
  background: var(--gp-cream);
}

.gp-location-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .gp-location-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.gp-location-visual {
  min-height: 0;
}

.gp-location .section-heading,
.gp-location .section-lead {
  color: #0f3320 !important;
}

.gp-location-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gp-loc-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--gp-white);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 0.85rem;
  box-shadow: var(--gp-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gp-loc-card:hover {
  transform: translateX(6px);
  border-color: var(--gp-gold);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.15);
}

.gp-loc-card i {
  color: #1a4d2e !important;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.gp-loc-card span {
  color: #1a1a1a !important;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

/* Why Choose — black heading */
body.gp-page #gp-why .section-heading,
body.gp-page .gp-why .gp-section-header .section-heading {
  color: #000000 !important;
}

/* ——— Gallery ——— */
.gp-gallery {
  background: var(--gp-cream);
}

.gp-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gp-gallery-masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
  }

  .gp-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gp-gallery-item:nth-child(2) {
    grid-row: span 1;
  }
}

.gp-gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  min-height: 160px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  box-shadow: var(--gp-shadow);
}

.gp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gp-gallery-item:hover img {
  transform: scale(1.08);
}

.gp-gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(15, 51, 32, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gp-gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.gp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 51, 32, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gp-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.gp-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ——— Why choose ——— */
.gp-why {
  background: var(--gp-white);
}

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

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

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

.gp-why-card {
  padding: 1.75rem 1.35rem;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 239, 0.98));
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: var(--gp-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gp-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(201, 162, 39, 0.12);
}

.gp-why-card i {
  font-size: 1.5rem !important;
  color: var(--gp-gold) !important;
  margin-bottom: 0.85rem;
}

.gp-why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gp-green-dark);
  margin: 0 0 0.4rem;
}

.gp-why-card p {
  font-size: 0.85rem;
  color: #6b6860;
  margin: 0;
  line-height: 1.5;
}

/* ——— CTA ——— */
.gp-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 7rem) 1.5rem;
  overflow: hidden;
  text-align: center;
}

.gp-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gp-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px) brightness(0.45);
  transform: scale(1.1);
}

.gp-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.85) 0%, rgba(15, 51, 32, 0.9) 50%, rgba(201, 162, 39, 0.25) 100%);
}

.gp-cta-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin: 0 auto;
}

.gp-cta .section-heading {
  color: #fff !important;
}

.gp-cta .section-lead {
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 2rem;
}

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

/* ——— Section header center ——— */
.gp-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gp-section-header .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Mobile — full hero image */
@media (max-width: 768px) {
  .gp-hero-bg img {
    object-fit: contain;
  }

  .gp-intro-visual img,
  .gp-about-visual img,
  .gp-location-visual img {
    max-height: 210px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  .gp-intro-visual,
  .gp-about-visual,
  .gp-location-visual {
    padding: 0.75rem;
    max-width: 320px;
    margin-inline: auto;
    width: 100%;
  }

  .gp-about-visual::after {
    border-radius: 1.25rem;
  }

  .gp-intro-grid,
  .gp-about-grid,
  .gp-location-split {
    gap: 1.5rem;
  }
}
