/*
Theme Name: Wozeck Child
Theme URI: https://www.wozeck.com
Description: Custom child theme for Wozeck tyre export website
Author: Wozeck
Template: blocksy
Version: 1.0
*/

/* ── CSS Variables ── */
:root {
  --navy: #0f172a;
  --slate: #1e293b;
  --steel: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #16a34a;
  --radius: 8px;
  --radius-lg: 12px;
}

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

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

body.wozeck-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hide WordPress admin bar on wozeck pages for clean preview */
body.wozeck-page #wpadminbar { display: none; }
body.wozeck-page { margin-top: 0 !important; }

/* ── NAVIGATION ── */
.wozeck-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); padding: 0 2rem;
}
.wozeck-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wozeck-logo {
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.5px; text-decoration: none;
}
.wozeck-logo span { color: var(--accent); }
.wozeck-nav-links { display: flex; list-style: none; gap: 2rem; }
.wozeck-nav-links a {
  color: #cbd5e1; text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.wozeck-nav-links a:hover { color: var(--white); }
.wozeck-nav-links a.wozeck-active { color: var(--accent); font-weight: 600; }
.wozeck-nav-cta {
  background: var(--accent); color: var(--navy) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius); font-weight: 600 !important;
}
.wozeck-nav-cta:hover { background: var(--accent-dark); }

.wozeck-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.wozeck-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
}

/* ── HERO ── */
.wozeck-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  color: var(--white); padding: 5rem 2rem; text-align: center;
}
.wozeck-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  line-height: 1.2; max-width: 800px; margin: 0 auto 1rem;
}
.wozeck-hero h1 span { color: var(--accent); }
.wozeck-hero p {
  font-size: 1.15rem; color: #94a3b8;
  max-width: 620px; margin: 0 auto 2rem;
}
.wozeck-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HEADER (small hero) ── */
.wozeck-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  color: var(--white); padding: 3rem 2rem; text-align: center;
}
.wozeck-page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800;
  max-width: 700px; margin: 0 auto 0.5rem;
}
.wozeck-page-hero h1 span { color: var(--accent); }
.wozeck-page-hero p { color: #94a3b8; max-width: 550px; margin: 0 auto; }

/* ── BUTTONS ── */
.wozeck-btn {
  display: inline-block; padding: 0.8rem 2rem;
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.wozeck-btn-primary { background: var(--accent); color: var(--navy); }
.wozeck-btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.wozeck-btn-outline { border: 2px solid #475569; color: var(--white); }
.wozeck-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── TRUST BAR ── */
.wozeck-trust-bar {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 2rem; background: var(--bg); border-bottom: 1px solid var(--border);
}
.wozeck-trust-item { text-align: center; }
.wozeck-trust-num { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.wozeck-trust-label { font-size: 0.85rem; color: var(--muted); }

/* ── SECTION ── */
.wozeck-section { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.wozeck-bg-light { background: var(--bg); }
.wozeck-section-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem;
  color: var(--accent-dark); font-weight: 700; margin-bottom: 0.5rem;
}
.wozeck-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--navy); margin-bottom: 1rem;
}

/* ── PRODUCT CARDS ── */
.wozeck-product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.wozeck-product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: box-shadow 0.2s;
}
.wozeck-product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.wozeck-product-icon {
  width: 56px; height: 56px; background: #fef3c7;
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 1rem;
}
.wozeck-product-card h3 { color: var(--navy); }
.wozeck-product-card p { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 1rem; }
.wozeck-tag {
  display: inline-block; background: #f1f5f9; color: var(--steel);
  padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin: 0 0.4rem 0.4rem 0;
}
.wozeck-product-link {
  display: inline-block; margin-top: 1rem;
  color: var(--accent-dark); font-weight: 600; text-decoration: none; font-size: 0.9rem;
}
.wozeck-product-link:hover { text-decoration: underline; }

/* ── SPEC TABLE ── */
.wozeck-spec-table {
  width: 100%; border-collapse: collapse; margin-top: 1.5rem;
}
.wozeck-spec-table th, .wozeck-spec-table td {
  padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.wozeck-spec-table th {
  background: var(--navy); color: var(--white); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem;
}
.wozeck-spec-table tr:hover td { background: #f8fafc; }

/* ── ACCESSORIES GRID ── */
.wozeck-accessory-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.wozeck-accessory-item {
  background: var(--bg); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; border: 1px solid var(--border);
}
.wozeck-accessory-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.wozeck-accessory-item h4 { font-size: 0.95rem; color: var(--navy); font-weight: 700; }
.wozeck-accessory-item p { font-size: 0.85rem; color: var(--muted); }

/* ── WHY US ── */
.wozeck-why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.wozeck-why-card {
  padding: 1.5rem; border-left: 3px solid var(--accent);
  background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0;
}
.wozeck-why-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 0.5rem; }
.wozeck-why-card p { color: var(--muted); font-size: 0.9rem; }

/* ── CERTIFICATIONS ── */
.wozeck-certs {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 2rem;
}
.wozeck-cert-item {
  text-align: center; padding: 1.5rem 2rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); min-width: 130px;
}
.wozeck-cert-name { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.wozeck-cert-desc { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ── ABOUT ── */
.wozeck-about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; margin-top: 2rem;
}
.wozeck-about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.wozeck-about-image {
  background: var(--bg); border-radius: var(--radius-lg);
  min-height: 300px; display: flex; align-items: center;
  justify-content: center; color: var(--muted);
  font-size: 1.2rem; border: 1px dashed var(--border);
}

/* ── CONTACT ── */
.wozeck-contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
.wozeck-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.wozeck-contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.wozeck-contact-icon {
  width: 44px; height: 44px; background: #fef3c7;
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.wozeck-contact-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.wozeck-contact-value { font-weight: 600; color: var(--navy); }
.wozeck-contact-value a { color: var(--navy); text-decoration: none; }
.wozeck-contact-value a:hover { color: var(--accent-dark); }

.wozeck-contact-form {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
}
.wozeck-contact-form h3 { margin-bottom: 1.5rem; }
.wozeck-form-group { margin-bottom: 1rem; }
.wozeck-form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--steel); margin-bottom: 0.3rem;
}
.wozeck-form-group input, .wozeck-form-group textarea, .wozeck-form-group select {
  width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s;
}
.wozeck-form-group input:focus, .wozeck-form-group textarea:focus, .wozeck-form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px #fef3c7;
}
.wozeck-form-group textarea { resize: vertical; min-height: 100px; }
.wozeck-submit-btn {
  width: 100%; padding: 0.8rem; background: var(--navy);
  color: var(--white); border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.wozeck-submit-btn:hover { background: #1e3a5f; }

/* ── WHATSAPP FLOAT ── */
.wozeck-whatsapp {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: #25d366; color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wozeck-whatsapp:hover { transform: scale(1.1); }

/* ── FOOTER ── */
.wozeck-footer {
  background: var(--navy); color: #94a3b8; padding: 3rem 2rem 2rem;
}
.wozeck-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.wozeck-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.wozeck-footer ul { list-style: none; }
.wozeck-footer ul li { margin-bottom: 0.5rem; }
.wozeck-footer ul li a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.wozeck-footer ul li a:hover { color: var(--accent); }
.wozeck-footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--steel); text-align: center; font-size: 0.85rem;
}

/* ── BREADCRUMB ── */
.wozeck-breadcrumb {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 0;
  font-size: 0.85rem; color: var(--muted);
}
.wozeck-breadcrumb a { color: var(--muted); text-decoration: none; }
.wozeck-breadcrumb a:hover { color: var(--accent-dark); }
.wozeck-breadcrumb span { color: var(--steel); }

/* ── FAQ ── */
.wozeck-faq-list { max-width: 700px; margin: 2rem auto 0; }
.wozeck-faq-item {
  border-bottom: 1px solid var(--border); padding: 1.2rem 0; cursor: pointer;
}
.wozeck-faq-q {
  font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
}
.wozeck-faq-a {
  color: var(--muted); font-size: 0.95rem; padding-top: 0.5rem;
  display: none;
}
.wozeck-faq-item.open .wozeck-faq-a { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .wozeck-nav-links { display: none; }
  .wozeck-nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--navy);
    padding: 1.5rem 2rem; gap: 1rem;
  }
  .wozeck-hamburger { display: flex; }
  .wozeck-contact-wrapper, .wozeck-about-grid { grid-template-columns: 1fr; }
  .wozeck-trust-bar { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
