/* ========================================
   SPOKO SERVICE CARIBOO — Main Stylesheet
   Colors: Black / Yellow / White
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --black: #111111;
  --yellow: #F5C518;
  --yellow-dark: #d4a910;
  --white: #ffffff;
  --gray-light: #f7f7f5;
  --gray-mid: #e0ddd8;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --radius: 6px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--black); }

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; margin-bottom: 0.5em; }

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

/* ========= HEADER / NAV ========= */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--yellow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo img { height: 64px; width: auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow);
  color: var(--black);
}
.nav-phone {
  color: var(--yellow) !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em;
}
.nav-phone:hover { background: var(--yellow) !important; color: var(--black) !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 3px solid var(--yellow);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }
}

/* ========= HERO ========= */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 span { color: var(--yellow); }
.hero-text { font-size: 1.1rem; color: #b0b0b0; margin-bottom: 28px; line-height: 1.6; }
.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badge {
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}
.hero-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { order: -1; }
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(245,197,24,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #333; color: var(--white); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========= SECTIONS ========= */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 12px;
}
.accent-line {
  width: 48px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ========= SERVICE CARDS ========= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.service-card-body { padding: 24px; }
.service-card h3 a { color: var(--black); }
.service-card h3 a:hover { color: var(--yellow-dark); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* ========= BEFORE/AFTER GALLERY ========= */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.ba-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-light);
}
.ba-item img {
  width: 100%;
  display: block;
}
.ba-label {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px;
  background: var(--gray-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
}
.ba-label span:first-child { color: #c0392b; }
.ba-label span:last-child { color: #27ae60; }

@media (max-width: 480px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ========= ABOUT / TEAM ========= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-text p { margin-bottom: 16px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ========= CTA BANNER ========= */
.cta-banner {
  background: var(--yellow);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--black); }
.cta-banner p { color: var(--black); opacity: 0.8; margin-bottom: 24px; font-size: 1.1rem; }
.cta-phone {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  display: block;
  margin-bottom: 20px;
}

/* ========= TRUST BAR ========= */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.trust-item .check {
  width: 22px;
  height: 22px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--black);
  flex-shrink: 0;
}

/* ========= PAGE HERO (inner pages) ========= */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
  border-bottom: 4px solid var(--yellow);
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: #b0b0b0; font-size: 1.05rem; max-width: 600px; }
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--yellow); }

/* ========= SERVICE PAGE CONTENT ========= */
.service-intro {
  font-size: 1.1rem;
  max-width: 720px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.feature-item {
  padding: 24px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}
.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ========= CONTACT FORM ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--black);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  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(--yellow);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-block { margin-bottom: 28px; }
.contact-info-block h3 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.05rem;
}
.contact-detail strong { color: var(--black); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========= FOOTER ========= */
.site-footer {
  background: var(--black);
  color: #999;
  padding: 48px 0 24px;
  border-top: 4px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a {
  display: block;
  color: #999;
  padding: 4px 0;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ========= UTILITIES ========= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.yellow { color: var(--yellow); }
