/* ============================================
   Home Rental Services, Inc. — Stylesheet
   Deep Navy (#1e3a5f) + Warm Gold (#d4a017)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #2c3e50;
  background: #fff;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: #1e3a5f;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5a6c7d;
  max-width: 600px;
  margin: 0 auto;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold {
  background: #d4a017;
  color: #1e3a5f;
  border-color: #d4a017;
}

.btn-gold:hover {
  background: #c4920f;
  border-color: #c4920f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: #fff;
  color: #1e3a5f;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: #1e3a5f;
  border-color: #1e3a5f;
}

.btn-outline-navy:hover {
  background: #1e3a5f;
  color: #fff;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.0);
  padding: 16px 0;
  transition: all 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(30, 58, 95, 0.08);
  padding: 10px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .logo {
  color: #1e3a5f;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a017;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #fff;
}

.site-header.scrolled .main-nav a {
  color: #5a6c7d;
}

.site-header.scrolled .main-nav a:hover {
  color: #1e3a5f;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/8082315/pexels-photo-8082315.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center center / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.82) 0%,
    rgba(30, 58, 95, 0.65) 50%,
    rgba(30, 58, 95, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-title em {
  color: #d4a017;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: #d4a017;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.2);
  border: 4px solid #fff;
  max-width: 60%;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a5f;
}

.about-text .section-subtitle {
  margin: 0;
}

.about-text p {
  color: #5a6c7d;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #2c3e50;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 100px 0;
  background: #f8f6f2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.35s ease;
  border: 1px solid rgba(30, 58, 95, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30, 58, 95, 0.1);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a5f, #2d5278);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #d4a017;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #5a6c7d;
  line-height: 1.7;
}

/* ---------- NEIGHBORHOODS ---------- */
.neighborhoods {
  padding: 100px 0;
  background: #fff;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.neighborhood-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.08);
  transition: all 0.35s ease;
}

.neighborhood-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.14);
}

.neighborhood-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.neighborhood-info {
  padding: 24px 28px 28px;
}

.neighborhood-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.neighborhood-info p {
  font-size: 0.92rem;
  color: #5a6c7d;
  line-height: 1.7;
}

/* ---------- WHY US ---------- */
.why-us {
  padding: 100px 0;
  background: #1e3a5f;
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.why-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 16px;
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.why-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.7));
  padding: 32px 28px 28px;
}

.why-quote p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 10px;
}

.why-quote span {
  font-size: 0.82rem;
  color: #d4a017;
  font-weight: 600;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #d4a017 0%, #c4920f 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #1e3a5f;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1.05rem;
  color: rgba(30, 58, 95, 0.75);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn-gold {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #d4a017;
}

.cta-actions .btn-gold:hover {
  background: #162d4a;
  border-color: #162d4a;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.4);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: #f8f6f2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 160, 23, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: #1e3a5f;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: #5a6c7d;
  line-height: 1.6;
}

.contact-item a {
  color: #1e3a5f;
  text-decoration: underline;
  text-decoration-color: rgba(212, 160, 23, 0.4);
  text-underline-offset: 3px;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.contact-item a:hover {
  color: #d4a017;
  text-decoration-color: #d4a017;
}

.contact-map {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.08);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-note {
  font-size: 0.88rem;
  color: #5a6c7d;
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0dcd4;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2c3e50;
  background: #faf9f7;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4a017;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
  background: #fff;
}

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

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h4 {
  font-size: 1.3rem;
  color: #16a34a;
  margin-bottom: 8px;
}

.form-success p {
  color: #5a6c7d;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #152638;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #d4a017;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-secondary {
    right: 16px;
    bottom: -24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #1e3a5f;
    padding: 80px 32px 32px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
  }

  .main-nav a:hover {
    color: #d4a017;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-stats {
    gap: 0;
  }

  .stat-divider {
    margin: 0 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .neighborhood-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .about-img-secondary {
    display: none;
  }

  .about-badge {
    top: -12px;
    left: -8px;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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