/* =============================================
   APONGRIHO — Premium Real Estate CSS
   ============================================= */

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

:root {
  --ap-green: #1a6b3a;
  --ap-green-light: #22c55e;
  --ap-gold: #c8a84b;
  --ap-dark: #0f1a12;
  --ap-navy: #0d1b2a;
  --ap-charcoal: #1c2526;
  --ap-mid: #3d4f3f;
  --ap-text: #2a3528;
  --ap-muted: #6b7c6e;
  --ap-light: #f4f7f4;
  --ap-white: #ffffff;
  --ap-border: rgba(26,107,58,0.15);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(15,26,18,0.08);
  --shadow-md: 0 8px 32px rgba(15,26,18,0.14);
  --shadow-lg: 0 20px 60px rgba(15,26,18,0.18);
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ap-text);
  background: var(--ap-white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ap-dark);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ap-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--ap-green);
}
.section-label.light { color: var(--ap-gold); }
.section-label.light::before { background: var(--ap-gold); }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ap-dark);
}
.display-title.light { color: var(--ap-white); }

/* ---- BUTTONS ---- */
.btn-ap-primary {
  background: var(--ap-green);
  color: var(--ap-white);
  border: none;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-ap-primary:hover {
  background: var(--ap-dark);
  color: var(--ap-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ap-outline {
  background: transparent;
  color: var(--ap-white);
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-ap-outline:hover {
  background: var(--ap-white);
  color: var(--ap-dark);
  border-color: var(--ap-white);
}

.btn-ap-outline-dark {
  background: transparent;
  color: var(--ap-dark);
  border: 1.5px solid var(--ap-dark);
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-ap-outline-dark:hover {
  background: var(--ap-dark);
  color: var(--ap-white);
}

.btn-ap-gold {
  background: var(--ap-gold);
  color: var(--ap-dark);
  border: none;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-ap-gold:hover {
  background: var(--ap-dark);
  color: var(--ap-gold);
  transform: translateY(-2px);
}

/* ---- NAVBAR ---- */
#mainNavbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  padding: 22px 0;
  background: transparent;
  transition: var(--transition);
}
#mainNavbar.scrolled {
  background: var(--ap-dark);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
#mainNavbar .navbar-brand img { height: 44px; filter: brightness(0) invert(1); }
#mainNavbar .nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 6px 16px !important;
  transition: var(--transition);
}
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active { color: var(--ap-gold) !important; }
#mainNavbar .navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 6px 10px;
}
#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNavbar .dropdown-menu {
  background: var(--ap-dark);
  border: none;
  border-radius: var(--radius);
  padding: 8px 0;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 180px;
}
#mainNavbar .dropdown-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: var(--transition);
}
#mainNavbar .dropdown-item:hover { background: var(--ap-green); color: #fff; }

/* ---- HERO ---- */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1800&auto=format&fit=crop&q=80');
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,20,13,0.88) 0%,
    rgba(10,20,13,0.55) 45%,
    rgba(10,20,13,0.2) 100%
  );
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ap-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1.5px;
  background: var(--ap-gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  color: var(--ap-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--ap-gold); }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-search {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  gap: 0;
  max-width: 640px;
}
.hero-search select,
.hero-search input {
  background: transparent;
  border: none;
  color: var(--ap-white);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  flex: 1;
  outline: none;
}
.hero-search select option { color: var(--ap-dark); background: #fff; }
.hero-search .sep {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin: 6px 0;
}
.hero-search button {
  background: var(--ap-green);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.hero-search button:hover { background: var(--ap-gold); color: var(--ap-dark); }

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--ap-gold), transparent);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,20,13,0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  z-index: 2;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ap-gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ---- SECTION SPACING ---- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.section-pad-lg { padding: 130px 0; }

/* ---- PROJECT CARDS ---- */
.project-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--ap-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.project-card-badge.ongoing { background: var(--ap-green); }
.project-card-badge.completed { background: var(--ap-gold); color: var(--ap-dark); }
.project-card-body { padding: 28px; }
.project-card-location {
  font-size: 0.75rem;
  color: var(--ap-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ap-dark);
}
.project-card p {
  font-size: 0.88rem;
  color: var(--ap-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.project-card-meta {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--ap-border);
  padding-top: 18px;
  margin-top: 4px;
}
.project-meta-item {
  display: flex;
  flex-direction: column;
}
.project-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-muted);
  margin-bottom: 3px;
}
.project-meta-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ap-dark);
}
.project-card-link {
  color: var(--ap-green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  transition: var(--transition);
}
.project-card-link:hover { gap: 12px; color: var(--ap-dark); }

/* ---- COMPLETED PROJECTS (editorial) ---- */
.completed-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.completed-item:nth-child(even) .completed-img { order: 2; }
.completed-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.completed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.completed-item:hover .completed-img img { transform: scale(1.04); }
.completed-body {
  background: var(--ap-light);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.completed-body .section-label { margin-bottom: 0.6rem; }
.completed-body h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.completed-body p {
  color: var(--ap-muted);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

/* ---- WHAT WE OFFER (dark) ---- */
.offer-section {
  background: var(--ap-charcoal);
  position: relative;
  overflow: hidden;
}
.offer-section::before {
  content: 'SERVICES';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.service-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ap-green);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  border-color: rgba(34,197,94,0.2);
}
.service-icon {
  width: 62px; height: 62px;
  background: rgba(26,107,58,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--ap-green-light);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--ap-green);
  color: #fff;
}
.service-card h5 {
  color: var(--ap-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.service-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* ---- STATS SECTION ---- */
.stats-section { background: var(--ap-green); }
.stat-block { text-align: center; padding: 20px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--ap-white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix {
  font-size: 0.6em;
  color: var(--ap-gold);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---- FEATURED PROJECT DETAIL ---- */
.featured-project-section { background: var(--ap-light); }
.fp-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.fp-img-main img { width: 100%; height: 100%; object-fit: cover; }
.fp-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.fp-gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.fp-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fp-gallery-thumb:hover img { transform: scale(1.08); }
.fp-specs-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.fp-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ap-border);
  font-size: 0.88rem;
}
.fp-spec-row:last-child { border-bottom: none; }
.fp-spec-label { color: var(--ap-muted); }
.fp-spec-value { font-weight: 600; color: var(--ap-dark); }
.fp-map {
  height: 220px;
  background: #d8e8d8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-map iframe { width: 100%; height: 100%; border: none; }

/* ---- CONTACT SECTION ---- */
.contact-section { background: var(--ap-dark); }
.ap-form-control {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ap-white);
  outline: none;
  transition: var(--transition);
}
.ap-form-control::placeholder { color: rgba(255,255,255,0.35); }
.ap-form-control:focus {
  border-color: var(--ap-green);
  background: rgba(255,255,255,0.1);
}
.ap-form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  display: block;
}

/* ---- NEWS CARDS ---- */
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--ap-white);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-date {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-green);
  margin-bottom: 10px;
}
.news-card h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.news-card p { font-size: 0.85rem; color: var(--ap-muted); }
.news-read-more {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ap-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  transition: var(--transition);
}
.news-read-more:hover { gap: 10px; }

/* ---- NEWSLETTER ---- */
.newsletter-section { background: var(--ap-light); }
.newsletter-form {
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  gap: 0;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ap-white);
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  color: var(--ap-dark);
}
.newsletter-form button {
  background: var(--ap-green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--ap-dark); }

/* ---- FOOTER ---- */
.ap-footer {
  background: var(--ap-dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 260px; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ap-gold);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '—'; opacity: 0.3; font-size: 0.7rem; }
.footer-links a:hover { color: var(--ap-white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}
.footer-contact-item i { color: var(--ap-green-light); margin-top: 3px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--ap-green); border-color: var(--ap-green); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--ap-gold); text-decoration: none; }

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed;
  bottom: 36px; right: 36px;
  width: 48px; height: 48px;
  background: var(--ap-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--ap-dark); }

/* ---- DIVIDER ---- */
.ap-divider {
  width: 60px; height: 2px;
  background: var(--ap-green);
  margin-bottom: 24px;
}
.ap-divider.gold { background: var(--ap-gold); }
.ap-divider.center { margin-left: auto; margin-right: auto; }

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--ap-white);
  border-top: 1px solid var(--ap-border);
  border-bottom: 1px solid var(--ap-border);
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.about-strip-img { overflow: hidden; }
.about-strip-img img { width: 100%; height: 100%; object-fit: cover; }
.about-strip-body {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-strip-body h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.2rem;
}
.about-strip-body p {
  color: var(--ap-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-checkmarks { list-style: none; padding: 0; margin: 1.5rem 0; }
.about-checkmarks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--ap-text);
}
.about-checkmarks li i { color: var(--ap-green); margin-top: 3px; flex-shrink: 0; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- PROJECT DETAILS PAGE ---- */
.page-hero {
  height: 65vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,13,0.9) 0%, rgba(10,20,13,0.3) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding-bottom: 60px; }
.breadcrumb-ap {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.breadcrumb-ap a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb-ap a:hover { color: var(--ap-gold); }
.breadcrumb-ap .sep { color: rgba(255,255,255,0.3); }
.breadcrumb-ap .current { color: var(--ap-gold); }

/* Sticky side nav */
.sticky-side-nav {
  position: sticky;
  top: 90px;
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ap-border);
}
.side-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ap-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: var(--transition);
  margin-bottom: 4px;
}
.side-nav-link:hover,
.side-nav-link.active {
  background: rgba(26,107,58,0.08);
  color: var(--ap-green);
}
.side-nav-link i { font-size: 0.9rem; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  position: relative;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,13,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.8rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Floor plan tabs */
.ap-tabs { border: none; margin-bottom: 0; }
.ap-tabs .nav-item { margin-right: 4px; }
.ap-tabs .nav-link {
  border: 1.5px solid var(--ap-border) !important;
  border-radius: var(--radius) !important;
  background: transparent;
  color: var(--ap-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  transition: var(--transition);
}
.ap-tabs .nav-link:hover { border-color: var(--ap-green) !important; color: var(--ap-green); }
.ap-tabs .nav-link.active {
  background: var(--ap-green) !important;
  border-color: var(--ap-green) !important;
  color: #fff !important;
}

/* Amenities */
.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ap-light);
  border: 1px solid var(--ap-border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ap-text);
  margin: 4px;
  transition: var(--transition);
}
.amenity-chip:hover { background: var(--ap-green); color: #fff; border-color: var(--ap-green); }
.amenity-chip i { color: var(--ap-green); font-size: 0.9rem; }
.amenity-chip:hover i { color: #fff; }

/* Brochure download */
.brochure-block {
  background: linear-gradient(135deg, var(--ap-dark) 0%, var(--ap-charcoal) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brochure-block h3 { color: var(--ap-white); font-size: 1.8rem; margin-bottom: 8px; }
.brochure-block p { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* Lightbox */
.ap-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ap-lightbox.open { opacity: 1; pointer-events: all; }
.ap-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ---- MISC UTILITIES ---- */
.text-green { color: var(--ap-green) !important; }
.text-gold { color: var(--ap-gold) !important; }
.bg-dark-ap { background: var(--ap-dark); }
.bg-charcoal { background: var(--ap-charcoal); }
.bg-light-ap { background: var(--ap-light); }
.fw-light { font-weight: 300; }
.hr-light { border-color: rgba(255,255,255,0.1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
  .completed-item { grid-template-columns: 1fr; }
  .completed-item:nth-child(even) .completed-img { order: 0; }
  .completed-body { padding: 40px 32px; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-strip-img { height: 320px; }
  .about-strip-body { padding: 48px 32px; }
  .hero-search { flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: 70px 0; }
  .hero-title { font-size: 2.8rem; }
  .hero-stats .row { flex-wrap: nowrap; overflow-x: auto; }
  .hero-stat-item { flex-shrink: 0; border-right: 1px solid rgba(255,255,255,0.1); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .brochure-block { padding: 32px 24px; }
  .fp-gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
