/* ===========================
   NookandCranny Nigeria - Main Styles
   =========================== */

:root {
  --primary: #1a6e3c;
  --primary-dark: #145530;
  --primary-light: #e8f5ee;
  --accent: #f5a623;
  --accent-dark: #d4881a;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ===========================
   HEADER & NAV
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.header.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link,
.header.scrolled .logo-text {
  color: var(--text-dark);
}

.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.header.scrolled .btn-sign-in {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Real logo image in nav */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: transform 0.2s;
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* On scrolled (white) header */
.header.scrolled .logo-img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}

/* Footer logo */
.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.85);
}

/* Keep legacy text classes in case referenced elsewhere */
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sign-in {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50px;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn-sign-in:hover {
  background: white;
  color: var(--primary);
}

.btn-nav-cta {
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}

/* ---- Slideshow background ---- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 32s infinite;
  transform: scale(1.08);
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
  background-image: url('../images/hero/hero-1.jpg');
}
.hero-slide:nth-child(2) {
  animation-delay: 8s;
  background-image: url('../images/hero/hero-2.jpg');
}
.hero-slide:nth-child(3) {
  animation-delay: 16s;
  background-image: url('../images/hero/hero-3.jpg');
}
.hero-slide:nth-child(4) {
  animation-delay: 24s;
  background-image: url('../images/hero/hero-4.jpg');
}

@keyframes slideShow {
  0%   { opacity: 0; transform: scale(1.08); }
  5%   { opacity: 1; transform: scale(1.08); }
  25%  { opacity: 1; transform: scale(1.00); }
  30%  { opacity: 0; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(1.00); }
}

/* Dark overlay over the slideshow */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(10, 35, 20, 0.78) 0%,
    rgba(20, 65, 40, 0.65) 50%,
    rgba(10, 30, 18, 0.80) 100%
  );
}

/* Subtle vignette at bottom for search box legibility */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.45) 0%, transparent 70%);
}

/* Dots indicator */
.slide-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.slide-dot.active,
.slide-dot:hover {
  background: white;
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 0;
  font-weight: 400;
  line-height: 1.7;
}

/* ===========================
   SEARCH BOX
   =========================== */
.search-box {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: visible;
}

.search-tabs {
  display: flex;
  padding: 16px 20px 0;
  gap: 4px;
  border-bottom: 1px solid var(--border);
}

.search-tab {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.search-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-light);
}

.search-tab:hover:not(.active) {
  color: var(--text-dark);
  background: var(--bg-light);
}

.search-form {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  color: var(--primary);
  font-size: 1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: border-color 0.2s;
  background: var(--bg-light);
  font-family: inherit;
  cursor: pointer;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.btn-search {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,110,60,0.4);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  margin-top: 36px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
  color: white;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
}

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
  background: var(--primary);
  padding: 18px 20px;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   APARTMENT CARDS
   =========================== */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.apt-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.apt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.apt-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a6e3c 0%, #27ae60 100%);
}

.apt-card-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.4;
  transition: transform 0.4s ease;
}

.apt-card:hover .apt-card-img-inner {
  transform: scale(1.08);
}

/* Real apartment photos per card — paths relative to css/ folder */
.apt-img-1 {
  background-image: url('../images/living/living-2.jpg');
  background-size: cover; background-position: center;
}
.apt-img-2 {
  background-image: url('../images/bedroom/bedroom-3.jpg');
  background-size: cover; background-position: center;
}
.apt-img-3 {
  background-image: url('../images/living/living-3.jpg');
  background-size: cover; background-position: center;
}
.apt-img-4 {
  background-image: url('../images/bedroom/bedroom-9.jpg');
  background-size: cover; background-position: center;
}
.apt-img-5 {
  background-image: url('../images/bedroom/bedroom-5.jpg');
  background-size: cover; background-position: center;
}

/* Make card image inner emoji invisible when real photo is set */
.apt-img-1 .apt-card-img-inner,
.apt-img-2 .apt-card-img-inner,
.apt-img-3 .apt-card-img-inner,
.apt-img-4 .apt-card-img-inner,
.apt-img-5 .apt-card-img-inner {
  display: none;
}

.apt-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.apt-badge.badge-popular {
  background: var(--accent);
  color: white;
}

.apt-badge.badge-new {
  background: var(--primary);
  color: white;
}

.apt-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: none;
}

.apt-wishlist:hover {
  transform: scale(1.1);
  color: #e74c3c;
}

.apt-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.apt-location {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.apt-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.apt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.apt-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.apt-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.apt-stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.apt-rating-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.apt-rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.apt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.apt-price {
  display: flex;
  flex-direction: column;
}

.apt-price-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.apt-price-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-book {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-book:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-section {
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: var(--primary);
  transform: scale(1.05);
}

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   LOCATION HIGHLIGHT
   =========================== */
.location-section {
  background: linear-gradient(135deg, #0d4a28 0%, #1a6e3c 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.location-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.location-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.location-text h2 span {
  color: var(--accent);
}

.location-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 28px;
}

.location-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  line-height: 1.5;
}

.perk-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.location-map {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-placeholder {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  border: 1px dashed rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.map-placeholder:hover {
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.8);
}

.map-pin-large {
  font-size: 2.5rem;
}

.map-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.location-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loc-highlight {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===========================
   AMENITIES SECTION
   =========================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.amenity-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.amenity-item:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.amenity-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.amenity-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, #1a6e3c, #27ae60); }
.av-2 { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.av-3 { background: linear-gradient(135deg, #2980b9, #3498db); }

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #e8901a 100%);
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  background: white;
  color: var(--accent-dark);
  border: none;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0d1117;
  color: rgba(255,255,255,0.75);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.footer-brand .logo-text {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
}

.social-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ===========================
   MODAL / BOOKING OVERLAY
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.modal-body {
  padding: 28px;
}

.modal-apt-preview {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.modal-apt-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.modal-apt-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-apt-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-summary {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 20px 0;
  border: 1px solid rgba(26,110,60,0.15);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.booking-summary-row:last-child {
  margin-bottom: 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  padding-top: 10px;
  border-top: 1px solid rgba(26,110,60,0.2);
}

.btn-confirm {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-confirm:hover {
  box-shadow: 0 6px 20px rgba(26,110,60,0.4);
  transform: translateY(-1px);
}

/* ===========================
   APARTMENT DETAIL PAGE
   =========================== */
.detail-header {
  background: var(--primary);
  padding: 90px 20px 50px;
  position: relative;
  overflow: hidden;
}

.detail-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  border-radius: 40px 40px 0 0;
}

.detail-hero-img {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.detail-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
}

.detail-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.detail-feature-icon {
  font-size: 1.2rem;
}

.detail-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  margin-top: 28px;
  color: var(--text-dark);
}

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.amenity-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
}

.amenity-check-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.booking-card {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 28px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-md);
}

.booking-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.booking-card-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ===========================
   WHATSAPP FLOAT BUTTON
   =========================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: all 0.25s;
  animation: waPulse 3s infinite;
}

.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.85), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ===========================
   NOTIFICATION TOAST
   =========================== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .location-inner {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .search-form {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .apartments-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stat-divider {
    display: none;
  }
}
