/* ===================================
   Loveland Graphix - Universal Styles (Base)
   Minimal, brand-agnostic foundation
   =================================== */

/* -----------------------------------
   1) Root Variables
   ----------------------------------- */
:root {
  /* Palette — tweak per brand */
  --primary:       #1E1E1E;  /* Main heading / ink */
  --primary-dark:  #121212;  /* Deeper ink for hovers */
  --accent:        #E5B200;  /* Warm gold highlight */
  --ink:           #1F2A30;  /* Body text on light bg */
  --muted:         #7A8A92;  /* Secondary text */
  --light-bg:      #F5F7FA;  /* Page background */
  --white:         #FFFFFF;  /* Cards / containers */
  --soft:          #ECF2F4;  /* Soft section bg */
  --link:          #2D89EF;  /* Default link color */
  --ring:          #2D6CDF;  /* Focus ring color */

  /* Layout tokens */
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --maxw:   900px;
  --pad:    30px;
}

/* -----------------------------------
   2) Reset & Base
   ----------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html,
body { height: 100%; }

body {
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--light-bg);
  color: var(--ink);
  padding: 20px;
}

/* Links & focus */
a { color: var(--link); text-decoration: none; }

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

a:focus,
button:focus,
input[type="submit"]:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}


/* -----------------------------------
3) Typography
----------------------------------- */
h1, h2, h3, h4, h5, h6 {
color: var(--primary);
margin-bottom: 15px;
line-height: 1.3;
}
h1 { font-size: 2.2rem; text-align: center; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

p { font-size: 1.05rem; margin-bottom: 18px; }
ul, ol { margin: 14px 0 18px 24px; }

/* -----------------------------------
   4) Layout & Hero
   ----------------------------------- */

/* 4.1 Containers */
.container,
.page-content {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--white);
  padding: var(--pad);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 4.2 Intro/Hero wrapper */
.intro-image {
  position: relative;
  flex: 1 1 50%;
  min-width: 260px;
  text-align: center;
}

/* 4.3 Hero image */
.intro-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px; /* adjust as desired */
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* 4.4 Hero title (centered & lifted) */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%); /* lift above true center */
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5);
}

/* 4.5 Hero CTA (bottom-centered, standalone) */
.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}

/* 4.55 Info Paragraph + Catalog Button Row */
.info-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.info-cta-row p {
  flex: 1 1 65%;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}

.info-cta-row .button.secondary {
  flex-shrink: 0;
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.info-cta-row .button.secondary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* 4.6 Responsive adjustments (hero-specific) */
@media (max-width: 700px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-cta {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* -----------------------------------
   5) Header & Navigation
   ----------------------------------- */

.site-header {
  background: var(--white);              /* clean white header for contrast */
  color: var(--primary);
  padding: 18px 20px 8px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}

.header-logo {
  max-height: 120px;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-top: 6px;
}

.tagline.highlight {
  background-color: var(--accent);  /* orange background */
  color: #fff;                      /* white text on orange */
  padding: 8px 12px;
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 8px;
}

.header-actions {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 8px;
}

.header-actions .button {
  width: 160px;
  padding: 9px 18px;
  text-align: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.main-nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  text-decoration: underline;
}

/* -----------------------------------
   6) Forms & Buttons
   ----------------------------------- */

form {
  background: var(--white);
  padding: 20px;
  border: 1px solid #e3e6ea;
  border-radius: var(--radius);
}

label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  margin-bottom: 14px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit + Standard Buttons */
button,
input[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1.05rem;
  border-radius: 8px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: var(--primary-dark);
}

/* Compact row helper */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.form-row .field {
  display: flex;
  flex-direction: column;
}

/* -----------------------------------
   6.5) Call-To-Action Buttons
   ----------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
}

.button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

/* Secondary button — corrected but unchanged behavior */
.button.secondary {
  background-color: var(--soft);
  color: var(--primary);
  border: 1px solid #cfd6dc;
}

.button.secondary:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* Hero CTA — locked to orange */
.button.hero-cta {
  background: var(--accent);
  color: #fff;
}

.button.hero-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}


/* -----------------------------------
   7) Content Utilities
   ----------------------------------- */

hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 40px auto;
  width: 80%;
  max-width: 700px;
}

blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 4px solid var(--primary);
  font-style: italic;
  color: var(--ink);
}

blockquote footer {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin: 18px 0;
  color: var(--ink);
}

/* 7.1 FAQ Toggles (reusable, no page-specific classes) */

details {
  border: 1px solid #e3e6ea;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 12px 0;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

summary {
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  outline: none;
}

details p,
details ul {
  margin-top: 12px;
}

details[open] summary {
  color: var(--primary-dark);
}

/* 7.2 Testimonials (reusable) */

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  margin: 20px 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 12px;
  color: var(--ink);
}

.testimonial footer {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

/* 7.3 Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery .card {
  height: 260px;             /* uniform card height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;          /* keep image fully inside rounded card */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery .card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;       /* show whole image, no cropping */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.gallery .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}


/* -----------------------------------
   8) Tables
   ----------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

th,
td {
  border: 1px solid #e3e6ea;
  padding: 10px;
  text-align: left;
}


/* -----------------------------------
   8.5) Feature Cards (Homepage Services)
   ----------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.card {
  background-color: var(--white);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}


/* -----------------------------------
   9) Footer
   ----------------------------------- */

footer {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 36px;
  color: #6d737a;
}

.footer-content {
  background: var(--soft);
  padding: 18px;
  border-top: 1px solid #e3e6ea;
  border-radius: var(--radius);
}

/* Promo banner above main footer */
.footer-banner {
  background: #f9690e;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-style: italic;
  font-weight: 500;
}

.footer-banner p {
  font-size: 2rem;
  margin: 0;
  line-height: 1.3;
}

.footer-nav a {
  color: var(--link);
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}


/* -----------------------------------
   10) Responsive (<= 700px)
   ----------------------------------- */

@media (max-width: 700px) {
  body {
    font-size: 18px;
    padding: 12px;
  }

  .container,
  .page-content {
    padding: 20px 16px;
  }

  .logo-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-logo {
    max-width: 160px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  input,
  textarea {
    font-size: 1.05rem;
    padding: 12px;
  }

  button,
  input[type="submit"] {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-banner p {
    font-size: 1.4rem;
  }
}
