/*
Theme Name: Simple Floor Covering Modern
Theme URI: https://simplefloorcovering.com/
Author: Dark Monkey Media
Description: Custom WordPress theme for Simple Floor Covering & Design, blending legacy SFC styling with a modern product-first flooring service layout.
Version: 0.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: simplefloorcovering-modern
*/

@import url("mockup.css");

.wp-site-blocks {
  min-height: 100vh;
}

.admin-bar .site-header {
  top: 32px;
}

.page-content {
  min-height: 42vh;
}

.content-body {
  max-width: 840px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.content-body p {
  margin: 0 0 1.2rem;
}

.content-body ul {
  margin: 1rem 0 1.4rem;
  padding-left: 1.3rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-hero {
  background: var(--charcoal);
  color: var(--white);
}

.page-hero h1,
.page-hero h2 {
  color: #fff7e6;
}

.page-hero .lead {
  color: #ddd5c8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: 30px;
  align-items: start;
}

.side-panel,
.rich-card,
.service-map article {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(38, 31, 23, 0.08);
}

.side-panel {
  padding: 22px;
}

.side-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.rich-grid,
.service-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rich-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rich-card div,
.service-map article {
  padding: 18px;
}

.rich-card p,
.service-map p {
  margin: 10px 0 0;
  color: var(--muted);
}

.service-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.service-map article {
  background: #fbf7df;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: 0 10px 28px rgba(38, 31, 23, 0.1);
}

.quote-form-wrap {
  margin-top: 26px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

.quote-form label.full,
.quote-form button {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf4;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.quote-form textarea {
  resize: vertical;
}

.form-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
}

.form-notice.success {
  background: #edf5e8;
  color: #2d4f28;
}

.form-notice.error {
  background: #f8e8e5;
  color: var(--maroon);
}

@media (max-width: 980px) {
  .detail-layout,
  .rich-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .service-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid,
  .service-map,
  .quote-form {
    grid-template-columns: 1fr;
  }
}
