/* === Reset / base === */
/* ================================================================
  E&M Ewelina Chrzonszcz — klbeton.pl  |  style.css v3 mobile-first
   ================================================================ */

/* --- Custom Properties -------------------------------------- */
:root {
  --red:    #c8102e;
  --red-dk: #9e0020;
  --black:  #111111;
  --dark:   #1e1e1e;
  --mid:    #3d3d3d;
  --gray:   #5e5e5e;
  --border: #d8d8d8;
  --bg:     #f5f5f3;
  --bg-alt: #eaeae8;
  --white:  #ffffff;
  --sh-sm:  0 1px 4px rgba(0,0,0,0.09);
  --sh:     0 3px 12px rgba(0,0,0,0.12);
  --sh-lg:  0 8px 26px rgba(0,0,0,0.16);
  --font:   'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
  --font-h: 'Arial Narrow', 'Bahnschrift Condensed', 'Franklin Gothic Medium', Arial, sans-serif;
}

/* --- Reset / base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mid);
  background: var(--bg);
}
a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dk); }
img { max-width: 100%; display: block; }
address { font-style: normal; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
  background: #0a0a0a;
  color: #888;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #222;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-contacts {
  display: flex;
  gap: 12px;
}
.top-bar a { color: #bbb; }
.top-bar a:hover { color: var(--red); }
  .top-bar-info { color: #555; display: none; } /* shown on tablet+ */

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px 0;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  line-height: 1;
}
.logo-mark { color: var(--red); }
.logo-text { color: #fff; }
.logo-sub {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-top: 3px;
}

/* Nav */
.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  background: rgba(17,17,17,0.98);
  border-top: 1px solid #222;
  z-index: 300;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.main-nav li { display: block; }
.main-nav a {
  display: flex;
  align-items: center;
  color: #bbb;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 16px 24px;
  text-decoration: none;
  border-bottom: 1px solid #1e1e1e;
  border-left: 3px solid transparent;
  min-height: 48px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.03);
  border-left-color: var(--red);
  border-bottom-color: #1e1e1e;
  outline: none;
}

/* Hamburger — visible by default on mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid #333;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: #555;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.16);
  outline: none;
}
.nav-toggle:hover span,
.nav-toggle:focus-visible span { background: var(--red); }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(160deg, #1a1a1a 0%, #2c2c2c 55%, #1c1c1c 100%);
  color: #fff;
  padding: 40px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle concrete-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container { position: relative; }

.hero h1 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-sub {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.5;
}
.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  border: 1px solid #2e2e2e;
  margin-bottom: 28px;
  width: 100%;
}
.hero-features li {
  padding: 11px 20px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bbb;
  border-bottom: 1px solid #2e2e2e;
}
  .hero-features li:last-child { border-bottom: none; }

.hero-cta {
  display: block;
  width: 100%;
  padding: 16px 24px;
  min-height: 48px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
  transition: background 0.2s;
}
  .hero-cta:hover { background: var(--red-dk); color: #fff; }

/* ================================================================
   SECTIONS — shared
   ================================================================ */
section { padding: 40px 0; }

.section-title {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
}
.section-lead {
  text-align: center;
  margin: 0 auto 36px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

/* ================================================================
   INFO BAND
   ================================================================ */
.info-band {
  background: var(--bg-alt);
  border-top: 3px solid var(--red);
  padding: 36px 0;
}
.info-band .info-title {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 22px;
  line-height: 1.3;
}
.info-band .info-body {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.8;
}
.info-band .info-body p {
  margin-bottom: 16px;
}
.info-band .info-body p:last-child {
  margin-bottom: 0;
}
.info-band .info-note {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 12px 16px;
  margin-top: 20px;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.7;
}

/* ================================================================
   OFFER
   ================================================================ */
.offer { background: var(--bg); }

.offer-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.offer-item:hover {
  box-shadow: var(--sh);
}
  .offer-item.reverse { flex-direction: column; }

.offer-img {
  width: 100%;
  flex: none;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-h);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  text-align: center;
  padding: 16px;
  position: relative;
}
.offer-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 60%);
}

.offer-text {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid transparent;
  transition: border-color 0.25s;
}
.offer-item:hover .offer-text { border-left-color: var(--red); }
  .offer-item.reverse .offer-text { border-left: 4px solid transparent; border-right: none; }
  .offer-item.reverse:hover .offer-text { border-left-color: var(--red); }

.offer-text h3 {
  font-family: var(--font-h);
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.offer-text h3::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  margin: 10px 0 12px;
}
.offer-text p {
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.72;
}

/* ================================================================
   GALLERY / SLIDER
   ================================================================ */

/* ================================================================
   CONTACT
   ================================================================ */
.contact { background: var(--white); }

.contact-company {
  text-align: center;
  font-size: 17px;
  margin: 0 0 32px;
  color: var(--black);
}
.contact-company strong { color: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-block {
  background: var(--bg);
  padding: 20px 16px;
  border-left: 4px solid var(--red);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-block:hover {
  box-shadow: var(--sh);
  transform: translateY(-2px);
}
.contact-block h3 {
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 1.5px;
}
.contact-block address,
.contact-block p {
  font-size: 15px;
  color: var(--black);
  line-height: 1.8;
}
.contact-block a {
  font-size: 16px;
  font-weight: 500;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
  .contact-block a:hover { color: var(--red-dk); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0d0d0d;
  color: #666;
  padding: 30px 0;
  font-size: 12.5px;
  border-top: 3px solid var(--red);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.copy { color: #555; }
  .foot-contact { color: #555; line-height: 2; font-size: 12px; }
  .foot-contact span { display: block; }
  .foot-sep { display: none; }
.site-footer a { color: #999; }
.site-footer a:hover { color: var(--red); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ================================================================
   TABLET  ≥ 768px
   ================================================================ */
@media (min-width: 768px) {
  .container { padding: 0 20px; }

  /* top bar */
  .top-bar-info { display: block; }
  .top-bar-contacts { gap: 20px; }

  /* header */
  .header-inner { min-height: 64px; padding: 12px 0; }
  .logo { font-size: 28px; letter-spacing: 3px; }
  .logo-sub { font-size: 9.5px; letter-spacing: 2.5px; }

  /* nav — full horizontal menu at tablet+ */
  .nav-toggle { display: none; }
  .main-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .main-nav ul { flex-direction: row; }
  .main-nav li { display: inline-block; }
  .main-nav a {
    display: inline-block;
    padding: 20px 12px;
    border-bottom: 3px solid transparent;
    border-left: none;
    min-height: unset;
    font-size: 11px;
    margin-bottom: -3px;
    background: transparent;
  }
  .main-nav a:hover {
    color: #fff;
    border-bottom-color: #444;
    border-left-color: transparent;
  }
  .main-nav a.active {
    color: #fff;
    border-bottom-color: var(--red);
    border-left-color: transparent;
  }

  /* hero */
  .hero { padding: 52px 0 46px; }
  .hero h1 { font-size: 30px; letter-spacing: 1px; }
  .hero-sub { font-size: 15px; margin-bottom: 30px; }
  .hero-features {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    margin-bottom: 32px;
  }
  .hero-features li {
    border-bottom: none;
    border-right: 1px solid #2e2e2e;
    padding: 10px 22px;
  }
  .hero-features li:last-child { border-right: none; }
  .hero-cta {
    display: inline-block;
    width: auto;
    padding: 14px 36px;
    font-size: 13px;
    min-height: unset;
  }

  /* sections */
  section { padding: 52px 0; }
  .section-title { font-size: 26px; letter-spacing: 2px; }
  .section-lead { font-size: 14.5px; margin-bottom: 44px; }

  /* info band */
  .info-band { padding: 48px 0; }
  .info-band .info-title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 26px; }
  .info-band .info-body { font-size: 15px; max-width: 860px; margin: 0 auto; }
  .info-band .info-note { padding: 14px 20px; font-size: 14.5px; }

  /* offer — still stacked at tablet, bigger padding */
  .offer-item { margin-bottom: 16px; }
  .offer-img { min-height: 130px; }
  .offer-text { padding: 22px 20px; }
  .offer-text h3 { font-size: 20px; }

  /* contact */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-block { padding: 24px 20px; }
  .contact-block h3 { font-size: 11.5px; }

  /* footer */
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 12px; }
  .foot-contact { line-height: 1.9; text-align: right; font-size: 12px; }
  .foot-contact span { display: inline; }
  .foot-sep { display: inline; }
}

/* ================================================================
   DESKTOP  ≥ 1024px
   ================================================================ */
@media (min-width: 1024px) {
  .container { padding: 0 24px; }

  /* header */
  .header-inner { min-height: 68px; padding: 0; }
  .logo { font-size: 30px; letter-spacing: 3px; }
  .logo-sub { font-size: 9.5px; letter-spacing: 2.5px; }
  .main-nav a { padding: 23px 14px; font-size: 11px; }

  /* hero */
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 38px; letter-spacing: 1.5px; }
  .hero-sub { font-size: 16px; margin-bottom: 36px; }
  .hero-features li { padding: 10px 26px; }
  .hero-cta {
    padding: 14px 40px;
    font-size: 13px;
    transition: background 0.2s, transform 0.15s;
  }
  .hero-cta:hover { transform: translateY(-1px); }

  /* sections */
  section { padding: 64px 0; }
  .section-title { font-size: 28px; letter-spacing: 2.5px; }
  .section-lead { max-width: 800px; margin-bottom: 52px; font-size: 14.5px; }

  /* info band */
  .info-band { padding: 56px 0; }
  .info-band .info-title { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin-bottom: 28px; }

  /* offer — row layout on desktop */
  .offer-item {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 18px;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
  }
  .offer-item:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-2px);
  }
  .offer-item.reverse { flex-direction: row-reverse; }
  .offer-img {
    flex: 0 0 240px;
    width: 240px;
    min-height: 200px;
    padding: 16px;
  }
  .offer-text {
    flex: 1;
    padding: 30px 36px;
  }
  .offer-item.reverse .offer-text { border-left: none; border-right: 4px solid transparent; }
  .offer-item.reverse:hover .offer-text { border-right-color: var(--red); border-left-color: transparent; }
  .offer-text h3 { font-size: 22px; }
  .offer-text p { text-align: justify; }

  /* contact */
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
  .contact-block { padding: 28px 22px; }
  .contact-company { font-size: 17px; }

  /* footer */
  .site-footer { font-size: 12.5px; padding: 30px 0; }
  .foot-contact { font-size: 12.5px; }
}

/* ================================================================
   PLACEHOLDER COLOURS  (zastąpić zdjęciami docelowymi)
   ================================================================ */
.oi-1  { background: #7a8a99; }
.oi-2  { background: #5d6e7a; }
.oi-3  { background: #4f7a8a; }
.oi-4  { background: #6a7a5d; }
.oi-5  { background: #8a8270; }
.oi-6  { background: #a89970; }
.oi-7  { background: #3f4a55; }
.oi-8  { background: #bcae9a; }
.oi-9  { background: #5a5a5a; }
.oi-10 { background: #9aa3a8; }
.oi-11 { background: #b08a6f; }
.oi-12 { background: #7a6a55; }
.oi-13 { background: #4a5a4a; }
