/* ============================================
   Rental Recovery & Renovations
   Color palette derived from company logo:
     --charcoal : #4A4F55  (damaged house)
     --blue     : #1E6DB5  (renovated house)
     --green    : #2D8B3C  (arrow / & Renovations)
   ============================================ */

:root {
  --charcoal: #4A4F55;
  --blue: #1E6DB5;
  --blue-dark: #154E82;
  --green: #2D8B3C;
  --green-dark: #1F6329;
  --light-gray: #F4F5F7;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #6B7280;
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --radius: 8px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav ---------- */
header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 60px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); line-height: 1.2; }
.logo-text span { color: var(--green); font-weight: 600; }

nav ul { list-style: none; display: flex; gap: 28px; }
nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav a:hover, nav a.active {
  color: var(--blue);
  border-bottom-color: var(--green);
}

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto 28px; opacity: 0.92; }
.hero .btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s;
}
.hero .btn:hover { background: var(--green-dark); color: var(--white); }

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-header p { font-size: 1.05rem; opacity: 0.85; max-width: 640px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section:nth-child(even) { background: var(--light-gray); }

.section-title {
  text-align: center;
  font-size: 1.9rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.service-card h3 { color: var(--blue); font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.93rem; color: var(--text-light); }

/* ---------- Counties / Service Area ---------- */
.counties { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.county-badge {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-content { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.05rem; }

/* ---------- Content Page ---------- */
.content-page { padding: 56px 0; }
.content-page .container { max-width: 860px; }
.content-page h2 { color: var(--blue); font-size: 1.5rem; margin: 36px 0 12px; }
.content-page h3 { color: var(--charcoal); font-size: 1.2rem; margin: 24px 0 8px; }
.content-page p { margin-bottom: 16px; }
.content-page ul { margin: 0 0 20px 24px; }
.content-page ul li { margin-bottom: 8px; }
.content-page blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  background: var(--light-gray);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-light);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.highlight-box h3 { color: var(--white); margin-top: 0; }
.highlight-box p { opacity: 0.92; }

.green-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.green-box h3 { color: var(--white); margin-top: 0; }
.green-box p { opacity: 0.92; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-info { text-align: center; }
.contact-info p { font-size: 1.05rem; margin-bottom: 8px; }
.contact-info a { font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 32px 20px;
  font-size: 0.9rem;
}
footer a { color: var(--green); }
footer a:hover { color: #5BCC6B; }
footer .footer-links { margin-bottom: 12px; }
footer .footer-links a { margin: 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 56px 20px; }
  .page-header { padding: 40px 20px; }
  .page-header h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }

  .hamburger { display: block; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  nav ul.open { display: flex; }
}
