/* ═══════════════════════════════════════════════════
   Bilåtervinning i Trollhättan AB – Main Stylesheet
   Colors pulled from logo: Blue #1a3fa0, Green #3aaa35
   ═══════════════════════════════════════════════════ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;500;600&display=swap');

/* ─── Variables ─── */
:root {
  --blue:        #045270;   /* deep forest green */
  --blue-dark:   #008cc2;   /* navbar / footer */
  --blue-light:  #e6f2ea;   /* backgrounds */
  --green:       #f5a623;   /* accent → warm amber/orange */
  --green-dark:  #d4891a;
  --green-light: #fef3e0;
--accent:      #f5a623;
  --text:        #111827;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #f9fafb;
  --white:       #ffffff;
  --font-head:   'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:   'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
}

/* ─── Reset ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ─── Utility ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-primary  { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost    { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-outline  { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg       { padding: 16px 40px; font-size: 1.15rem; }

/* ─── Navbar ─── */
.navbar {
  background: var(--blue-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,0.12); color: #fff; }
.nav-links a.nav-cta {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  margin-left: 0.5rem;
}
.nav-links a.nav-cta:hover { background: var(--green-dark); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1e5aad 100%);
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem;
}
/* Decorative shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--green);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: 5%; background: var(--accent); opacity: 0.06; }
.shape-3 { width: 200px; height: 200px; top: 30%; right: 20%; }

.hero-content {
  max-width: 64rem;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(58,170,53,0.25);
  border: 1px solid rgba(58,170,53,0.5);
  color: #a8f5a5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.accent-text { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 530px;
}
.hero-sub strong { color: var(--accent); }
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.12;
  font-size: 28rem;
  line-height: 1;
  user-select: none;
  color: var(--green);
}

/* ─── Steps Section ─── */
.steps-section {
  padding: 5rem 2rem;
  background: var(--white);
}
.steps-section h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 3rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
}
.step-card p { color: var(--muted); font-size: 0.97rem; }

/* ─── Prices Section ─── */
.prices-section {
  padding: 5rem 2rem;
  background: var(--bg);
}
.prices-section h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}
.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(135deg, #f0faf0, #e8f7e7);
  box-shadow: 0 8px 32px rgba(58,170,53,0.15);
}
.price-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.price-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -1px;
}
.price-amount span { font-size: 1.4rem; font-weight: 700; }
.price-card p { color: var(--muted); font-size: 0.97rem; margin-top: 0.75rem; }
.price-note {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* ─── About Section ─── */
.about-section {
  padding: 5rem 2rem;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  color: var(--blue-dark);
}
.about-text p { color: var(--muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.about-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.feature { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--text); }
.feat-icon { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-box {
  background: linear-gradient(135deg, var(--blue-light), #dce5ff);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* ─── Hours Section ─── */
.hours-section {
  padding: 5rem 2rem;
  background: var(--bg);
}
.hours-section h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.hour-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.hour-card.open { border-color: var(--green); }
.hour-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hour-day { font-weight: 600; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.35rem; }
.hour-time {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-dark);
}
.hour-card.closed .hour-time { color: var(--muted); font-size: 1.2rem; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '♻';
  position: absolute;
  font-size: 22rem;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
  color: var(--green);
  line-height: 1;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }

/* ─── Page Header (Contact page) ─── */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ─── Contact Section ─── */
.contact-section { padding: 4rem 2rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--green); }
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,63,160,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* Captcha */
.captcha-group { background: var(--blue-light); border-radius: 8px; padding: 1.25rem; }
.captcha-group label { font-size: 1rem; }
.captcha-hint { font-size: 0.8rem; color: var(--muted); display: block; margin-top: 0.4rem; }

.btn-submit { align-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: -0.5rem; }

/* Alerts */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.6;
}
.alert-success { background: var(--green-light); border: 1.5px solid var(--green); color: #1a5218; }
.alert-error   { background: #fef2f2; border: 1.5px solid #f87171; color: #991b1b; }
.alert-error ul { margin: 0.5rem 0 0 1.25rem; }

/* Sidebar cards */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--blue-dark); }
.info-card p  { font-size: 0.93rem; color: var(--muted); line-height: 1.65; }
.info-tip { background: linear-gradient(135deg, #fefce8, #fef9c3); border-color: #fde68a; }
.info-tip h3  { color: #92400e; }
.info-tip p   { color: #78350f; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 5px 0; color: var(--muted); }
.hours-table td:last-child { text-align: right; }

/* ─── Footer ─── */
.site-footer { background: #036185; color: rgba(255,255,255,0.7); padding: 3rem 2rem 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-links,
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links strong,
.footer-contact strong { color: #fff; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.92rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-contact span { font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .about-inner    { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .hero-visual    { display: none; }
}
@media (max-width: 640px) {
  .nav-links { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 70px; left: 0; right: 0;
    background: var(--blue-dark); 
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 0.5rem; }
  .price-grid { grid-template-columns: 1fr; }
}
