/* =========================
   Arrowtree Apartments – Modern Theme
   ========================= */

:root {
  --bg:#ffffff;
  --muted:#6b7280;
  --text:#0f172a;

  /* NEW BRAND COLORS (blue-green, from your sample image) */
  --brand:#1D5A6B;
  --brand-dark:#143C48;
  --brand-light:#2C7C92;

  --shadow:0 8px 28px rgba(15,23,42,.10);
  --max:1200px;
}

*,
*::before,
*::after {
  box-sizing:border-box;
}

html,body {
  height:100%;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

/* Utility */

a {
  text-decoration:none;
  color:inherit;
}

img {
  max-width:100%;
  display:block;
}

.container {
  width:90%;
  max-width:var(--max);
  margin:0 auto;
}

.muted {
  color:var(--muted);
}

.section {
  padding:10px 0;
}

.section-title {
  font-size:1.9rem;
  margin:0 0 6px;
}

.section-sub {
  color:var(--muted);
  margin:0 0 26px;
}

.section-header {
  text-align:center;
  margin-bottom:26px;
}

/* ========== HEADER ========== */

.site-header {
  position:sticky;
  top:0;
  z-index:40;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  color:#fff;
  transition:transform .28s ease,background .3s ease,box-shadow .3s ease,backdrop-filter .3s ease;
  backdrop-filter:blur(10px);
}

.site-header.scrolled {
  box-shadow:0 4px 18px rgba(0,0,0,.30);
}

.site-header.hide {
  transform:translateY(-100%);
}

.nav-wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.logo {
  font-weight:800;
  font-size:1.2rem;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.logo .dot {
  display:inline-block;
  width:6px;
  height:6px;
  margin-left:6px;
  border-radius:999px;
  background:#fbbf24;
}

.nav {
  display:flex;
  gap:20px;
  align-items:center;
}

.nav a {
  color:#e5f1f4;
  font-weight:500;
  font-size:.98rem;
  position:relative;
  padding-bottom:3px;
}

.nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:#ffffff;
  border-radius:999px;
  transition:width .25s ease;
}

.nav a:hover::after {
  width:100%;
}

.menu-toggle {
  display:none;
  width:40px;
  height:32px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(15,23,42,.12);
  padding:6px 8px;
  cursor:pointer;
}

.menu-toggle span {
  display:block;
  width:100%;
  height:2px;
  margin:4px 0;
  border-radius:2px;
  background:#fff;
}

/* ========== HERO ========== */

.hero {
  position:relative;
  min-height:72vh;
  color:#fff;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom-left-radius:22px;
  border-bottom-right-radius:22px;
  margin-bottom:32px;
}

.hero-slide {
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .9s ease;
}

.hero-slide.active {
  opacity:1;
}

.hero-slide img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  animation:zoomHero 18s ease-in-out infinite;
}

@keyframes zoomHero {
  0%   { transform:scale(1); }
  50%  { transform:scale(1.06); }
  100% { transform:scale(1); }
}

.hero-overlay {
  position:relative;
  z-index:2;
  width:100%;
  padding:60px 0;
  background:linear-gradient(180deg,rgba(0,0,0,0.1) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.85) 100%);
}

.hero-inner {
  max-width:1100px;
}

.hero-kicker {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.75rem;
  opacity:.86;
  margin:0 0 6px;
}

.hero-title {
  margin:0 0 8px;
  font-size:2.5rem;
  line-height:1.1;
}

.hero-subtitle {
  margin:0 0 16px;
  opacity:.96;
  font-size:1.02rem;
}

.hero-meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  font-size:.9rem;
  opacity:.9;
  margin-top:18px;
}

.hero-divider {
  opacity:.6;
}

.hero-cta {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

.hero-cta .btn {
  min-width:170px;
}

/* Hero controls (dots & arrows injected by JS) */

.hero-controls {
  position:absolute;
  left:0;
  right:0;
  bottom:14px;
  z-index:3;
  display:flex;
  justify-content:center;
  gap:8px;
}

.hero-dot {
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(255,255,255,.25);
  cursor:pointer;
}

.hero-dot.active {
  background:#fff;
}

.hero-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  background:rgba(15,23,42,.45);
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  cursor:pointer;
}

.hero-arrow.prev { left:14px; }
.hero-arrow.next { right:14px; }

@media (max-width:640px) {
  .hero-arrow { display:none; }
}

/* ========== BUTTONS / CTAS ========== */

.btn,
button,
input[type=submit],
.footer-cta,
.promo-primary {
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  color:#fff;
  border:none;
  border-radius:999px;
  padding:10px 18px;
  font-weight:600;
  letter-spacing:.03em;
  cursor:pointer;
  font-size:.95rem;
  transition:background .3s ease,transform .25s ease,box-shadow .3s ease,color .3s ease;
  box-shadow:0 4px 16px rgba(5,36,46,.35);
}

.btn:hover,
button:hover,
input[type=submit]:hover,
.footer-cta:hover,
.promo-primary:hover {
  background:linear-gradient(135deg,var(--brand-light),var(--brand-dark));
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(5,36,46,.45);
}

.btn-outline,
.btn.outline,
.promo-secondary {
  background:transparent;
  border:2px solid rgba(255,255,255,.9);
  color:#fff;
  box-shadow:none;
}

.hero .btn-outline {
  border-color:#e5f1f4;
  color:#e5f1f4;
}

.btn-outline:hover,
.btn.outline:hover,
.promo-secondary:hover {
  background:#fff;
  color:var(--brand-dark);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

/* ========== LIFESTYLE BANNER ========== */

.lifestyle-banner {
  position:relative;
  margin:0 auto 40px;
  border-radius:22px;
  overflow:hidden;
  max-width:var(--max);
}

.lifestyle-banner img {
  width:100%;
  height:360px;
  object-fit:cover;
  filter:brightness(.8);
  transform:scale(1.02);
  transition:transform 6s ease;
}

.lifestyle-banner:hover img {
  transform:scale(1.06);
}

.lifestyle-text {
  position:absolute;
  left:10%;
  bottom:16%;
  max-width:420px;
  color:#fff;
}

.lifestyle-text .overline {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.72rem;
  margin:0 0 6px;
  opacity:.88;
}

.lifestyle-text h2 {
  margin:0 0 8px;
  font-size:1.8rem;
}

.lifestyle-text p {
  margin:0;
  font-size:.98rem;
  opacity:.92;
}

/* ========== INTRO SECTION ========== */

.section-intro {
  padding-top:30px;
}

.intro-grid {
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:32px;
  align-items:start;
}

.intro-copy p {
  max-width:760px;
  font-size:1.03rem;
  margin-bottom:16px;
}

.homepage-tagline {
  margin-top:16px;
  font-size:2.1rem;
  font-weight:600;
  color:var(--brand);
}

.intro-cards {
  display:grid;
  gap:16px;
}

.mini-card {
  background:#f8fafc;
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.mini-card h3 {
  margin:0 0 4px;
  font-size:1.05rem;
}

.mini-card p {
  margin:0;
  color:#4b5563;
  font-size:.97rem;
}



/* Highlight mini-cards replaced with modern features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.feature-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #0f172a;
}

.feature-card p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
}


/* Gradient halo behind the intro */
.intro-header::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(29,90,107,0.18) 0%, rgba(255,255,255,0) 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Small accent line */
.intro-accent {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--brand);
  border-radius: 10px;
  animation: introLine 1.4s ease forwards;
  opacity: 0;
}

@keyframes introLine {
  0% { width: 0; opacity: 0; }
  100% { width: 60px; opacity: 1; }
}

.intro-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.intro-col p {
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.55;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.intro-tagline {
  text-align: center;
  margin-top: 10px;
}

.intro-tagline strong {
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: 700;
}
/* Floating Decorative Shapes */
.floating-shape {
  position: absolute;
  background: var(--brand-light);
  opacity: 0.13;
  filter: blur(35px);
  border-radius: 50%;
  z-index: -1;
  animation: floatShape 14s ease-in-out infinite;
}

.shape-1 {
  width: 240px;
  height: 240px;
  top: 80px;
  left: -60px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -40px;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(18px, -22px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
/* Animated Icons Between Text Blocks */
.intro-icon {
  text-align: center;
  font-size: 2.2rem;
  color: var(--brand);
  margin: 6px 0;
  animation: iconFade 1s ease forwards;
  opacity: 0;
  transform: translateY(16px);
}

.intro-icon span {
  display: inline-block;
  animation: iconBounce 2.2s ease-in-out infinite;
}

@keyframes iconFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.intro-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.intro-col p {
  padding: 22px 24px;
}

.intro-icon {
  margin: 12px 0;
}

/* =========================
   Modern Lifestyle Banner
========================= */
.lifestyle-modern {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 70px;
}

.lifestyle-modern .lifestyle-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.lifestyle-modern .lifestyle-content {
  padding-right: 20px;
}
.lifestyle-modern .lifestyle-content2 {
  padding-left: 120px;
}
.lifestyle-modern .overline {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  color: var(--brand);
  margin-bottom: 10px;
}

.lifestyle-modern h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: #0f172a;
}

.lifestyle-modern p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .lifestyle-modern {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lifestyle-modern .lifestyle-content {
    padding: 0;
  }
}
/* Restore smooth zoom animation to lifestyle banner */
.lifestyle-modern .lifestyle-image img {
  animation: zoomLifestyle 18s ease-in-out infinite;
}

/* Same style as hero zoom animation */
@keyframes zoomLifestyle {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* =============================
   INTRO BACKGROUND SHAPE FIXED
============================= */

.intro-modern {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* The actual background shape */
.intro-bg-shape {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 85, 107, 0.22) 0%, rgba(34, 85, 107, 0) 70%);
  filter: blur(70px);
  opacity: 0.55;
  border-radius: 50%;
  z-index: -1; /* Behind text but above page background */
  animation: introBlobDrift 14s ease-in-out infinite;
}

@keyframes introBlobDrift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  50%  { transform: translateX(-50%) translateY(30px) scale(1.08); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}


@keyframes introBlobDrift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  50%  { transform: translateX(-48%) translateY(20px) scale(1.07); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}
/* Scroll reveal phrase-by-phrase effect */
.stagger-intro p,
.stagger-intro h2,
.stagger-intro h3 {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity .7s ease, transform .7s ease;
}

.stagger-intro.revealed p:nth-child(1) {  /* First paragraph */
  transition-delay: .5s;
}
.stagger-intro.revealed p:nth-child(2) {  /* Second paragraph */
  transition-delay: .95s;
}
.stagger-intro.revealed p:nth-child(3) {  /* Third paragraph */
  transition-delay: .7s;
}
.stagger-intro.revealed h3 {               /* Tagline */
  transition-delay: .85s;
}

.stagger-intro.revealed p,
.stagger-intro.revealed h2,
.stagger-intro.revealed h3 {
  opacity: 1;
  transform: translateX(0);
}
.stagger-intro h2 {
  opacity: 0;
  transform: translateY(12px);
  transition: transform .7s ease, opacity .7s ease;
}

.stagger-intro.revealed h2 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: .05s;
}

/* Modern Amenities Section */
.amenities-modern {
  background: #f8fafc; /* light, clean background */
  padding-top: 70px;
  padding-bottom: 70px;
}

.amenities-modern .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.amenities-modern .section-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #475569;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.amenity-card {
  background: #ffffff;
  padding: 26px 22px;
  border-radius: 18px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.amenity-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.amenity-card h3 {
  font-size: 1.1rem;
  margin: 6px 0 10px;
  color: #0f172a;
}

.amenity-card p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FLOORPLANS BAND ========== */

.floorplans {
  background:#f3f4f6;
  color:#0f172a;
  padding:60px 0 64px;
  margin:24px 0;
  border-radius:22px;
}

.floorplans .intro {
  display:grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap:30px;
  align-items:start;
}

.fp-bullets {
  margin:0 0 22px;
  padding-left:20px;
  color:#4b5563;
  font-size:.97rem;
}

.fp-highlight-grid {
  display:grid;
  gap:16px;
}

.plan-highlight {
  background:#ffffff;
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

.plan-highlight h3 {
  margin:0 0 8px;
}

.plan-highlight p {
  margin:0 0 10px;
  color:#475569;
}

.plan-tag {
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#e0f2fe;
  color:#0369a1;
  font-size:.82rem;
}
/* ==========================
   MODERN FLOORPLAN SECTION
========================== */

.floorplans-modern {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* Gradient background */
.fp-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,#1F5E6D, #A6D3E3, #1F5E6D,#A6D3E3, #1F5E6D);
  opacity: 0.95;
  z-index: -1;
}

/* Header */
.fp-header {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

/* Feature bullets */
.fp-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 600px;
  display: grid;
  gap: 12px;
  text-align: left;
  color: #e3f5f7;
}

.fp-features li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fp-features li i {
  font-size: 1.25rem;
  color: #ffffff;
}

/* Highlight cards */
.fp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.fp-card {
  background: rgba(255,255,255,0.10);
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: 0.35s ease;
  text-align: center;
}

.fp-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 18px 34px rgba(0,0,0,0.35);
}

/* Icons */
.fp-icon {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 12px;
}

/* Plan tag */
.plan-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.20);
  border-radius: 12px;
  font-size: 0.85rem;
  color: #f0f0f0;
}

/* CTA */
.fp-cta {
  text-align: center;
  margin-top: 45px;
}
/* Text visibility enhancement over gradient */
.floorplans-modern h2,
.floorplans-modern p,
.floorplans-modern li,
.floorplans-modern .plan-tag {
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.floorplans-modern h2 {
  text-shadow: 0 3px 6px rgba(0,0,0,0.45);
}

.fp-card h3,
.fp-card p {
  text-shadow: 0 2px 4px rgba(0,0,0,0.40);
}
/* Fade-up reveal for floorplan section */
.floorplans-modern.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.floorplans-modern.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal each card staggered */
.fp-card.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fp-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Scroll Reveal */
function revealOnScroll() {
  const reveals = document.querySelectorAll(".reveal");
  reveals.forEach(el => {
    const rect = el.getBoundingClientRect();
    if (rect.top < window.innerHeight - 100) {
      el.classList.add("active");
    }
  });
}

window.addEventListener("scroll", revealOnScroll);
window.addEventListener("load", revealOnScroll);

/* ========== GALLERY PREVIEW ========== */

.gallery {
  padding:60px 0;
}

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(440px,1fr));
  gap:18px;
  margin-bottom:20px;
}

.gallery-item {
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,23,42,.12);
  transform:translateY(0);
  transition:transform .25s ease,box-shadow .25s ease;
}

.gallery-item img {
  width:100%;
  height:230px;
  object-fit:cover;
  transition:transform .7s ease;
}

.gallery-item:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(15,23,42,.26);
}

.gallery-item:hover img {
  transform:scale(1.06);
}

.gallery-cta {
  text-align:center;
}

/* ========== CTA STRIP ========== */

.cta-strip {
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  color:#e5f4f8;
  padding:32px 0;
}

.cta-strip-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.cta-strip h2 {
  margin:0 0 4px;
}

.cta-strip p {
  margin:0;
  opacity:.92;
}

.cta-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* ========== FOOTER ========== */

.site-footer.v2 {
  background:#020617;
  color:#e5e7eb;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:48px;
}

.site-footer.v2 .container {
  padding:36px 0 26px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr 1fr;
  gap:28px;
  align-items:flex-start;
}

.footer-title {
  font-size:1rem;
  font-weight:800;
  margin:0 0 10px;
}

.footer-text {
  color:#a8b1c0;
  margin:0 0 10px;
  font-size:.95rem;
}

.footer-fine {
  color:#7a8496;
  font-size:.9rem;
  margin-top:6px;
}

.footer-links {
  list-style:none;
  margin:0;
  padding:0;
}

.footer-links li {
  margin:6px 0;
}

.footer-links a {
  color:#c9d3e3;
  border-bottom:1px dashed transparent;
}

.footer-links a:hover {
  color:#fff;
  border-bottom-color:rgba(255,255,255,.25);
}

.footer-cta {
  display:inline-block;
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap: wrap;
  padding-top:22px;
  margin-top:22px;
  border-top:1px solid rgba(255,255,255,.06);
}
/* Make room on the right so links don't sit under the floating CTA */
@media (min-width: 768px) {
  .footer-bottom {
    padding-right: 150px; /* adjust 130–180px if you want more/less space */
  }
}

.footer-bottom .muted {
  color:#9aa6bb;
}

.footer-bottom-links a {
  color:#c9d3e3;
  margin-left:14px;
  font-size:.9rem;
}

.footer-bottom-links a:hover {
  color:#fff;
}

/* Social media footer list */
.footer-col .social-links li {
  margin-bottom: 10px;
}

.footer-col .social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  transition: color 0.25s ease;
}

.footer-col .social-links a:hover {
  color: #ffffff;
}

.footer-col .social-links i {
  font-size: 1.25rem;
}
/* Make links appear centered on mobile */
.footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Mobile formatting */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 6px;
    }
}

/* ========== FLOATING CTA ========== */

.floating-cta {
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  background:linear-gradient(135deg,var(--brand),var(--brand-light));
  color:#fff;
  padding:12px 20px;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem;
  box-shadow:0 18px 32px rgba(15,23,42,.55);
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}

.floating-cta:hover {
  transform:translateY(-3px);
  box-shadow:0 24px 40px rgba(15,23,42,.7);
  background:linear-gradient(135deg,var(--brand-light),var(--brand-dark));
}
/* ============================================
   RIGHT-SIDE SLIDE-UP JOTFORM PANEL (NO OVERLAY)
============================================ */

.tour-form-panel {
  position: fixed;
  right: 0;
  bottom: -100%;
  width: 550px;                 /* Increased from 420px → prevents cutoff */
  max-width: 92%;
  height: 80vh;
  background: #ffffff;
  border-radius: 16px 0 0 0;    /* Curved left corner */
  box-shadow: -8px 0 28px rgba(0,0,0,0.28);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: bottom 1.5s ease;
}

/* Slides up from bottom */
.tour-form-panel.open {
  bottom: 0;
}

.tour-form-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  padding-left: 20px;           /* NEW: moves content left so it's not cut off */
  padding-right: 10px;          /* NEW: safety padding */
}


/* Close button */
.close-tour-form {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #1F5E6D;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.close-tour-form:hover {
  background: #154650;
}

/* ========== REVEAL ANIMATION ========== */

.reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.revealed {
  opacity:1;
  transform:translateY(0);
}

/* ========== RESPONSIVE ========== */

@media (max-width:900px) {
  .intro-grid {
    grid-template-columns:1fr;
  }
  .footer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px) {
  .nav {
    position:fixed;
    inset:64px 16px auto 16px;
    flex-direction:column;
    padding:16px;
    border-radius:18px;
    background:#020617;
    box-shadow:0 20px 40px rgba(15,23,42,.7);
    transform:translateY(-20px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease,transform .25s ease;
  }

  .nav.open {
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .menu-toggle {
    display:block;
  }

  .intro-grid {
    gap:24px;
  }

  .hero {
    min-height:72vh;
  }

  .hero-title {
    font-size:2.1rem;
  }

  .hero-inner {
    max-width:none;
  }

  .lifestyle-banner img {
    height:300px;
  }

  .footer-grid {
    grid-template-columns:1fr 1fr;
  }

  .cta-strip-inner {
    flex-direction:column;
    align-items:flex-start;
  }

  .cta-actions {
    width:100%;
  }

  .cta-actions .btn,
  .cta-actions .btn-outline {
    flex:1;
    text-align:center;
  }
}

@media (max-width:640px) {
  .section {
    padding:46px 0;
  }

  .amen-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns:1fr;
  }

  .floating-cta {
    right:16px;
    bottom:18px;
  }
}

@media (max-width:480px) {
  .amen-grid,
  .gallery-grid {
    grid-template-columns:1fr;
  }
}
/* ================================
   ABOUT PAGE – MODERN REDESIGN
================================ */

.about-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
/* About Page Hero Height Override */
.about-hero {
  height: 45vh !important;
  min-height: 260px; /* Ensures it doesn't collapse on mobile */
}

/* STORY SECTION */
.about-story {
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-text p {
  margin-bottom: 14px;
  color: #475569;
  line-height: 1.6;
  font-size: 1.05rem;
}

.story-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  animation: softZoom 18s ease-in-out infinite;
}

/* Soft zoom motion */
@keyframes softZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* HIGHLIGHTS */
.about-highlights {
  background: #f8fafc;
  border-radius: 24px;
  padding: 50px 0;
}

.section-title.center {
  text-align: center;
  margin-bottom: 20px;
}

.highlight-list {
  max-width: 680px;
  margin: 0 auto;
  padding-left: 20px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.highlight-list li {
  margin-bottom: 10px;
}

/* ABOUT FEATURE GRID */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 24px;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--brand);
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ==========================
   MODERN FAQ SECTION
========================== */

.faq-section {
  background: #f8fafc;
  border-radius: 22px;
  padding: 60px 0;
}

.faq-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: .3s ease;
}

.faq-item.open {
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

.faq-toggle i {
  transition: transform .3s ease;
  color: var(--brand);
}

.faq-item.open .faq-toggle i {
  transform: rotate(-180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-content {
  max-height: 200px;
  padding: 0 22px 20px;
}

.faq-content p {
  color: #475569;
  line-height: 1.55;
}
/* ============================================
   Specials Promo Modal (Popup)
============================================ */

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-modal[hidden] {
  display: none !important;
}

/* Dark overlay */
.promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

/* Modal card */
.promo-card {
  position: relative;
  background: #ffffff;
  max-width: 820px;
  width: 92%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(0,0,0,0.35);
  z-index: 2;

  /* NEW — animated zoom entrance */
  opacity: 0;
  transform: scale(0.85);
  animation: promoZoomIn 3.95s ease forwards;
}


@keyframes promoIn {
  0% { opacity: 0; transform: translateY(40px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.promo-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.promo-copy {
  padding: 28px;
}

.promo-copy h2 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  color: var(--brand-dark);
}

.specials-tagline {
  margin: 0 0 14px;
  color: #6E0D0D;
}

.promo-points {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #475569;
}

.promo-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.promo-secondary {
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
}

.promo-secondary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.promo-fine {
  font-size: .85rem;
  color: #64748b;
}

.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Close button */
.promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--brand-dark);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:hover {
  background: var(--brand);
}

/* Mobile */
@media (max-width: 760px) {
  .promo-content {
    grid-template-columns: 1fr;
  }
  .promo-visual img {
    height: 180px;
  }
}
@keyframes promoZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* ======================
   PHOTO / VIDEO TABS
====================== */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 20px;
}

.media-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: white;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.media-tab.active {
  background: var(--brand);
  color: white;
}

/* ===== Tab Content ===== */
.media-tab-content {
  display: none;
  animation: fadeIn .5s ease forwards;
}

.media-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* ======================
   GALLERY LAYOUT
====================== */
.modern-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .8s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ======================
   LIGHTBOX
====================== */
#lightbox-root {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.75);
  z-index: 9999;
  padding: 20px;
}

#lightbox-root.open {
  display: flex;
}

#lightbox-root .content img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}

#lightbox-root .prev,
#lightbox-root .next,
#lightbox-root .close {
  position: absolute;
  background: #064B55;  /* theme color */
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 99999;
}

#lightbox-root .prev:hover,
#lightbox-root .next:hover,
#lightbox-root .close:hover {
  background: #0A6B79; /* lighter theme shade */
 
}


#lightbox-root .close { top: 20px; right: 20px; }
#lightbox-root .prev  { left: 25px; top: 50%; transform: translateY(-50%); }
#lightbox-root .next  { right: 25px; top: 50%; transform: translateY(-50%); }
/* ============================================
   CONTACT PAGE – HERO + GRID LAYOUT
============================================ */

.contact-hero-banner {
  position: relative;
  min-height: 260px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  overflow: hidden;
  margin-bottom: 40px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .35)),
    url("images/pool.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  padding: 70px 0 80px;
  max-width: 560px;
}

.contact-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  margin-bottom: 8px;
  opacity: .92;
}

.contact-hero-content h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.contact-hero-content p {
  font-size: 1.05rem;
  max-width: 520px;
}

/* ---------- Main contact section ---------- */

.contact-premium {
  padding: 10px 0 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: flex-start;
}

/* Map card */

.contact-map-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}

.contact-map-text {
  margin-bottom: 14px;
  color: var(--muted);
}

.contact-map-shell {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .18);
  margin-bottom: 10px;
}

.contact-map-shell iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.map-note {
  font-size: .9rem;
  color: #4b5563;
}

/* Info cards grid */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-card h3 {
  margin: 0 0 4px;
}

.contact-info-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(29, 90, 107, .08);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.contact-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.contact-link::after {
  content: "›";
  font-size: .9rem;
  transition: transform .2s ease;
}

.contact-info-card:hover .contact-link::after {
  transform: translateX(3px);
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-map-shell iframe {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .contact-hero-content {
    padding: 55px 0 65px;
  }
  .contact-hero-content h1 {
    font-size: 1.9rem;
  }
  .contact-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ============================================
   CONTACT PAGE – CTA BAR
============================================ */

.contact-cta-bar {
  background: linear-gradient(135deg, #0E2F3A, #195F72);
  padding: 40px 0;
  margin-top: 60px;
  border-radius: 22px 22px 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-text h2 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  font-weight: 700;
}

.cta-text p {
  margin: 0;
  font-size: 1.05rem;
  opacity: .9;
}

.cta-actions .cta-btn {
  background: #E0F7FF;
  color: #0F2C36;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255,255,255,.18);
  transition: all .25s ease;
}

.cta-actions .cta-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,255,255,.28);
}

@media (max-width: 780px) {
  .cta-layout {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions .cta-btn {
    width: 100%;
    max-width: 310px;
  }
}
/* CONTACT PAGE – Enhanced Map Card */
.contact-map-card {
  position: relative;
  background: #ffffff;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
  transition: transform .35s ease, box-shadow .35s ease;
}

.contact-map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}

.contact-map-shell {
  width: 100%;
  height: 480px; /* INCREASED HEIGHT */
  border-radius: 22px;
  overflow: hidden;
}

.contact-map-shell iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* CONTACT INFO CARDS – fly-in animation */
.contact-info-grid .contact-info-card {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.contact-info-grid.revealed .contact-info-card {
  opacity: 1;
  transform: translateX(0);
}

.contact-info-card:nth-child(1) { transition-delay: .2s; }
.contact-info-card:nth-child(2) { transition-delay: .4s; }
.contact-info-card:nth-child(3) { transition-delay: .6s; }
.contact-info-card:nth-child(4) { transition-delay: .8s; }
/* Icon hover micro-animation */
.contact-info-card .info-icon i {
  transition: transform .35s ease, color .35s ease;
}

.contact-info-card:hover .info-icon i {
  transform: scale(1.18) translateY(-3px);
  color: var(--brand-light);
}
/* ============================================
   CONTACT PAGE – INTRO SECTION
============================================ */

.contact-intro {
  grid-column: 1 / -1; /* Full width across both columns */
  text-align: center;
  margin-bottom: 35px;
  padding: 10px 20px 0;
}

.contact-intro h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.contact-intro p {
  font-size: 1.08rem;
  max-width: 680px;
  margin: 0 auto;
  color: #475569;
}

/* Subtle fade + rise reveal already handled by .reveal/.revealed */
/* ======================================================
   FLOOR PLANS & PRICING PAGE
   ====================================================== */

.fp-page {
  background: #f9fafb;
  padding: 2px 0 40px;
}

.fp-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1F5E6D;
  margin-bottom: 8px;
}

.fp-page-header .section-title {
  margin-bottom: 10px;
}

.fp-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* PLAN CARDS */

.fp-plan-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.fp-plan-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.fp-plan-body {
  padding: 20px 22px 22px;
}

.fp-plan-body h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: #0f172a;
}

/* Tags row (beds/baths/sqft) */

.fp-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #334155;
}

.fp-plan-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
}

.fp-plan-tags i {
  font-size: 0.95rem;
}

/* Price styling */

.fp-plan-price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin: 4px 0 2px;
}

.fp-plan-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1F5E6D;
  margin: 0 0 12px;
}

/* Feature bullets */

.fp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: #4b5563;
}

.fp-plan-features li + li {
  margin-top: 4px;
}

/* Card actions */

.fp-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fp-plan-actions .btn-sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* Ensure outline variant is still clean on light cards */
.fp-plan-actions .btn-outline {
  border-color: #1F5E6D;
  color: #1F5E6D;
}

/* ======================================================
   PRICING & AVAILABILITY TABLE
   ====================================================== */

.fp-availability {
  padding: 40px 0 80px;
  background: #ffffff;
}

.fp-price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 26px;
}

.fp-price-badge {
  flex: 1 1 160px;
  min-width: 160px;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1F5E6D, #A6D3E3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fp-price-badge-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  opacity: 0.92;
}

.fp-price-badge-value {
  font-size: 1rem;
  font-weight: 600;
}

/* Table wrapper */

.fp-availability-table-wrapper {
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  background: #ffffff;
}

.fp-availability-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.fp-availability-table thead {
  background: #1F5E6D;
  color: #e5f2f6;
}

.fp-availability-table thead th {
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fp-availability-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.fp-availability-table tbody td {
  padding: 12px 18px;
  color: #0f172a;
  vertical-align: middle;
}

/* Status badges */

.fp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.fp-badge-open {
  background: #dcfce7;
  color: #166534;
}

.fp-badge-limited {
  background: #fef3c7;
  color: #92400e;
}

.fp-badge-call {
  background: #e0f2fe;
  color: #075985;
}

/* Table links */

.fp-table-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1F5E6D;
  text-decoration: none;
}

.fp-table-link:hover {
  text-decoration: underline;
}

.fp-availability-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Responsive tweaks for floor plans page */

@media (max-width: 900px) {
  .fp-page {
    padding-top: 56px;
  }

  .fp-plan-media img {
    height: 200px;
  }

  .fp-price-badges {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .fp-availability-table thead {
    display: none;
  }

  .fp-availability-table tbody tr {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  .fp-availability-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
  }

  .fp-availability-table tbody td:nth-child(1) {
    font-weight: 600;
  }

  .fp-availability-table tbody td:last-child {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .fp-availability-table-wrapper {
    border-radius: 14px;
  }
}
/* ======================================================
   FLOOR PLANS – AMENITIES OVERVIEW
   ====================================================== */

.fp-amenities {
  padding: 60px 0 80px;
  background: #f8fafc;
  border-radius: 22px;
}

.fp-amenities-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 720px) {
  .fp-amenities-grid {
    grid-template-columns: 1fr;
  }
}


.fp-amenity-card {
  background: #ffffff;
  padding: 24px 22px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  opacity: 0;
  transform: translateY(30px);
}

.fp-amenity-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.fp-amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.amenity-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #e0f7ff;
  color: #1F5E6D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.fp-amenity-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.fp-amenity-card p {
  color: #475569;
  font-size: 0.95rem;
}
/* ===== FLOOR PLAN HEADER 3D CONTAINER ===== */

.fp-header-3d {
  position: relative;
  text-align: center;
  padding: 30px 30px;
  margin: 40px auto 20px;
  background: #ffffff;
  border-radius: 26px;
  max-width: 1050px;
  box-shadow:
      0 18px 38px rgba(0,0,0,0.08),
      0 4px 0 rgba(29,90,107,0.12) inset;
  transform: perspective(900px) translateZ(0);
  animation: fpFadeIn .8s ease forwards;
}

@keyframes fpFadeIn {
  0% { opacity: 0; transform: translateY(25px) perspective(900px) rotateX(6deg); }
  100% { opacity: 1; transform: translateY(0) perspective(900px) rotateX(0); }
}

/* Small header text */
.fp-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 10px;
}

/* Subline */
.fp-sub {
  margin-top: 12px;
  color: #475569;
  font-size: 1.05rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FLOATING DECOR SHAPE ===== */

.floating-shape.fp-shape {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -60px;
  left: -40px;
  background: radial-gradient(circle, rgba(29,90,107,0.23), rgba(29,90,107,0));
  filter: blur(45px);
  opacity: 0.45;
  border-radius: 50%;
  z-index: -1;
  animation: fpBlob 10s ease-in-out infinite;
}

@keyframes fpBlob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ===== TYPEWRITER EFFECT ===== */

.fp-typewriter {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  min-height: 48px;
  overflow: hidden;
  border-right: 3px solid var(--brand);
  white-space: nowrap;
  margin: 0 auto;
  width: fit-content;
  animation: cursorBlink .7s infinite;
}

@keyframes cursorBlink {
  0% { border-color: transparent; }
  50% { border-color: var(--brand); }
  100% { border-color: transparent; }
}
/* Force fp-plan-tags to wrap into 2 lines for consistent card height */
.fp-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem; /* space between tags */
  min-height: 48px; /* adjust to match your 2-line height */
  align-items: flex-start;
}

/* Make each tag more uniform */
.fp-plan-tags span {
  background: #e9f2f4; /* light blue-grey badge background */
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* keeps icons with the text */
}
/* Default: desktop typewriter stays on one line */
.fp-typewriter {
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #0b2e33;
    white-space: nowrap;          /* stays single-line on desktop */
    overflow: hidden;
    border-right: 3px solid #0b2e33;
    animation: typing 4s steps(40, end), blink .75s step-end infinite;
    max-width: 100%;
}

/* MOBILE FIX — allow wrapping */
@media (max-width: 768px) {
    .fp-typewriter {
        white-space: normal !important;   /* allow line breaks */
        font-size: 1.9rem;                /* scale text for mobile */
        line-height: 1.3;
        animation: none;                  /* disable wide-screen typing */
        opacity: 1;
    }

    /* Add a MOBILE-ONLY typewriter effect that wraps safely */
    .fp-typewriter.mobile-typed {
        display: inline-block;
        white-space: normal !important;
        overflow: hidden;
        border-right: 3px solid #0b2e33;
        animation: typing-mobile 4s steps(35, end), blink .75s step-end infinite;
    }

    @keyframes typing-mobile {
        from { width: 0 }
        to { width: 100% }
    }
}

/* Cursor blink */
@keyframes blink {
    0%, 100% { border-color: transparent }
    50% { border-color: #ffffff }
}
/* Text outline specifically for Terms page hero */
.hero-banner.terms-hero h1,
.hero-banner.terms-hero p {
    text-shadow:
        -1px -1px 2px #000,
         1px -1px 2px #000,
        -1px  1px 2px #000,
         1px  1px 2px #000;
}
/* === Mobile Fix for Specials Modal Buttons === */
@media (max-width: 480px) {
  .promo-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .promo-actions .btn,
  .promo-actions .btn-outline,
  .promo-actions .promo-secondary {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }
}
/* Hide floorplan price badges on mobile */
@media (max-width: 640px) {
    .fp-price-badges,
    .fp-price-badge {
        display: none !important;
    }
}
/* Center the availability table text on mobile */
@media (max-width: 640px) {

    .fp-availability-table-wrapper,
    .fp-availability-table,
    .fp-availability-table * {
        text-align: center !important;
    }

    /* Optional: center buttons & spacing inside each plan card */
    .fp-availability-table-wrapper .btn,
    .fp-availability-table-wrapper a {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
}
@media (max-width: 768px) {
  .fp-availability-table th,
  .fp-availability-table td {
    text-align: center !important;
  }

  .fp-availability-table td a.fp-table-link {
    display: inline-block;
    margin: 0 auto;
  }
}
/* ============================
   FAQ IMAGE + TWO COLUMN LAYOUT
============================ */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.faq-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-image {
    order: -1; /* Image appears on top for mobile */
  }
}
/* MOBILE FIX — remove left padding for lifestyle banner */
@media (max-width: 768px) {
  .lifestyle-content2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .lifestyle-content2 h2,
  .lifestyle-content2 p {
    text-align: center !important;
  }
}


