/* =========================================
   Oliver Printing Company — Main Stylesheet
   PMS 485 Red: #DA291C
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #DA291C;
  --black: #1a1a1a;
  --gray: #555;
  --light-gray: #f5f5f5;
  --greige: #EDEAE3;
  --white: #fff;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  line-height: 1.6;
}

/* ---- UTILITY ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #b5200f; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--red); }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
h2.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
}
.section-intro {
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ---- HEADER / NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta { margin-left: 1rem; }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--black); margin: 5px 0;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  background:
    linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.68)),
    url('../images/hero-bg-color.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 580px; }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.hero-logo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-location {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.hero-logo {
  width: 280px;
  height: auto;
  display: block;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- SERVICES ---- */
.services { padding: 5rem 0; background: var(--greige); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--red);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--gray); font-size: 0.93rem; }

/* ---- GALLERY ---- */
.gallery { padding: 5rem 0; background: var(--greige); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.6rem; background: #e0e0e0;
  color: #888; font-size: 0.85rem; font-weight: 600;
  text-align: center; padding: 1rem;
}
.gallery-ph-icon { font-size: 2rem; }
.gallery-logo-item {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gallery-logo-item img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.gallery-logo-wide img {
  object-fit: contain;
  max-width: 100%;
}
.gallery-featured {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.gallery-featured img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.3s;
}
.gallery-featured:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  color: #fff;
  padding: 1.5rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gallery-caption strong { font-size: 0.95rem; font-weight: 700; }
.gallery-caption span { font-size: 0.78rem; opacity: 0.85; line-height: 1.4; }
.gallery-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}
.gallery-note a { color: var(--red); text-decoration: none; }
.gallery-note a:hover { text-decoration: underline; }

/* ---- WHY US ---- */
.why-us {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}
.why-us .section-label { color: #ff6b5b; }
.why-us h2.section-title { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.why-item { display: flex; flex-direction: column; gap: 0.5rem; }
.why-item .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.why-item h3 { font-size: 1rem; font-weight: 700; }
.why-item p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ---- ABOUT ---- */
.about { padding: 5rem 0; background: var(--white); }
.founders {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #eee;
}
.founders-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.founders-intro { color: var(--gray); font-size: 0.95rem; max-width: 680px; margin-bottom: 2rem; }
.founders-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
}
.founder-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border: 3px solid var(--red);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.15); }
.founder-photo-vicki { transform: scale(1.35); object-position: center center; }
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--gray);
  font-size: 0.9rem;
}
.photo-placeholder span { font-weight: 600; color: var(--black); }
.photo-placeholder em { font-size: 0.8rem; }
.founder-caption {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem;
  margin-top: -4px;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: var(--light-gray);
  border-radius: 8px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual img { max-width: 80%; max-height: 80%; object-fit: contain; }
.about-text p { color: var(--gray); margin-bottom: 1rem; }
.about-text .address-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--light-gray);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--black);
}
.about-text .address-block a { color: var(--red); text-decoration: none; }
.about-text .address-block a:hover { text-decoration: underline; }

/* ---- LOGO DESIGN ---- */
.logos { padding: 5rem 0; background: var(--white); }
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.logo-tile {
  background: var(--greige);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  aspect-ratio: 4/3;
  transition: box-shadow 0.2s, transform 0.2s;
}
.logo-tile:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.logos-cta-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
}
.logos-cta-note a { color: var(--red); text-decoration: none; }
.logos-cta-note a:hover { text-decoration: underline; }

/* ---- CONTACT ---- */
.contact { padding: 5rem 0; background: var(--greige); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail .icon {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail .text { font-size: 0.95rem; color: var(--gray); }
.contact-detail .text strong { display: block; color: var(--black); font-weight: 600; }
.contact-detail .text a { color: var(--red); text-decoration: none; }
.contact-detail .text a:hover { text-decoration: underline; }

.contact-form { background: var(--white); border-radius: 8px; padding: 2.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-error {
  display: none;
  background: #fdecea;
  color: #c62828;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.field-error {
  display: block;
  color: #c62828;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c62828;
}
[data-fs-submit-btn]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 72px; margin-bottom: 1rem; background: #fff; border-radius: 6px; padding: 0.4rem 0.75rem; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; }
footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-contact-list { list-style: none; font-size: 0.9rem; }
.footer-contact-list li { margin-bottom: 0.6rem; }
.footer-contact-list a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--red); }
.footer-family {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.75rem 0;
  text-align: center;
}
.family-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.family-logos img {
  max-width: 420px;
  width: 100%;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner,
  .contact-inner,
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { height: 240px; }
  .footer-inner { gap: 2rem; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  header { position: relative; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column-reverse; gap: 2rem; }
  .hero-logo { width: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
}
