/* ==========================================================================
   Custom Styles (Bootstrap kept for layout/utilities)
   ========================================================================== */

/* ------------------------------
   Root Variables
------------------------------ */
:root {
  --brand: #0ea5e9;
  --dark: #0f172a;
  --muted: #6b7280;
}

/* ------------------------------
   Base
------------------------------ */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111827;
  background: #ebe1d2;
  -webkit-font-smoothing: antialiased;

  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer down if content is short */
}

a {
  text-decoration: none;
}

/* ------------------------------
   Header
------------------------------ */
.header-logo {
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.2px;
  font-size: 1.25rem;
}

/* ------------------------------
   Hero
------------------------------ */
.hero {
  background-image: linear-gradient(rgb(2 6 23 / 7%), rgb(2 6 23 / 28%)), url('../images/paradise-valley-house-front.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 0 6rem;
}

/* ------------------------------
   Sections
------------------------------ */
.section {
  padding: 3rem 0;
}

.resource-section img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ------------------------------
   Cards
------------------------------ */
.feature-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-section .feature-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* ------------------------------
   Buttons
------------------------------ */
.cta-btn {
  background: var(--brand);
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

/* ------------------------------
   Testimonials
------------------------------ */
.testimonials-columns {
  column-count: 2;
  column-gap: 2rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--dark);
}

/* ------------------------------
   Media / People
------------------------------ */
.agent-photo {
  width: 275px;
  height: 275px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.12);
}

.about-section img.agent-photo {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 2rem 0;
  margin-top: auto; /* Ensures footer sits at bottom */
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
}

/* ------------------------------
   Utilities
------------------------------ */
.meta-badge {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
  .testimonials-columns {
    column-count: 1;
  }
  .feature-card {
	margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .agent-photo {
    width: 120px;
    height: 120px;
  }

  .resource-section img {
    height: initial;
    max-height: 400px;
  }
}
