/* =========================
   STAR COAST LOCKSMITH
   STYLE SYSTEM (v1)
========================= */

/* -------------------------
   RESET / BASE
------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #ffffff;
  line-height: 1.7;
}

/* -------------------------
   DESIGN TOKENS
------------------------- */

:root {
  --max-width: 1000px;

  --text: #111;
  --muted: #555;
  --light: #e9e9e9;

  --accent: #1e4ed8; /* placeholder blue - we will refine later */

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 40px;
  --space-xl: 64px;
}

/* -------------------------
   LAYOUT
------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* -------------------------
   HEADER
------------------------- */

.site-header {
  border-bottom: 1px solid var(--light);
  padding: var(--space-md) 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand {
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.brand-name {
  display: block;
  font-weight: 600;
}

.brand-tagline {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.brand-name,
h1,
h2,
h3 {
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* -------------------------
   BUTTONS
------------------------- */

.call-button {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--text);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-radius: 4px;
}


/* -------------------------
   HERO
------------------------- */

.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

/* -------------------------
   IMAGE BLOCK
------------------------- */

.image-block {
  padding: var(--space-lg) 0;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--light);
  border-radius: 6px;
}

.feature-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 6px;
}



/* -------------------------
   SERVICES
------------------------- */

h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.card {
  border: 1px solid var(--light);
  padding: var(--space-md);
  border-radius: 6px;
}

/* -------------------------
   TRUST
------------------------- */

.trust {
  padding: var(--space-lg) 0;
}

.trust-list {
  list-style: none;
}

.trust-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light);
}

/* -------------------------
   ABOUT / AREA / CONTACT
------------------------- */

.about,
.area,
.contact,
.services,
.trust,
.image-block {
    padding: 2.5rem 0;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-block a {
    display: block;
    margin: 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.contact-block a:hover {
    text-decoration: underline;
}

.opening-hours {
    margin-top: 0.5rem;
    color: var(--muted);
}
.about ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.about li {
    margin-bottom: 0.5rem;
}

.about h2 {
    margin-top: 2rem;
}

.about p,
.about ul {
    margin-top: 0.75rem;
}
/* -------------------------
   FOOTER
------------------------- */

.site-footer {
  border-top: 1px solid var(--light);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

/* -------------------------
   RESPONSIVE (TABLET+)
------------------------- */

@media (min-width: 768px) {

  .hero h1 {
    font-size: 2.4rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* -------------------------
   MOBILE HEADER
------------------------- */

@media (max-width: 768px) {

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .call-button {
    margin-top: 0.5rem;
  }

}

.hero-subtitle,
.hero-features {
  color: var(--muted);
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

@media (max-width: 768px) {
  .hero-subtitle,
  .hero-features {
    max-width: 32ch;
  }
}

@media (max-width: 768px) {

	
  .area,
  .image-block,
  .trust,
  .hero,
  .services,
  .about,
  .contact {
    padding: 2rem 0;
    
  }

}

@media (max-width: 768px) {

  .feature-image {
    margin: 1rem auto;
  }

}