/* RedBird Homes – Modern Bold Property Management Site */
:root {
  --red: #DE090F;
  --red-dark: #b0070c;
  --black: #000000;
  --black-soft: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-800: #222;
  --gray-700: #2e2e2e;
  --gray-600: #444;
  --gray-400: #888;
  --gray-300: #bbb;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1200px;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222,9,15,0.25);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 92px;
  width: auto;
  max-width: 360px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.logo-text span { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-300);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: rgba(222, 9, 15, 0.22);
}

.nav a.active { color: var(--red); }

.header-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 8px;
  font-weight: 700 !important;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 130px;
    left: 0;
    right: 0;
    background: #f5f5f5;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-700);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { width: 100%; text-align: center; padding: 0.9rem; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 3rem 1.5rem 2rem;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1rem 0 1rem 1.5rem;
}

@media (max-width: 900px) {
  .hero-content { padding: 0; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero p { margin-left: auto; margin-right: auto; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-buttons { justify-content: center; }
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero-image {
    min-height: 280px;
    order: -1;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(222,9,15,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-600);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-400);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.accent { color: var(--red); }

/* ========== CARDS / GRID ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

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

.path-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 280px;
}

.path-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.why-card {
  text-align: center;
}

.why-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: rgba(222,9,15,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(222, 9, 15, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--red);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--gray-400);
  font-size: 0.98rem;
}

/* ========== RENTALS ========== */
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.rental-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.rental-card:hover {
  border-color: rgba(222,9,15,0.55);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.rental-img {
  height: 220px;
  background: var(--gray-800);
  position: relative;
  overflow: hidden;
}

.rental-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rental-card:hover .rental-img img {
  transform: scale(1.05);
}

.rental-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rental-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rental-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.rental-address {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.rental-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.rental-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.rental-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.rental-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
}

.rental-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* ========== ABOUT / CONTENT ========== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .content-block { grid-template-columns: 1fr; gap: 2rem; }
}

.content-block h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.content-block p {
  color: var(--gray-300);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--gray-900);
  border-radius: var(--radius);
  border: 1px solid var(--gray-700);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(222, 9, 15, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-item a:hover { color: var(--red); }

.contact-form {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border: none;
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 12px 40px rgba(222, 9, 15, 0.25);
}

.contact-form h3 {
  color: #ffffff !important;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.95);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  color: #111;
  font-family: inherit;
  font-size: 1rem;
  transition: box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.contact-form .btn-primary {
  background: #ffffff !important;
  color: var(--red) !important;
  font-weight: 700;
}
.contact-form .btn-primary:hover {
  background: #f5f5f5 !important;
  transform: translateY(-2px);
}
.contact-form p,
.contact-form a {
  color: rgba(255,255,255,0.9) !important;
}
.contact-form a {
  text-decoration: underline;
}

/* ========== RESOURCES ========== */
.resource-list {
  display: grid;
  gap: 1rem;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  transition: all 0.2s ease;
}

.resource-item:hover {
  border-color: rgba(222,9,15,0.5);
  background: var(--gray-800);
}

.resource-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(222, 9, 15, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.resource-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.resource-item p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.footer {
  background: #f5f5f5;
  border-top: 1px solid var(--gray-700);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 42px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-300);
  margin-bottom: 1.1rem;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 0.55rem; }

.footer ul a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer ul a:hover { color: var(--red); }

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-700);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ========== UTILS ========== */
/* page-hero replaced below */





.loading, .empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--gray-400);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--gray-600);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.75rem;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-banner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.cta-banner .btn {
  background: white;
  color: var(--red);
}

.cta-banner .btn:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
/* Clickable rental cards */
.rental-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.rental-card-link:hover h3 {
  color: var(--red);
}
.rental-card {
  display: flex;
  flex-direction: column;
}
.rental-actions {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rental-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== Property Modal ===== */
.property-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.property-modal.open {
  opacity: 1;
  visibility: visible;
}
.property-modal-content {
  background: #f5f5f5;
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 1.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--red); }

.modal-gallery {
  position: relative;
  background: #000;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-gallery img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: none;
  color: white;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-nav:hover { background: var(--red); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.gallery-dots .dot.active { background: var(--red); }

.modal-info {
  padding: 1.75rem 2rem 2rem;
}
.modal-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--white);
}
.modal-address {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}
.modal-meta div {
  text-align: center;
}
.modal-meta strong {
  display: block;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
}
.modal-meta span {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.modal-desc h4 {
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}
.modal-desc p {
  color: var(--gray-400);
  line-height: 1.6;
  font-size: 0.95rem;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

@media (max-width: 600px) {
  .property-modal { padding: 0.75rem; }
  .modal-info { padding: 1.25rem; }
  .modal-gallery img { max-height: 280px; }
}

.modal-amenities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.modal-amenities li {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #eee;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
}
.modal-amenities li::before {
  content: "✓ ";
  color: var(--red);
  font-weight: 700;
}


/* ===== Light body theme overrides ===== */
.header {
  background: #000000 !important;
}
.header a, .header .nav a {
  color: #ccc !important;
}
.header .nav a:hover,
.header .nav a.active {
  color: #fff !important;
}
.header .header-cta {
  background: var(--red) !important;
  color: #fff !important;
}
.footer {
  background: #000000 !important;
  color: #fff !important;
}
.footer a, .footer h4, .footer p, .footer span, .footer li {
  color: #ccc !important;
}
.footer a:hover {
  color: #fff !important;
}
.footer-bottom {
  border-top-color: #222 !important;
  color: #888 !important;
}

/* Sections & cards on light background */
.section {
  background: var(--body-bg);
}
.section[style*="black-soft"],
.section[style*="background: var(--black-soft)"] {
  background: #f5f5f5 !important;
}
.card, .resource-card, .stat-box, .org-card, .rental-card {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.card h3, .resource-card h3, .stat-box .number,
.rental-body h3, .founder-bio h3, .section-header h2,
.modal-info h2, .content-block h2 {
  color: #111 !important;
}
.card p, .resource-card p, .rental-address, .rental-meta,
.founder-bio p, .section-header p, .content-block p,
.guidelines-section li, .info-list li {
  color: #444 !important;
}
.stat-box .label { color: #666 !important; }
.stat-box .number { color: var(--red) !important; }

/* Keep home hero dark */
.hero, .hero * {
  color: #fff !important;
}
.hero {
  background: #0a0a0a !important;
}

/* Modal stays dark for contrast */
.property-modal-content {
  background: #111 !important;
  border-color: #333 !important;
}
.modal-info h2, .modal-meta strong, .detail-item .value {
  color: #fff !important;
}
.modal-address, .modal-meta span, .detail-item .label,
.modal-desc p, .modal-desc h4, .modal-amenities h4 {
  color: #aaa !important;
}
.modal-amenities li {
  background: #1a1a1a !important;
  border-color: #333 !important;
  color: #eee !important;
}
.detail-item {
  background: #1a1a1a !important;
  border-color: #333 !important;
}

/* Buttons stay strong */
.btn-primary {
  background: var(--red) !important;
  color: #fff !important;
}
.btn-outline {
  border-color: #ccc !important;
  color: #333 !important;
}
.btn-outline:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
}

/* Rental cards */
.rental-price { color: var(--red) !important; }
.badge { background: var(--red) !important; color: #fff !important; }

/* About founder */
.founder-title { color: var(--red) !important; }


/* FINAL light theme lock */
body { background: #ffffff !important; color: #1a1a1a !important; }
.header { background: #000000 !important; }
.footer { background: #000000 !important; color: #ccc !important; }
.footer * { color: #ccc !important; }
.footer a:hover { color: #fff !important; }
.hero { background: #0a0a0a !important; }
.hero, .hero h1, .hero p, .hero span { color: #fff !important; }



/* Light home hero */
.hero {
  background: #ffffff !important;
  color: #1a1a1a !important;
}
.hero h1, .hero h1 span, .hero p {
  color: #1a1a1a !important;
}
.hero h1 span, .hero .accent {
  color: var(--red) !important;
}
.hero .btn-outline {
  border-color: #333 !important;
  color: #1a1a1a !important;
}
.hero .btn-outline:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
}
.hero-split, .hero-content {
  background: transparent !important;
}


/* Team photos slightly larger */
.team-photo, .founder-photo {
  object-fit: cover;
}

/* Menu hover like Available Rentals button */
.nav a:not(.header-cta):hover {
  background: var(--red) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
.nav a.active:not(.header-cta) {
  background: rgba(222, 9, 15, 0.2) !important;
  color: #fff !important;
}

/* Icon backgrounds - more red, less pink */
.card-icon,
.contact-item-icon,
[class*="icon"] {
  background: rgba(222, 9, 15, 0.18) !important;
  color: var(--red) !important;
}

/* Invest page top stats / boxes - red theme instead of black */
.stats .stat,
.stat,
.content-block .stats .stat {
  background: linear-gradient(135deg, rgba(222,9,15,0.15) 0%, rgba(222,9,15,0.08) 100%) !important;
  border: 1px solid rgba(222, 9, 15, 0.35) !important;
  border-radius: 12px !important;
}
.stats .stat-num,
.stat .stat-num {
  color: var(--red) !important;
}
.stats .stat-label,
.stat .stat-label {
  color: var(--gray-300) !important;
}

/* Map box */
.map-box img {
  object-fit: contain !important;
}


/* Invest top boxes - solid red like site buttons */
.content-block .stats .stat,
.stats .stat {
  background: linear-gradient(135deg, #DE090F 0%, #b0070c 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1.5rem 1.25rem !important;
  box-shadow: 0 8px 24px rgba(222, 9, 15, 0.3) !important;
}
.stats .stat-num,
.content-block .stats .stat-num {
  color: #ffffff !important;
  font-weight: 900 !important;
}
.stats .stat-label,
.content-block .stats .stat-label {
  color: rgba(255,255,255,0.9) !important;
}

/* Property modal - white background */
.property-modal-content {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #1a1a1a !important;
}
.modal-info h2 {
  color: #111 !important;
}
.modal-address {
  color: #555 !important;
}
.modal-meta {
  border-color: #e5e5e5 !important;
}
.modal-meta strong {
  color: #111 !important;
}
.modal-meta span {
  color: #666 !important;
}
.detail-item {
  background: #f5f5f5 !important;
  border-color: #e5e5e5 !important;
}
.detail-item .label {
  color: #666 !important;
}
.detail-item .value {
  color: #111 !important;
}
.modal-desc h4,
.modal-amenities h4 {
  color: #333 !important;
}
.modal-desc p {
  color: #444 !important;
}
.modal-amenities li {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  color: #333 !important;
}
.modal-amenities li::before {
  color: var(--red) !important;
}
.modal-close {
  background: rgba(0,0,0,0.5) !important;
  color: #fff !important;
}
.modal-gallery {
  background: #f0f0f0 !important;
}
.property-modal {
  background: rgba(0,0,0,0.55) !important;
}


/* Invest red boxes - hover like other cards */
.stats .stat {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  cursor: default;
}
.stats .stat:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(222, 9, 15, 0.45) !important;
}

/* Active menu item = same as hover (solid red) */
.nav a.active:not(.header-cta),
.header .nav a.active:not(.header-cta) {
  background: var(--red) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
.nav a:not(.header-cta):hover {
  background: var(--red) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

/* Resources doc links dark text */
.doc-link {
  color: #1a1a1a !important;
}
.doc-link:hover {
  color: var(--red) !important;
}


/* Footer social links */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #222;
  margin-top: 0.5rem;
}
.footer-social-label {
  color: #888 !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-social a {
  color: #ccc !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #fff !important;
}
.footer-social a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 600px) {
  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
}


/* ===== Polished footer: social + EHO ===== */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0;
  border: none;
}
.footer-social-label { display: none; }
.social-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-radius: 8px;
  color: #eee !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.social-btn img {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.95;
}
.social-btn:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.social-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.footer-bottom {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid #222;
}
.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: #888 !important;
  font-size: 0.85rem;
}
.footer-sep { color: #444; }
.footer-eho {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #aaa !important;
  font-size: 0.8rem;
  font-weight: 500;
}
.footer-eho img {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 4px;
  padding: 3px;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
}
.area-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.footer-app-label {
  margin: 1.1rem 0 0.5rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888 !important;
}
.footer-apps {
  margin-top: 0 !important;
}
.social-btn-doorloop img {
  background: #fff;
  border-radius: 4px;
}


/* ===== READABILITY PASS – darker consistent text ===== */
body {
  color: #1a1a1a !important;
}
p, li, .info-list li, .card p, .resource-card p,
.section-header p, .content-block p, .founder-bio p,
.rental-address, .rental-meta, .rental-desc,
.guidelines-section li, .modal-desc p {
  color: #222222 !important;
}
h1, h2, h3, h4, .section-title, .section-header h2,
.card h3, .resource-card h3 {
  color: #111111 !important;
}
.hero-content h1, .hero-content p { color: inherit; }
.hero-content h1 { color: #111 !important; }
.hero-content p { color: #333 !important; }
/* Keep white text on dark/red surfaces */
.header, .header a, .footer, .footer a, .footer p, .footer span, .footer li,
.footer h4, .cta-banner, .cta-banner h2, .cta-banner p,
.contact-form, .contact-form h3, .contact-form label,
.contact-form p, .stats .stat-num, .stats .stat-label,
.badge, .btn-primary, .header-cta {
  color: inherit;
}
.footer, .footer * { color: #ccc !important; }
.footer a:hover { color: #fff !important; }
.cta-banner h2, .cta-banner p { color: #fff !important; }
.contact-form h3, .contact-form label, .contact-form p, .contact-form a { color: #fff !important; }
.stats .stat-num, .stats .stat-label { color: #fff !important; }
.nav a, .header .nav a { color: #ccc !important; }
.nav a:hover, .nav a.active, .header-cta { color: #fff !important; }


/* page-hero hidden – title lives in content */
.page-hero { display: none !important; }



/* PAGE CONTENT HEADING – large left title under menu */
.page-heading {
  text-align: left;
  margin: 0 0 2rem;
}
.page-heading h1 {
  font-size: clamp(2.5rem, 5vw, 3.45rem);
  font-weight: 900;
  color: #111 !important;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-hero { display: none !important; }

.invest-path-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.invest-path-stats .stat {
  width: 100%;
  min-width: 200px;
}
.invest-path-stats .stat:hover {
  transform: translateY(-2px);
}
