/*
Theme Name: Weathberg Industrial
Theme URI: https://weathberg.com
Author: Weathberg
Description: Professional industrial cooling theme for Weathberg with full Customizer support.
Version: 2.0.0
Requires at least: 5.9
Tested up to: 6.5
License: GNU General Public License v2
Text Domain: weathberg
*/

/* Google Fonts loaded via functions.php */

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── BASE ──────────────────────────────────────────── */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #111B15;
  background: #fff;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
  color: #111B15;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
p { margin-bottom: 1.2rem; }

/* ─── LAYOUT HELPERS ────────────────────────────────── */
.wb-container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.wb-section   { padding: 5rem 0; }

/* ─── NAVIGATION ────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #D4E8DA;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}
.site-logo img  { height: 38px; width: auto; display: block; }
.site-logo .site-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #111B15;
  font-weight: 400;
}

/* Primary Menu */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
#primary-menu li a {
  font-size: 14px;
  font-weight: 500;
  color: #3A4F40;
  transition: color .2s;
  white-space: nowrap;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item > a { color: #28A844; }

/* Nav CTA button */
.nav-cta-btn {
  background: #3BC657;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-cta-btn:hover { background: #28A844 !important; color: #fff !important; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111B15;
  border-radius: 2px;
  transition: all .3s;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.wb-btn-green {
  display: inline-block;
  background: #3BC657;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}
.wb-btn-green:hover { background: #28A844; color: #fff; }
.wb-btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all .2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}
.wb-btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.wb-btn-outline-green {
  display: inline-block;
  background: transparent;
  color: #28A844;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid #3BC657;
  transition: all .2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.wb-btn-outline-green:hover { background: #3BC657; color: #fff; }

/* ─── EYEBROW / LABELS ──────────────────────────────── */
.wb-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #28A844;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.wb-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: #28A844;
  flex-shrink: 0;
}
.wb-eyebrow-white { color: rgba(255,255,255,.45); }
.wb-eyebrow-white::before { background: rgba(255,255,255,.35); }
.wb-eyebrow-green { color: #3BC657; }
.wb-eyebrow-green::before { background: #3BC657; }

/* ─── HERO ──────────────────────────────────────────── */
.hero-section {
  background: #111B15;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(59,198,87,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #3BC657;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: #3BC657; }
.hero-title { font-size: 54px; color: #fff; line-height: 1.08; margin-bottom: 1.4rem; letter-spacing: -1.5px; }
.hero-title em { color: #3BC657; font-style: italic; }
.hero-subtitle { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 2.5rem; font-weight: 300; max-width: 430px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats bar */
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(59,198,87,.18); border-radius: 14px; overflow: hidden; margin-top: 2.5rem; border: 1px solid rgba(59,198,87,.15); }
.stat-box { background: rgba(255,255,255,.04); padding: 1.4rem 1.2rem; text-align: center; }
.stat-number { font-family: 'DM Serif Display', serif; font-size: 36px; color: #3BC657; line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 5px; letter-spacing: .5px; font-family: 'Plus Jakarta Sans', sans-serif; }

/* Hero card */
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(59,198,87,.22); border-radius: 14px; padding: 2rem; }
.hero-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.hero-card-dot { width: 8px; height: 8px; background: #3BC657; border-radius: 50%; flex-shrink: 0; }
.hero-card-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); font-family: 'Plus Jakarta Sans', sans-serif; }
.product-chip { display: inline-block; background: rgba(59,198,87,.1); border: 1px solid rgba(59,198,87,.25); border-radius: 20px; padding: 5px 13px; font-size: 12px; color: rgba(255,255,255,.7); margin: 4px 3px; font-family: 'Plus Jakarta Sans', sans-serif; }
.temp-strip { background: rgba(59,198,87,.1); border: 1px solid rgba(59,198,87,.25); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.temp-label { font-size: 11px; font-weight: 600; color: #3BC657; letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Plus Jakarta Sans', sans-serif; }
.temp-value { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; }

/* ─── SERVICES GRID ─────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.service-card { background: #F5FBF7; border-radius: 14px; padding: 1.75rem; border: 1.5px solid transparent; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: #C5EFD0; transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; background: #EDFAF0; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }
.service-icon svg { width: 22px; height: 22px; flex-shrink: 0; }
.service-card h3 { font-size: 16px; margin-bottom: .5rem; }
.service-card p { font-size: 13px; color: #3A4F40; line-height: 1.65; font-weight: 300; margin: 0; }

/* ─── CLIENTS BAND ──────────────────────────────────── */
.clients-band { background: #111B15; padding: 5rem 0; text-align: center; }
.client-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 3rem; }
.client-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 10px 18px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .5px; transition: all .2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.client-pill:hover { border-color: rgba(59,198,87,.4); color: #fff; }

/* ─── CTA BAND ──────────────────────────────────────── */
.cta-band { background: #1D2D22; padding: 5rem 0; text-align: center; }
.cta-band h2 { font-size: 42px; color: #fff; letter-spacing: -.5px; margin: 1rem 0 1.25rem; }
.cta-band > .wb-container > p { font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 2.5rem; font-weight: 300; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── PRODUCTS ARCHIVE ──────────────────────────────── */
.products-header-band { background: #F5FBF7; padding: 4rem 0 3rem; border-bottom: 1px solid #D4E8DA; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.product-card { background: #fff; border: 1px solid #D4E8DA; border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; cursor: pointer; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(40,168,68,.12); border-color: #C5EFD0; }
.product-card-image { height: 200px; overflow: hidden; background: #F5FBF7; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #D4E8DA; position: relative; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-cat-badge { position: absolute; top: 10px; right: 10px; background: #3BC657; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; font-family: 'Plus Jakarta Sans', sans-serif; }
.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-size: 16px; margin-bottom: .4rem; }
.product-card-body p { font-size: 12px; color: #6B8070; line-height: 1.55; margin: 0; }
.product-card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: .75rem; font-size: 13px; color: #28A844; font-weight: 600; transition: gap .2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.product-card:hover .product-card-link { gap: 8px; }

/* ─── SINGLE PRODUCT ────────────────────────────────── */
.product-single-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.product-featured-image { border-radius: 14px; overflow: hidden; border: 1px solid #D4E8DA; }
.product-featured-image img { width: 100%; height: 360px; object-fit: cover; }
.product-specs-box { background: #F5FBF7; border-radius: 14px; padding: 1.5rem; border: 1px solid #D4E8DA; margin-top: 1.5rem; }
.product-specs-box h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #6B8070; margin-bottom: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #D4E8DA; font-size: 13px; font-family: 'Plus Jakarta Sans', sans-serif; }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: #6B8070; }
.spec-value { color: #111B15; font-weight: 600; }

/* ─── CONTACT PAGE ──────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-icon { width: 42px; height: 42px; min-width: 42px; background: #EDFAF0; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.contact-detail-label { font-size: 11px; color: #6B8070; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.contact-detail-value { font-size: 14px; color: #111B15; margin-top: 3px; font-family: 'Plus Jakarta Sans', sans-serif; }
.contact-form-wrap { background: #F5FBF7; border-radius: 14px; padding: 2.5rem; border: 1px solid #D4E8DA; }
.contact-form-wrap label { font-size: 12px; font-weight: 600; color: #3A4F40; letter-spacing: .5px; display: block; margin-bottom: 6px; font-family: 'Plus Jakarta Sans', sans-serif; }
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select { width: 100%; background: #fff; border: 1.5px solid #D4E8DA; border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #111B15; font-family: 'Plus Jakarta Sans', sans-serif; outline: none; transition: border-color .2s; margin-bottom: 1.25rem; }
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus { border-color: #3BC657; }
.contact-form-wrap textarea { height: 120px; resize: vertical; }
.wb-submit-btn { width: 100%; background: #3BC657; color: #fff; border: none; border-radius: 8px; padding: 14px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: background .2s; }
.wb-submit-btn:hover { background: #28A844; }

/* ─── WHY US ────────────────────────────────────────── */
.why-band { background: #F5FBF7; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-reasons { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-number { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; background: #3BC657; color: #fff; font-family: 'DM Serif Display', serif; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.why-item h4 { font-size: 15px; margin-bottom: 3px; }
.why-item p { font-size: 13px; color: #3A4F40; font-weight: 300; margin: 0; }
.industry-row { background: #fff; border-left: 3px solid #3BC657; border-radius: 0 8px 8px 0; padding: .9rem 1.25rem; border-top: 1px solid #D4E8DA; border-right: 1px solid #D4E8DA; border-bottom: 1px solid #D4E8DA; margin-bottom: 1rem; }
.industry-row h4 { font-size: 14px; margin-bottom: 3px; }
.industry-row p { font-size: 12px; color: #6B8070; font-weight: 300; margin: 0; }

/* ─── ABOUT ─────────────────────────────────────────── */
.about-hero-band { background: #111B15; padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.about-story p { font-size: 15px; color: #3A4F40; line-height: 1.8; margin-bottom: 1.25rem; font-weight: 300; }
.about-story strong { color: #111B15; font-weight: 600; }
.founder-card { background: #F5FBF7; border-radius: 14px; padding: 2rem; border: 1px solid #D4E8DA; margin-top: 2rem; }
.founder-avatar { width: 64px; height: 64px; background: #3BC657; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 1.25rem; overflow: hidden; }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-size: 18px; margin-bottom: 3px; }
.founder-role { font-size: 13px; color: #6B8070; margin-bottom: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.founder-quote { font-size: 14px; color: #3A4F40; line-height: 1.75; font-style: italic; border-left: 3px solid #3BC657; padding-left: 1rem; font-weight: 300; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.value-box { background: #fff; border: 1px solid #D4E8DA; border-radius: 8px; padding: 1.25rem; }
.value-box h4 { font-size: 14px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.value-box h4::before { content: ''; display: block; width: 8px; height: 8px; background: #3BC657; border-radius: 50%; flex-shrink: 0; }
.value-box p { font-size: 12px; color: #6B8070; font-weight: 300; margin: 0; }

/* ─── FOOTER ────────────────────────────────────────── */
#site-footer { background: #1D2D22; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; font-weight: 300; max-width: 230px; margin: 0; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
#site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
#site-footer .footer-col li { margin-bottom: .5rem; }
#site-footer .footer-col a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; font-family: 'Plus Jakarta Sans', sans-serif; }
#site-footer .footer-col a:hover { color: #3BC657; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.25); margin: 0; }
.footer-tagline { font-family: 'DM Serif Display', serif; font-size: 13px; color: rgba(59,198,87,.5); font-style: italic; }

/* ─── ENTRY CONTENT (Block Editor) ─────────────────── */
.entry-content h1,.entry-content h2,.entry-content h3 { margin: 2rem 0 1rem; }
.entry-content p { color: #3A4F40; }
.entry-content ul,.entry-content ol { margin: 0 0 1.2rem 1.5rem; color: #3A4F40; }
.entry-content li { margin-bottom: .4rem; }
.entry-content img { border-radius: 8px; margin-bottom: 1.5rem; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media(max-width:1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  .hero-title { font-size: 34px; }
  .hero-section { padding: 60px 0 50px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid,.contact-grid,.why-grid,.product-single-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #D4E8DA;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    z-index: 9998;
    gap: 0;
  }
  #primary-menu.open { display: flex; }
  #primary-menu li { padding: .75rem 0; border-bottom: 1px solid #D4E8DA; }
  #primary-menu li:last-child { border: none; }
  .menu-toggle { display: flex; }
}
