/* ==========================================================================
   Burley Road Carpets — Stylesheet
   All colors, fonts, and spacing are defined as CSS variables in :root below.
   To restyle the whole site, change values there rather than hunting
   through the rules further down.
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #faf9f7;           /* page background */
  --color-surface: #ffffff;      /* card / panel background */
  --color-text: #2b2b2b;         /* main body text */
  --color-muted: #6b6b6b;        /* secondary text (tagline, labels) */
  --color-accent: #3b5169;       /* slate blue accent — links, highlight band */
  --color-accent-contrast: #ffffff; /* text color used on top of --color-accent */
  --color-border: #e3e0da;       /* subtle borders / dividers */

  /* Typography */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --max-width: 960px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--color-accent);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.site-header h1 {
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.site-header .tagline {
  color: var(--color-muted);
  margin: var(--space-sm) 0 0;
  font-size: 1.05rem;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

section:last-child {
  border-bottom: none;
}

section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Intro
   ========================================================================== */

.intro p {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Landlord / rental properties highlight
   Deliberately styled as a solid accent-colored band so it stands out from
   the general services list, per the client's request to call this out.
   ========================================================================== */

.landlord-highlight {
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
  border-radius: 8px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.landlord-highlight h2 {
  color: var(--color-accent-contrast);
}

.landlord-highlight p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
}

.contact-block h3 {
  margin-bottom: var(--space-sm);
}

.contact-block p {
  margin: 0.25rem 0;
}

address {
  font-style: normal;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  text-align: center;
  padding: var(--space-md);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* ==========================================================================
   Responsive layout — widen grids out on tablet/desktop screens
   ========================================================================== */

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
