/* ============================================================
   Impressions Printing Inc. — Shared Stylesheet
   Used across all pages. Page-specific styles live in their
   own files: index.css, contact.css, embroidery.css, etc.
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #0259A9;
  --primary-hover:  #1A6DBF;
  --accent:         #E38132;
  --accent-hover:   #F0924A;
  --dark:           #013D7A;
  --text:           #2C2C3E;
  --text-secondary: #5A5A72;
  --text-light:     #8A8AA0;
  --bg:             #FFFFFF;
  --bg-light:       #F4F6FA;
  --bg-mid:         #E8EDF5;
  --border:         #DDE2EC;
  --shadow-sm:      0 2px 8px rgba(28,49,84,0.08);
  --shadow-md:      0 4px 24px rgba(28,49,84,0.13);
  --shadow-lg:      0 8px 48px rgba(28,49,84,0.18);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     0.25s ease;
  --nav-height:     104px;
  --max-width:      1200px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-secondary); }

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 600px; margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Image Placeholders ─────────────────────────────────────── */
.img-placeholder {
  background: var(--bg-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  text-align: center;
  padding: 24px;
}
.img-placeholder svg { opacity: 0.4; }
.img-placeholder span { opacity: 0.6; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__brand {
  display: flex;
  align-items: center;
}
.nav__logo {
  height: 85px;
  width: auto;
  display: block;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .nav__logo { height: 54px; margin-top: 6px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav__links a.active { color: var(--accent); }
.nav__cta {
  padding: 8px 20px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav__cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover, .nav__mobile a.active {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}

/* ── Inner Page Hero ────────────────────────────────────────── */
/* Full homepage hero lives in index.css */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .page-hero__sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Service Cards ──────────────────────────────────────────── */
/* Used on: index, digital-printing, copies-scans-fax, invitations, embroidery, contact */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,146,42,0.3);
}
.service-card__image {
  height: 200px;
  overflow: hidden;
}
.service-card__image .img-placeholder {
  height: 100%;
  border-radius: 0;
  border: none;
}
.service-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(200,146,42,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.service-card__body h3 { margin-bottom: 10px; }
.service-card__body p  { font-size: 0.92rem; flex: 1; margin-bottom: 20px; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.service-card__link:hover { gap: 10px; }

/* ── Feature Row ────────────────────────────────────────────── */
/* Used on: index, digital-printing, copies-scans-fax, invitations, embroidery, screen-printing */
.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-row__image {
  flex: 0 0 420px;
  height: 320px;
}
.feature-row__image .img-placeholder { height: 100%; }
.feature-row__content { flex: 1; }
.feature-row__content .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-row__content h2 { margin-bottom: 16px; }
.feature-row__content p  { margin-bottom: 16px; }
.feature-row__content p:last-of-type { margin-bottom: 24px; }

/* ── Icon List ──────────────────────────────────────────────── */
/* Used on: index, digital-printing, invitations, embroidery, screen-printing */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.icon-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Process Steps ──────────────────────────────────────────── */
/* Used on: digital-printing, invitations */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.process-step__number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p  { font-size: 0.88rem; }

/* ── Tag List ───────────────────────────────────────────────── */
/* Used on: embroidery, screen-printing */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.tag svg { color: var(--accent); }
.tag:hover {
  background: rgba(200,146,42,0.08);
  border-color: rgba(200,146,42,0.3);
  color: var(--primary);
}

/* ── CTA Banner ─────────────────────────────────────────────── */
/* Used on all inner pages */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #9e6b17 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2  { color: #fff; margin-bottom: 14px; }
.cta-banner p   { color: rgba(255,255,255,0.82); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-banner .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.footer__brand-name span { color: var(--accent); }
.footer__brand-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__about { font-size: 0.88rem; line-height: 1.7; }
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__col h5 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.footer__contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.82rem; }

/* Ensure images cover their containers and are panned down ~20% on mobile so main subject is visible */
.service-card__image img,
.feature-row__image img,
.service-image,
.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

/* ── Shared Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-row__image { flex: 0 0 340px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }
  .section { padding: 56px 0; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .feature-row,
  .feature-row--reverse { flex-direction: column; }
  .feature-row__image { flex: none; width: 100%; height: 240px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}
