/*!
 * Paradise Real Estate - Inner Pages Stylesheet
 * Page banner, about, contact, gallery, listings, etc.
 */

/* ============ PAGE BANNER (used by all inner pages) ============ */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy-800);
  overflow: hidden;
}
.page-banner__bg {
  position: absolute; inset: 0;
  background: url('../images/page-banner.jpg') center/cover no-repeat;
  z-index: 0;
}
.page-banner__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,24,46,.78) 0%, rgba(7,24,46,.92) 100%);
}
.page-banner__inner {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 60px 24px;
}
.page-banner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: 6px;
  margin-bottom: 14px;
  color: var(--white);
  text-transform: uppercase;
}
.page-banner__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 165, 68, 0.12);
  border: 1px solid rgba(212, 165, 68, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.page-banner__breadcrumb a { color: #d0d8e6; transition: color .2s; }
.page-banner__breadcrumb a:hover { color: var(--gold); }
.page-banner__breadcrumb .sep { color: rgba(212,165,68,.5); }

/* ============ GENERIC PAGE WRAPPER ============ */
.page-section {
  background: var(--navy-800);
  padding: 80px 0;
}
.page-section--alt { background: var(--navy-700); }
.page-section--light { background: var(--navy-900); }

.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-grid-2--reverse { direction: rtl; }
.page-grid-2--reverse > * { direction: ltr; }

.page-grid-2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.page-grid-2__media {
  position: relative;
  aspect-ratio: 4/3;
}
.page-grid-2__media::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: 16px;
  z-index: 0;
  opacity: 0.4;
}

.page-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.15;
}
.page-text .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-text .eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.page-text p {
  color: #c8d2e0;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-text ul.checks {
  margin: 20px 0;
}
.page-text ul.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: #d8dfe9;
  font-size: 14.5px;
}
.page-text ul.checks li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: var(--gold);
  color: var(--navy-900);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  padding: 60px 0;
  border-top: 1px solid rgba(212,165,68,.15);
  border-bottom: 1px solid rgba(212,165,68,.15);
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  padding: 10px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,165,68,.3), transparent);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ TEAM GRID ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.team-card {
  background: var(--navy-700);
  border: 1px solid rgba(212,165,68,.12);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,165,68,.4);
}
.team-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card__body {
  padding: 22px 24px;
  text-align: center;
}
.team-card__body h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.team-card__body .role {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.team-card__body p {
  color: #b4c0d2;
  font-size: 13px;
  line-height: 1.6;
}
.team-card__social {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.team-card__social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(212,165,68,.12);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.team-card__social a:hover { background: var(--gold); color: var(--navy-900); }

/* ============ AMENITY GRID ============ */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.amenity {
  background: var(--navy-700);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid rgba(212,165,68,.1);
  transition: all .3s;
  text-align: center;
}
.amenity:hover {
  border-color: rgba(212,165,68,.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,.3);
}
.amenity__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(212,165,68,.3);
}
.amenity h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.amenity p {
  color: #a8b4c6;
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============ GALLERY GRID ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,24,46,.7), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item__label {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover .gallery-item__label {
  opacity: 1;
  transform: translateY(0);
}

/* ============ PLOT/PROJECT LISTING ============ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.listing-card {
  background: var(--navy-700);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212,165,68,.1);
  transition: all .3s;
}
.listing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,165,68,.4);
  box-shadow: var(--shadow-lg);
}
.listing-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.listing-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.listing-card:hover .listing-card__img img { transform: scale(1.05); }
.listing-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}
.listing-card__price {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(7, 24, 46, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  z-index: 2;
  border: 1px solid rgba(212,165,68,.3);
}
.listing-card__price small {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-top: -2px;
}
.listing-card__body { padding: 22px 24px; }
.listing-card__body h4 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.listing-card__loc {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.listing-card__loc svg { color: var(--gold); flex-shrink: 0; }
.listing-card__features {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(212,165,68,.15);
  border-bottom: 1px solid rgba(212,165,68,.15);
  margin-bottom: 16px;
}
.listing-card__features li {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.listing-card__features li strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}
.listing-card__cta {
  display: flex;
  gap: 10px;
}
.listing-card__cta .btn { flex: 1; justify-content: center; padding: 11px; font-size: 12px; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info__card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--navy-700);
  border-radius: 14px;
  border: 1px solid rgba(212,165,68,.12);
}
.contact-info__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__card h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-info__card p, .contact-info__card a {
  color: #c0cad9;
  font-size: 14px;
  line-height: 1.6;
  display: block;
}
.contact-info__card a:hover { color: var(--gold); }

.contact-form-card {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(212,165,68,.2);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.contact-form-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.contact-form-card form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-card label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #8a96aa; }
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(212,165,68,.15);
}
.contact-form-card textarea { resize: vertical; min-height: 110px; }

.map-section {
  padding: 0;
}
.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(212,165,68,.15);
}
.map-placeholder svg { color: var(--gold); }

/* ============ TESTIMONIAL CARDS ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.testimonial {
  background: var(--navy-700);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(212,165,68,.1);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 6px; right: 22px;
  font-family: var(--serif);
  font-size: 90px;
  color: rgba(212,165,68,.18);
  line-height: 1;
}
.testimonial__stars {
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 2px;
  font-size: 16px;
}
.testimonial__text {
  color: #d8dfe9;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(212,165,68,.15);
}
.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.testimonial__author strong { color: var(--white); font-size: 14px; }
.testimonial__author span { color: var(--muted); font-size: 12px; display: block; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--navy-700);
  border: 1px solid rgba(212,165,68,.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open { border-color: rgba(212,165,68,.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 26px;
  color: var(--gold);
  transition: transform .25s;
  font-weight: 300;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 24px 22px;
  color: #b8c4d6;
  font-size: 14px;
  line-height: 1.7;
}

/* ============ CTA BANNER (used at bottom of inner pages) ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212,165,68,.15);
  border-bottom: 1px solid rgba(212,165,68,.15);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,165,68,.15), transparent 70%);
  z-index: 0;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-banner p {
  color: #b8c4d6;
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner__buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .listing-grid, .amenity-grid, .gallery-grid, .team-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat + .stat:nth-child(odd)::before { display: none; }
}
@media (max-width: 900px) {
  .page-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .listing-grid, .amenity-grid, .gallery-grid, .team-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .contact-form-card .row { grid-template-columns: 1fr; }
  .page-banner h1 { letter-spacing: 3px; }
}
