/* ===== Fritz Constructs — styles =====
   Edit the color values below to match your logo/brand. */

:root {
  --brand:        #1f2a44;  /* deep slate navy — primary */
  --brand-dark:   #161e30;
  --accent:       #e8822b;  /* construction orange — buttons/highlights */
  --accent-dark:  #cf6f1f;
  --ink:          #1a1d23;  /* body text */
  --muted:        #5b6470;  /* secondary text */
  --line:         #e3e6ea;  /* borders */
  --bg:           #ffffff;
  --bg-alt:       #f5f6f8;  /* alternating section background */
  --radius:       10px;
  --maxw:         1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0 0 0.4em;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; font-size: 17px; padding: 15px; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 84px; width: auto; display: block; }
.brand-text {
  display: none; /* shown only if logo image fails to load */
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.5px;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: #e7eaf0;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: #fff; }
.nav a.btn { color: #fff; }
.header-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}
.hero h1 { font-size: 60px; margin-bottom: 18px; }
.lede { font-size: 18px; color: #d7dbe4; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  color: #fff;
}
.trust-badge .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: rgba(255,255,255,0.06);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 38px; color: var(--brand); }
.section-sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.section-alt .card { background: #fff; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31,42,68,0.10);
}
.card-icon { font-size: 34px; margin-bottom: 10px; }
.card h3 { font-size: 22px; color: var(--brand); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9ecf1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: #e9ecf1;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About: tasteful pair of personal photos */
.about-photos { display: grid; gap: 14px; }
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9ecf1;
  box-shadow: 0 6px 18px rgba(31,42,68,0.08);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-copy p { font-size: 17px; }
.muted-note {
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* ===== Image placeholders (shown until real photos are added) ===== */
.image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #8a929e;
  font-size: 15px;
  padding: 16px;
}
.is-placeholder .image-placeholder { display: flex; }
.is-placeholder img { display: none; }
.image-placeholder small { color: #aab1bb; font-size: 12px; margin-top: 4px; }

/* ===== Form ===== */
.form { margin-top: 8px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,130,43,0.15);
}
.form-note { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.hidden-field { display: none; }

/* ===== Contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-block h3 { color: var(--brand); font-size: 20px; margin-top: 22px; }
.address { font-style: normal; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours-open { font-size: 17px; }
.hours-open strong { color: var(--brand); }

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark);
  color: #c3c9d4;
  padding: 22px 0;
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 52px; width: auto; display: block; }
.site-footer a { color: #fff; text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
  .nav { gap: 14px; font-size: 14px; }
  .about-image { order: -1; }
}

@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }  /* keep only the CTA on small screens */
  .cards, .gallery, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .section { padding: 52px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
