/* =========================================================
   MS-Brenner GmbH — rekreacija stranice
   Boje preuzete iz originalnog CSS-a (style_3C4E.css / post-241_3C4E.css):
   --green: #5eed16   --bg: #121212   --card: #2F363D
   ========================================================= */

:root {
  --green: #5eed16;
  --green-dim: #4bc412;
  --bg: #121212;
  --bg-alt: #0b0b0b;
  --card: #2F363D;
  --card-light: #3a424b;
  --text: #f2f2f2;
  --text-dim: #9aa0a6;
  --text-faint: #6b7178;
  --border: #262b30;
  --radius: 20px;
  --maxw: 1400px;
  --maxw-content: 1300px;
  --font: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 6%;
}

/* Uža, centrirana varijanta za glavni tekstualni sadržaj (1100px) —
   koristi se ispod hero sekcija (koje ostaju 1200px) na svim stranicama. */
.wrap-content {
  max-width: var(--maxw-content);
  margin: 0 auto;
  padding: 0 6%;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--green); color: #0d1400; }
.btn-primary:hover { background: #7bf13e; transform: translateY(-2px); }
.btn-secondary { background: var(--card-light); color: var(--text); }
.btn-secondary:hover { background: #4a545e; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* -------------------- Icon bullets -------------------- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(94,237,22,0.12);
  color: var(--green);
  flex: none;
}
.icon-badge svg { width: 13px; height: 13px; }

/* -------------------- Top bar (phone/address) -------------------- */
.topbar {
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.topbar-item svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.topbar-item a:hover { color: var(--text); }
.topbar-address { text-transform: uppercase; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #0d1400;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
.social-links a:hover { transform: translateY(-2px); background: #7bf13e; }
.social-links svg { width: 15px; height: 15px; }

/* -------------------- Header / nav -------------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand img { height: 46px; width: auto; }
nav.main-nav ul {
  display: flex;
  gap: 34px;
  align-items: center;
}
nav.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--text); border-color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--card);
  border: none;
  color: var(--text);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

/* -------------------- Hero -------------------- */
.hero {
  margin: 28px auto;
}
.hero-inner {
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(18,18,18,0.55), rgba(18,18,18,0.85)),
    var(--card);
  background-size: cover;
  background-position: center;
  padding: 90px 7% 70px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-pattern);
  opacity: 0.5;
  pointer-events: none;
}
.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 15ch;
  position: relative;
}
.hero h1 .accent { color: var(--green); }
.hero-hours {
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 30ch;
}
.hero-hours strong { color: var(--green); display: block; margin-bottom: 4px; font-weight: 700; }

/* -------------------- Page hero (Kontakt / Impressum / Datenschutz) -------------------- */
.page-hero .hero-inner {
  min-height: 220px;
  justify-content: center;
  padding: 60px 7%;
}
.page-hero h1 { max-width: none; margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }

/* -------------------- Plain title (Schrotthandel / Containerdienst) -------------------- */
.page-title-plain {
  padding: 34px 0 6px;
}
.page-title-plain h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0;
  line-height: 1.05;
}

/* -------------------- Home: decorative hero with photo + centered intro -------------------- */
.hero-decorative .hero-inner {
  min-height: 490px;
  background: var(--card);
}
.hero-decorative .hero-inner::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 1;
  background:
    linear-gradient(100deg, rgba(8,10,8,0.58), rgba(8,10,8,0.92)),
    repeating-linear-gradient(115deg, rgba(94,237,22,0.07) 0 2px, transparent 2px 68px);
}

.centered-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 0 50px;
}
.centered-intro .section-label { justify-content: center; }
.centered-intro h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 22px; }
.centered-intro h1 .accent { color: var(--green); }
.centered-intro .hours-label {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}
.centered-intro .hours { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }

/* -------------------- Contact strip -------------------- */
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.contact-strip .phone {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--green);
}
.contact-strip .phone svg { width: 18px; height: 18px; }
.contact-strip .address {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* -------------------- Section basics -------------------- */
section { padding: 70px 0; }
.section-tight { padding: 40px 0; }
.section-label {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 18px;
}
h2 .accent { color: var(--green); }
.lead { color: var(--text-dim); max-width: 60ch; }

/* -------------------- About / two column -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-media { border-radius: var(--radius); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.about-copy p { color: var(--text-dim); margin: 0 0 16px; }
.about-copy p:first-child { color: var(--text); font-weight: 500; }

/* -------------------- Two service cards -------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  border-radius: var(--radius);
  padding: 80px 8%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  min-height: 340px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,0,0,0.35), rgba(0,0,0,0.78));
}
.service-card > * { position: relative; z-index: 1; }
.service-card.right { align-items: flex-end; text-align: right; }
.service-card h3 { font-size: 1.9rem; margin: 0; }
.service-card p { color: #d8dadd; margin: 0; max-width: 34ch; }
.service-card.right p { margin-left: auto; }

/* -------------------- Alternating detail rows -------------------- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
.detail-row:first-of-type { border-top: none; }
.detail-row h3 { color: var(--green); font-size: 1.5rem; margin: 0 0 12px; }
.detail-row .lead { margin: 0; }
.detail-row .lead + .lead { margin-top: 10px; color: var(--text-faint); font-size: 0.92rem; }

/* -------------------- Big CTA banner -------------------- */
.cta-banner .hero-inner {
  min-height: 320px;
  justify-content: center;
  padding: 70px 7%;
}
.cta-banner .section-label { position: relative; }
.cta-banner h2 { position: relative; max-width: 20ch; margin-bottom: 26px; }

/* -------------------- Footer -------------------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-grid h4 {
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 0.88rem; max-width: 32ch; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a, .footer-grid p { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--green); }
.footer-legal { display: flex; gap: 6px; }

/* -------------------- Placeholder blocks (images/video) -------------------- */
.placeholder {
  border: 1.5px dashed #3a4149;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #1a1d20, #1a1d20 10px, #181b1e 10px, #181b1e 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-faint);
  text-align: center;
  padding: 30px;
  min-height: 260px;
}
.placeholder svg { width: 40px; height: 40px; color: var(--text-faint); }
.placeholder strong { color: var(--text-dim); font-size: 0.95rem; font-weight: 600; }
.placeholder span { font-size: 0.8rem; max-width: 30ch; }

.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(150deg, #1c2023, #14171a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder .play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--green);
  color: #0d1400;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.video-placeholder .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-placeholder-inner { text-align: center; color: var(--text-faint); padding: 20px; }
.video-placeholder-inner strong { display: block; color: var(--text-dim); margin-bottom: 4px; }

/* decorative SVG illustration blocks used as image substitutes */
.illustration {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.illustration svg { width: 100%; height: auto; }

/* -------------------- Cookie banner -------------------- */
#cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2000;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #1b1e21;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  text-align: center;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}
#cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
#cookie-banner .cookie-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #23272b;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
#cookie-banner .cookie-icon svg { width: 26px; height: 26px; }
#cookie-banner p { font-size: 0.88rem; color: var(--text-dim); margin: 0 0 12px; }
#cookie-banner a.dslink { color: var(--green); font-size: 0.85rem; display: inline-block; margin-bottom: 16px; }
#cookie-banner a.dslink:hover { text-decoration: underline; }
#cookie-banner .btn { width: 100%; justify-content: center; }

/* -------------------- Mobile nav drawer -------------------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0 20px;
}
.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-dim);
}
.mobile-nav a.active { color: var(--green); }
.mobile-nav.open { display: flex; }

/* -------------------- Legal pages -------------------- */
.legal-content h2 {
  font-size: 1.35rem;
  margin: 34px 0 12px;
  color: var(--green);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  margin: 26px 0 10px;
  color: var(--text);
}
.legal-content p, .legal-content li { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 12px; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a.link { color: var(--green); }
.legal-content a.link:hover { text-decoration: underline; }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
.legal-content strong { color: var(--text); }
.legal-box {
  background: var(--card);
  border-radius: 16px;
  padding: 26px 30px;
  margin: 20px 0 34px;
}
.legal-box p { margin-bottom: 4px; }

/* -------------------- Contact form -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { color: var(--green); font-size: 1.5rem; }

.contact-list {
  margin-top: 26px;
  display: grid;
  border-top: 1px solid var(--border);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--border);
}
.contact-row .icon-badge-lg {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(94,237,22,0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-row .icon-badge-lg svg { width: 16px; height: 16px; }
.contact-row .contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-row .contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
}
.contact-row .contact-value {
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 500;
}
a.contact-value:hover { color: var(--green); }

form.msb-form { display: grid; gap: 20px; margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.msb-form label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.msb-form input, .msb-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 8px 2px 12px;
  font-family: var(--font);
  font-size: 0.98rem;
  outline: none;
  transition: border-color .15s ease;
}
.msb-form input:focus, .msb-form textarea:focus { border-color: var(--green); }
.msb-form textarea { min-height: 110px; resize: vertical; }
.msb-form .btn { margin-top: 6px; justify-self: start; }

/* -------------------- Map placeholder on Kontakt -------------------- */
.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  margin-top: 50px;
}
.map-placeholder iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* =========================================================
   RESPONSIVE
   Desktop-first (base stilovi iznad su za FullHD/2K - referentni izgled).
   Slojevi: 1440 (laptop) → 1180 (tablet / prijelaz na burger meni)
            → 860 (tablet portrait / jednostupčani rasporedi)
            → 640 (mobitel) → 400 (mali mobitel)
   ========================================================= */

/* ---- 2K i veliki monitori: sadržaj ostaje --maxw širine, samo se centrira
        s više praznog prostora - bez dodatnih pravila potrebno. ---- */

/* ---- Laptop / manji desktop (1181px–1439px): suptilno stezanje razmaka ---- */
@media (max-width: 1439px) {
  nav.main-nav ul { gap: 26px; }
  .nav-actions { gap: 10px; }
  .service-grid { gap: 24px; }
}

/* ---- Tablet landscape i manji laptop prozori: prelazak na burger meni ---- */
@media (max-width: 1180px) {
  nav.main-nav { display: none; }
  .burger { display: flex; }
  .brand img { height: 40px; }
}

/* ---- Tablet portrait: jednostupčani rasporedi, manji razmaci ---- */
@media (max-width: 860px) {
  .about-grid, .service-grid, .detail-row, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .service-card.right { align-items: flex-start; text-align: left; }
  .service-card.right p { margin-left: 0; }
  .service-card { padding: 60px 8%; min-height: 280px; }
  section { padding: 54px 0; }
  .hero-inner { padding: 70px 7% 54px; }
  .page-hero .hero-inner { padding: 46px 7%; min-height: 190px; }
  .cta-banner .hero-inner { padding: 54px 7%; min-height: 260px; }
  .centered-intro { padding: 44px 0 40px; }
  .map-placeholder, .map-placeholder iframe { height: 280px; }
}

/* ---- Mobitel ---- */
@media (max-width: 640px) {
  .topbar .wrap { font-size: 0.76rem; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .topbar-left, .topbar-right { gap: 14px; }
  .topbar-right .topbar-item:first-child { display: none; } /* radno vrijeme se skriva radi uštede prostora na mobitelu */

  .nav-row { padding: 12px 0; gap: 12px; }
  .brand img { height: 34px; }
  .nav-actions .btn-primary { display: none; } /* CTA je dostupan kroz izbornik (KONTAKT) */

  .contact-strip { justify-content: center; text-align: center; padding: 20px 0; gap: 12px; }
  .contact-strip .address { order: 3; width: 100%; }

  .hero-inner { padding: 54px 6% 40px; min-height: 340px; }
  .hero-decorative .hero-inner { min-height: 300px; }
  .page-hero .hero-inner { padding: 40px 6%; min-height: 170px; }
  .page-title-plain { padding: 26px 0 4px; }
  .cta-banner .hero-inner { padding: 44px 6%; min-height: 230px; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  section { padding: 44px 0; }
  .section-tight { padding: 28px 0; }
  .centered-intro { padding: 36px 0 32px; }

  .service-card { padding: 44px 7%; min-height: 240px; }
  .about-cta { flex-direction: column; align-items: stretch; }
  .about-cta .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .form-row { grid-template-columns: 1fr; }
  .msb-form .btn { width: 100%; justify-content: center; }

  .placeholder, .video-placeholder, .illustration { min-height: 200px; }

  #cookie-banner { left: 16px; right: 16px; width: auto; bottom: 16px; padding: 20px; }
}

/* ---- Mali mobitel (npr. iPhone SE, 360-400px) ---- */
@media (max-width: 400px) {
  .wrap, .wrap-content { padding: 0 5%; }
  .topbar-right .social-links { display: none; }
  .hero h1, .centered-intro h1 { font-size: 1.75rem; }
  .page-title-plain h1 { font-size: 1.9rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .contact-row { gap: 12px; }
}

