/* =========================================================
   SOUBOR: style.css
   Styly pro stránku BEDREN
   ========================================================= */


/* =========================================================
   1) GLOBÁLNÍ BARVY A PROMĚNNÉ
   ========================================================= */
:root {
  --green: #59b42a;
  --green-dark: #348319;
  --green-soft: #eef8e9;
  --black: #101510;
  --gray: #5e665e;
  --light: #f7faf5;
  --white: #ffffff;
  --border: #dfe8dc;
  --shadow: 0 18px 55px rgba(20, 40, 18, 0.12);
  --radius: 26px;
}


/* =========================================================
   2) ZÁKLADNÍ RESET A OBECNÉ STYLY
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--light);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: 78px 0;
}


/* =========================================================
   3) MENU / HLAVIČKA
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 245, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 232, 220, 0.45);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: #303830;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--green-dark);
}


/* =========================================================
   4) TLAČÍTKA
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 28px rgba(89, 180, 42, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--black);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}

.btn-download {
  background:#121812;
  border-color: var(--border);
  color: var(--white);
}

.btn-download:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}

.table-button {
  margin-top: 34px;
}



/* =========================================================
   5) HERO SEKCE
   Úvodní velká sekce s názvem produktu a obrázkem.
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 85% 12%, rgba(89, 180, 42, 0.22), transparent 31%),
    linear-gradient(135deg, #f8fbf6 0%, #eaf6e5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -170px;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0.12;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(89, 180, 42, 0.12);
  color: var(--green-dark);
  font-weight: 850;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green);
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.split-heading span {
  display: block;
  margin-top: 8px;
  font-size: 0.48em;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  text-transform: uppercase;
}

.brand-subtitle {
  margin: 10px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
  color: var(--green);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.lead {
  margin: 24px 0 0;
  color: #394239;
  font-size: 1.16rem;
  max-width: 650px;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: relative;
  background: transparent;
  min-height: 500px;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  background: transparent;
  transform: scale(1.80);
  transform-origin: center;
}

.hero-card::after {
  display: none;
}

.hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 4px;
}

.hero-badge strong {
  font-size: 1.2rem;
}

.hero-badge span {
  color: var(--gray);
  font-weight: 600;
}


/* =========================================================
   6) NADPISY SEKCÍ
   ========================================================= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-head p {
  margin: 0;
  max-width: 540px;
  color: var(--gray);
  font-weight: 560;
}


/* =========================================================
   7) VÝHODY PRODUKTU
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 10px 35px rgba(30, 45, 25, 0.05);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 1.35rem;
  margin-bottom: 20px;
  font-weight: 900;
}

.feature h3,
.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature p,
.card p {
  margin: 0;
  color: var(--gray);
  font-weight: 520;
}


/* =========================================================
   8) ZELENÝ INFO PRUH
   ========================================================= */
.green-band {
  background: var(--green);
  color: white;
  border-radius: 42px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.green-band::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.green-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.green-band p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 560;
  opacity: 0.96;
}


/* =========================================================
   9) VARIANTY PRODUKTU
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 2;
}


.card:nth-child(4) {
  grid-column: 2 / span 2;
}

.card:nth-child(5) {
  grid-column: 4 / span 2;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(30, 45, 25, 0.05);
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.order-note {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

/* =========================================================
   10) VYUŽITÍ / DLAŽDICE S FOTKAMI
   ========================================================= */
.uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-card {
  position: relative;
  min-height: 180px;
  border-radius: 22px;
  overflow: hidden;
  background: #dce8d7;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(30, 45, 25, 0.1);
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(30, 45, 25, 0.16);
}

.use-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.use-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 21, 16, 0.08) 0%,
    rgba(16, 21, 16, 0.3) 44%,
    rgba(16, 21, 16, 0.82) 100%
  );
  z-index: 1;
}

.use-content {
  position: relative;
  z-index: 2;
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.use-meta {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.use-card h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-align: center;
}

.use-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 530;
  line-height: 1.45;
}


/* =========================================================
   11) TECHNICKÁ TABULKA
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

th,
td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: #121812;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

th:first-child {
  border-top-left-radius: 28px;
}

th:last-child {
  border-top-right-radius: 28px;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 800;
  color: #273027;
}

tbody tr:nth-child(even) {
  background: #f8fbf6;
}


/* =========================================================
   12) KONTAKT
   ========================================================= */
.contact {
  background: #101510;
  color: white;
  padding: 68px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.contact-list {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}


/* =========================================================
   13) PATIČKA
   ========================================================= */
.footer {
  background: #0b100b;
  color: rgba(255, 255, 255, 0.72);
  padding: 22px 0;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}


/* =========================================================
   14) RESPONZIVITA PRO TABLET A MOBIL
   ========================================================= */

/* TABLET */
@media (max-width: 980px) {
  .hero-grid,
  .green-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Varianty produktu na tabletu:
     2 karty nahoře, 2 uprostřed, poslední karta na střed */
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .card {
    grid-column: span 2;
  }

  .card:nth-child(4),
  .card:nth-child(5) {
    grid-column: span 2;
  }

  .card:nth-child(5) {
    grid-column: 2 / span 2;
  }

  /* Použití na tabletu: 2 vedle sebe */
  .uses {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-card,
  .hero-card img {
    min-height: 380px;
  }
}

/* MOBIL */
@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .features,
  .cards,
  .uses {
    grid-template-columns: 1fr;
  }

  .card,
  .card:nth-child(4),
  .card:nth-child(5) {
    grid-column: auto;
  }

  section {
    padding: 54px 0;
  }

  .green-band {
    padding: 34px 24px;
    border-radius: 30px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .logo img {
    height: 32px;
  }
}
 

