/* =========================================================
   ATOM EXPO — /nova static rebuild stylesheet
   Design tokens taken from the live Elementor global kit.
   ========================================================= */

/* 1. Design tokens ---------------------------------------- */
:root {
  --color-primary: #ED6A08;
  --color-primary-light: #FF9251;
  --color-secondary: #FFFFFF;
  --color-accent: #DD7D63;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-alert: #FF273B;
  --color-bg-light: #F3EDED;
  --color-bg: #FFFFFF;
  --color-border: #e6e0e0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Trebuchet MS', 'Roboto', Arial, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 2. Reset / base ------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--color-text);
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 64px 0; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
}

/* 3. Header + nav -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 60px; width: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-bg-light);
}
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown,
.main-nav .has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav .dropdown li a:hover { color: var(--color-primary); background: var(--color-bg-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* 4. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-image:
    linear-gradient(180deg, rgba(237,106,8,0.55) 0%, rgba(255,146,81,0.45) 100%),
    url('/assets/img/uploads/2022/08/Untitled-1-02.png');
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-content { max-width: 640px; }
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  margin-bottom: 0.4em;
}
.hero p {
  color: #fff;
  font-size: 1.15rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  margin-bottom: 1.6em;
}

/* trust bar */
.trust-bar {
  background: var(--color-bg-light);
  padding: 28px 0;
  text-align: center;
}
.trust-bar p { margin: 0.2em 0; }
.trust-bar p:first-child { font-weight: 600; }

/* 5. Feature / checklist / process blocks ----------------------- */
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading h2 { margin-bottom: 0.4em; }
.section-heading p { color: var(--color-text-muted); font-size: 1.1rem; }

.checklist {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  font-size: 1.05rem;
}
.checklist li::before {
  content: "\2713";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}
.service-card h3 { color: var(--color-primary); font-size: 1.15rem; }
.service-card p { color: var(--color-text-muted); margin: 0; font-size: 0.98rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
}
.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

.trust-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius);
  max-width: var(--max-width);
  margin: 0 auto;
}
.trust-block h2, .trust-block p { color: #fff; }
.trust-block .section-heading p { color: rgba(255,255,255,0.9); }

.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-teaser img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Before/after comparison pairs (static image pairs, confirmed no interactive slider on live site) */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.compare-pair {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-pair .compare-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-pair img { height: 220px; width: 100%; object-fit: cover; }
.compare-pair .compare-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-align: center;
}
.compare-pair .compare-labels span { padding: 8px; background: var(--color-bg-light); }
.compare-pair .compare-labels span:first-child { border-right: 1px solid #fff; }

/* Inline gallery strip (mixed real/3D photos used on Home) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.photo-strip a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-strip img { height: 180px; width: 100%; object-fit: cover; transition: transform 0.25s ease; }
.photo-strip a:hover img { transform: scale(1.05); }

.bg-light { background: var(--color-bg-light); }

/* 6. CTA block (shared partial: advice + inquiry form) ----------- */
.cta-block { background: var(--color-bg-light); }
.cta-block-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.cta-lead { color: var(--color-text-muted); }
.cta-address { margin: 20px 0; }
.cta-address li { padding: 3px 0; }
.cta-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 16px;
}
.cta-form form { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-status { margin-top: 12px; font-size: 0.9rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status-loading { color: var(--color-text-muted); }
.form-status-ok { color: #1c7a3f; }
.form-status-error { color: #a32323; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--color-text-muted); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* 7. Footer -------------------------------------------------------- */
.site-footer { background: #1c1c1c; color: #ddd; padding-top: 56px; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-logo-col img { height: 90px; width: auto; }
.footer-col h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { padding: 4px 0; font-size: 0.92rem; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: var(--color-primary-light); }
.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid #333;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
}
.footer-bottom a { color: #aaa; }

/* 8. Product grid / card (katalog) ---------------------------------- */
.katalog-intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}
.category-filter button {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.category-filter button:hover,
.category-filter button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card a { text-decoration: none; color: inherit; display: block; }
.product-card .product-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-light);
}
.product-card .product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-info { padding: 14px 16px; }
.product-card .product-category { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); }
.product-card .product-title { font-size: 0.95rem; font-weight: 600; margin-top: 4px; color: var(--color-text); }
.product-count { text-align: center; color: var(--color-text-muted); margin-bottom: 24px; font-size: 0.9rem; }

/* 9. Single product page --------------------------------------------- */
.product-breadcrumb { max-width: var(--max-width); margin: 0 auto 24px; padding: 0 24px; font-size: 0.85rem; color: var(--color-text-muted); }
.product-breadcrumb a { color: var(--color-text-muted); }
.product-single {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.product-single .product-gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.product-single .product-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  background: var(--color-bg-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.product-single h1 { font-size: 2rem; }
.product-features { margin: 24px 0; }
.product-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.product-features li::before { content: "\2713 "; color: var(--color-primary); font-weight: 700; }
.product-note { color: var(--color-text-muted); font-size: 0.92rem; margin-top: 24px; }
.product-not-found { max-width: var(--max-width); margin: 0 auto; padding: 80px 24px; text-align: center; }

/* 10. Gallery + lightbox ------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery-grid img { height: 190px; width: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
#lightbox.visible { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
#lightbox .lightbox-close,
#lightbox .lightbox-prev,
#lightbox .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
#lightbox .lightbox-close { top: 20px; right: 20px; }
#lightbox .lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
#lightbox .lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
#lightbox .lightbox-close:hover,
#lightbox .lightbox-prev:hover,
#lightbox .lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* 11. Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .cta-block-inner,
  .about-teaser,
  .product-single { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 80px 24px 24px;
    transition: right 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 16px;
  }
  .main-nav .has-dropdown.open .dropdown { display: block; }
  .hero h1 { font-size: 2.1rem; }
  .hero { min-height: 420px; }
  section { padding: 44px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
