/* ── Section redesign — Godrej Bannerghatta ── */

/* Shared typography helpers */
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

section.light .section-title {
  color: var(--green-deep);
}

section.light .section-title em {
  color: var(--green-soft);
}

section.alt .section-title,
#configs .section-title,
#floorplan .section-title,
#contact .section-title {
  color: var(--ivory);
}

.section-intro {
  font-size: var(--fs-base);
  line-height: 1.85;
  margin-top: 14px;
  max-width: 640px;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
}

section.light .section-intro {
  color: rgba(15, 35, 24, 0.72);
}

section.alt .section-intro,
#configs .section-intro,
#floorplan .section-intro {
  color: var(--text-light);
}

.text-highlight {
  color: var(--ivory);
  font-weight: 500;
}

section.light .text-highlight {
  color: var(--green-deep);
}

/* Section rhythm & backgrounds */
section {
  position: relative;
  overflow: hidden;
}

section.alt {
  background: linear-gradient(165deg, var(--green-dark) 0%, #122a1c 50%, var(--green-dark) 100%);
}

section.light {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

#configs {
  background: radial-gradient(ellipse at top, rgba(61, 122, 80, 0.12) 0%, transparent 55%), var(--green-deep);
}

section:not(.modern-hero):not(.gallery-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
  pointer-events: none;
}

/* Top bar */
.topbar {
  background: linear-gradient(90deg, var(--green-mid), var(--green-soft));
  padding: 10px 0;
}

.topbar-links a {
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  transition: background 0.2s, color 0.2s;
}

.topbar-links a:hover {
  background: rgba(201, 168, 76, 0.15);
}

/* Marquee */
.marquee-band {
  background: var(--green-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 16px 0;
}

.marquee-track span {
  font-size: var(--fs-xs);
  color: var(--gold-light);
}

.marquee-track span.dot {
  color: var(--gold);
  opacity: 0.6;
}

/* Overview */
#overview .overview-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

#overview .overview-corner {
  border-radius: var(--radius-sm);
  border-color: rgba(201, 168, 76, 0.35);
}

#overview .overview-badge-float {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

#overview .badge {
  border-radius: var(--radius-md);
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.08);
  transition: transform 0.25s, border-color 0.25s;
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  text-align: center;
}

#overview .badge:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.45);
}

#overview .badge-val {
  font-size: 1.75rem;
}

/* Configurations */
.configs-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.config-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(22, 48, 32, 0.95) 0%, rgba(15, 35, 24, 0.98) 100%);
}

.config-tag {
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
  border-color: rgba(201, 168, 76, 0.3);
  padding: 5px 12px;
  font-size: var(--fs-xs);
}

.config-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

.config-price {
  font-size: 1.65rem;
}

.config-desc {
  flex: 1;
  font-size: var(--fs-sm);
}

.config-btn {
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: auto;
}

/* Pricing table */
.pricing-header {
  max-width: 680px;
}

.pricing-table-wrap {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(15, 35, 24, 0.08);
  border: 1px solid rgba(15, 35, 24, 0.08);
  overflow: hidden;
}

.pricing-table thead th {
  font-size: var(--fs-xs);
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-soft));
}

.pricing-table td {
  font-size: var(--fs-sm);
  padding: 20px 24px;
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(42, 92, 56, 0.04);
}

.table-btn {
  border-radius: var(--radius-sm);
}

.pricing-cta {
  text-align: center;
  margin-top: 36px;
}

.pricing-cta .btn-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-soft));
  color: var(--ivory);
  box-shadow: 0 6px 24px rgba(15, 35, 24, 0.15);
}

/* Gallery */
.gallery-section {
  background: radial-gradient(circle at 20% 50%, rgba(61, 122, 80, 0.15) 0%, transparent 50%), var(--green-deep);
}

.gallery-item {
  transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Greenverse */
.greenverse-subtitle {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 10px;
  font-weight: 400;
}

.greenverse-header {
  max-width: 720px;
}

.gv-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.gv-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  height: 100%;
}

.gv-card h4 {
  font-size: 1.4rem;
  font-weight: 500;
}

.gv-card p {
  font-size: var(--fs-sm);
}

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

.amenity {
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 35, 24, 0.08);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(15, 35, 24, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
  height: 100%;
  padding: 28px 16px;
}

.amenity:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 35, 24, 0.12);
  border-color: rgba(42, 92, 56, 0.25);
  background: var(--white);
}

.amenity-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(42, 92, 56, 0.1);
  color: var(--green-soft);
  font-size: 1.35rem;
  transition: background 0.3s, color 0.3s;
}

.amenity:hover .amenity-icon {
  background: var(--gold);
  color: var(--green-deep);
}

.amenity-name {
  font-size: var(--fs-sm);
}

/* Why Bannerghatta */
section:not(.alt):not(.light):not(.gallery-section):not(.modern-hero) {
  background: var(--green-deep);
}

.why-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  height: 100%;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 168, 76, 0.35);
}

.why-num {
  color: rgba(201, 168, 76, 0.2);
  font-size: 3rem;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.why-card p {
  font-size: var(--fs-sm);
}

/* Location — light section fixes */
.location-subtitle {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--green-accent);
  margin-bottom: 16px;
  font-weight: 400;
}

#location .location-left {
  margin-bottom: 8px;
}

#location .loc-cats {
  gap: 8px;
}

#location .loc-cat-header {
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

#location .loc-cat-body {
  background: rgba(15, 35, 24, 0.04);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

#location .loc-cat-body.open {
  max-height: 420px;
}

#location .loc-item {
  color: rgba(15, 35, 24, 0.78);
  font-size: var(--fs-sm);
  border-bottom-color: rgba(15, 35, 24, 0.08);
  padding: 12px 20px;
}

#location .loc-item i {
  color: var(--green-soft);
  margin-right: 8px;
  width: 16px;
}

#location .loc-km {
  color: var(--green-soft);
  font-weight: 500;
}

#location .loc-map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 35, 24, 0.12);
  border: 1px solid rgba(15, 35, 24, 0.08);
}

.location-map-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 24px;
}

.location-map-title em {
  font-style: italic;
  color: var(--green-soft);
}

.location-map-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-map-actions .btn-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-soft));
  color: var(--ivory);
}

.location-map-actions .btn-outline {
  border-color: rgba(42, 92, 56, 0.35);
  color: var(--green-soft);
}

.brand-label {
  display: block;
  text-align: center;
  margin-bottom: 14px;
}

.brand-wrap .section-intro {
  margin-bottom: 48px;
}

.brand-stats {
  gap: 12px !important;
}

.brand-stats .col-6 {
  padding: 6px;
}

.brand-stat {
  border-radius: var(--radius-md);
  transition: transform 0.3s, border-color 0.3s;
  height: 100%;
}

.brand-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

/* Floor plan */
.fp-tabs {
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 168, 76, 0.12);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
}

.fp-tab {
  border-radius: var(--radius-sm);
  border: none;
  margin: 0;
  font-size: var(--fs-xs);
  padding: 12px 22px;
}

.fp-tab.active {
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.fp-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.fp-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.fp-row {
  font-size: var(--fs-sm);
}

/* Testimonials */
.testi-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 35, 24, 0.08);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 35, 24, 0.06);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid var(--gold);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 35, 24, 0.1);
}

.testi-quote {
  color: var(--gold);
  opacity: 0.35;
  font-size: 4rem;
}

.testi-text {
  font-size: 1.05rem;
}

/* FAQ */
.faq-wrap {
  max-width: 860px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: border-color 0.25s, background 0.25s;
}

.faq-item.open {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.25);
}

.faq-q {
  font-size: var(--fs-base);
  padding: 22px 0;
}

.faq-a {
  font-size: var(--fs-sm);
  padding-bottom: 22px;
}

/* Contact */
#contact {
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

/* Footer */
.footer-section {
  background: linear-gradient(180deg, var(--green-deep) 0%, #0a1812 100%);
}

.footer-col a i {
  margin-right: 8px;
  color: var(--gold);
  width: 16px;
}

/* Sticky bar */
.sticky-bar {
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.sticky-bar a i {
  font-size: 1.1rem;
}

/* Hero enhancements */
.modern-hero-bg {
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

.modern-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--green-deep), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-side-card {
  animation: floatCard 4s ease-in-out infinite;
}

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

@media (max-width: 1100px) {
  .hero-side-card {
    animation: none;
  }
}

/* Nav link underline */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .overview-badges {
    gap: 10px;
  }

  #overview .badge {
    flex: 1 1 100%;
  }

  .fp-info {
    margin-top: 24px;
    padding: 24px;
  }
}
