/* === Reset / base === */
/* ================================================================
   E&M Ewelina Chrzonszcz — klbeton.pl  |  style.css v2
   ================================================================ */

/* --- Google Fonts ------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&family=Roboto+Condensed:wght@700&display=swap');

/* --- 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:   'Roboto', Arial, sans-serif;
  --font-h: 'Roboto Condensed', 'Arial Narrow', 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 24px;
}

/* ================================================================
   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: 20px;
}
.top-bar a { color: #bbb; }
.top-bar a:hover { color: var(--red); }
.top-bar-info { color: #555; }

/* ================================================================
   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: 68px;
}

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

/* Nav */
.main-nav ul { list-style: none; display: flex; }
.main-nav li { display: inline-block; }
.main-nav a {
  display: inline-block;
  color: #bbb;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 23px 14px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -3px;
}
.main-nav a:hover { color: #fff; border-bottom-color: #444; }
.main-nav a.active { color: #fff; border-bottom-color: var(--red); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #333;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ccc;
  transition: background 0.2s;
}
.nav-toggle:hover span { background: var(--red); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(160deg, #1a1a1a 0%, #2c2c2c 55%, #1c1c1c 100%);
  color: #fff;
  padding: 72px 0 64px;
  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: 38px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-sub {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 36px;
  font-style: italic;
}
.hero-features {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid #2e2e2e;
  margin-bottom: 36px;
}
.hero-features li {
  padding: 10px 26px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bbb;
  border-right: 1px solid #2e2e2e;
}
.hero-features li:last-child { border-right: none; }

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--red-dk); color: #fff; transform: translateY(-1px); }

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

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

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

.offer-item {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  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;
  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 {
  flex: 1;
  padding: 30px 36px;
  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: none; border-right: 4px solid transparent; }
.offer-item.reverse:hover .offer-text { border-right-color: var(--red); }

.offer-text h3 {
  font-family: var(--font-h);
  color: var(--black);
  font-size: 22px;
  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;
  text-align: justify;
}

/* ================================================================
   GALLERY / SLIDER
   ================================================================ */
.gallery { background: var(--bg-alt); }

.slider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.slider-track {
  flex: 1;
  display: flex;
  gap: 10px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.slide {
  flex: 0 0 calc((100% - 40px) / 5);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--sh-sm);
  transition: opacity 0.2s, transform 0.2s;
}
.slide:hover { opacity: 0.88; transform: scale(1.015); }

.slider-btn {
  flex-shrink: 0;
  background: var(--black);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: var(--red); }

/* ================================================================
   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: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.contact-block {
  background: var(--bg);
  padding: 28px 22px;
  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: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
  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);
}
.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-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.copy { color: #555; }
.foot-contact { color: #555; line-height: 1.9; }
.site-footer a { color: #999; }
.site-footer a:hover { color: var(--red); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .offer-img { flex: 0 0 200px; width: 200px; }
  .offer-text { padding: 26px 28px; }
}

@media (max-width: 768px) {
  .top-bar-info { display: none; }

  .header-inner { min-height: 0; padding: 14px 0; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #222;
    z-index: 300;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav li { display: block; }
  .main-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #1e1e1e;
    border-left: 3px solid transparent;
    margin-bottom: 0;
  }
  .main-nav a:hover,
  .main-nav a.active {
    border-left-color: var(--red);
    border-bottom-color: #1e1e1e;
    color: #fff;
  }

  .hero { padding: 52px 0 46px; }
  .hero h1 { font-size: 26px; letter-spacing: 0.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 26px; }
  .hero-features { flex-direction: column; border: none; margin-bottom: 28px; }
  .hero-features li { border-right: none; border-bottom: 1px solid #2e2e2e; }
  .hero-features li:last-child { border-bottom: none; }

  section { padding: 48px 0; }

  .offer-item,
  .offer-item.reverse { flex-direction: column; }
  .offer-img { width: 100%; flex: none; min-height: 130px; }
  .offer-text {
    padding: 22px 20px;
    border-left: 4px solid transparent;
    border-right: none !important;
  }
  .offer-item:hover .offer-text,
  .offer-item.reverse:hover .offer-text {
    border-left-color: var(--red);
    border-right-color: transparent !important;
  }
  .offer-text p { text-align: left; }

  .slide { flex: 0 0 calc((100% - 10px) / 2); }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 22px; }
  .section-title { font-size: 22px; }
  .offer-text h3 { font-size: 18px; }
  .contact-block { padding: 22px 18px; }
  .slide { flex: 0 0 85%; }
}

  /* ================================================================
    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; }

  .sl-1 { background: #6e7a85; }
  .sl-2 { background: #85756e; }
  .sl-3 { background: #7a856e; }
  .sl-4 { background: #6e8585; }
  .sl-5 { background: #85706e; }

