/* =========================================================
   GLOBAL
========================================================= */

:root{
  --text: #0f172a;
  --muted: #64748b;

  --primary: #9e0800;
  --primary-2: #630500;

  --card-bg: #ffffff;
  --border: rgba(2, 6, 23, 0.08);

  --radius: 18px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --nav-h: 74px;

  --base-bg: #fafafa;
  --alt-bg:  #d3d3d336;
}

html{
  scroll-behavior: smooth;
}

body{
  color: var(--text);
  background: #fafafa;
  padding-top: var(--nav-h);

  background: var(--base-bg);
}
.section{
  background: var(--base-bg);
  position: relative;
}
.section--alt{
  background: var(--alt-bg);
}

/* Kotvy – */
section[id]{
  scroll-margin-top: calc(var(--nav-h) + 14px);
}

/* Bootstrap override pro primární barvu tlačítek */
.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover{
  background: var(--primary-2);
  border-color: var(--primary-2);
}
.btn-outline-primary{
  border-color: var(--primary);
  color: white;
  background: var(--primary);
}
.btn-outline-primary:hover{
  border-color: var(--primary);
  color: white;
  background: var(--primary);
}

/* Navbar linky */
.navbar .nav-link{
  font-weight: 600;
  color: rgba(15, 42, 28, 0.85);
}
.navbar .nav-link:hover{
  color: var(--primary);
}
.navbar .navbar-brand{
  letter-spacing: -0.3px;
}

/* Logo v navbaru */
.navbar .navbar-brand.brand-logo{
  padding-top: 6px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
}

.brand-logo-img{
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Tablety */
@media (max-width: 991.98px){
  .brand-logo-img{
    height: 40px;
    max-width: 160px;
  }
}

/* Telefony */
@media (max-width: 575.98px){
  .brand-logo-img{
    height: 36px;
    max-width: 140px;
  }
}


/* =========================================================
   SECTIONS
========================================================= */

.section{
  padding-top: 30px;
  padding-bottom: 30px;
}

.section--alt{
  background: var(--alt-bg);
}

.section-head .h1{
  letter-spacing: -0.6px;
}

/* HERO */
.section--hero{
  padding: 30px 0;
}

.hero-subhead{
  font-size: 0.55em;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.75);
  margin-top: 6px;
}

.hero-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgba(15, 23, 42, 0.8);
}

.hero-meta-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.hero-meta-item i{
  color: var(--primary);
}

.hero-image{
  background: transparent;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.hero-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* =========================================================
   OFFER (tabs + content)
========================================================= */

.offer-tabs .nav-link{
  border: 1px solid var(--border);
  background: #fff;
  color: rgba(15, 23, 42, 0.85);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}
.offer-tabs .nav-link:hover{
  border-color: #9e08003b;
  color: var(--primary);
}
.offer-tabs .nav-link.active{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.offer-card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 26px;
}

.checklist{
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 600;
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

/* ===== OFFER slider (plynulý přejezd) ===== */
.offer-slider{
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
}

.offer-track{
  display: flex;
  width: 100%;
  transition: transform 600ms ease;
  will-change: transform;
}

.offer-slide{
  flex: 0 0 100%;
  width: 100%;
}

.offer-slide .offer-card{
  margin: 0; 
}

.offer-slider{
  touch-action: pan-y;
}


/* =========================================================
   BRANDS GRID (grayscale -> color hover)
========================================================= */

.brand-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.brand-item img{
  max-width: 150px;
  width: auto;
  height: auto;
  opacity: .9;
  transition: filter .2s ease, opacity .2s ease;
}

.brand-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(2,6,23,.10);
  border-color: #9e08003b;
}

.brand-item:hover img{
  filter: grayscale(0);
  opacity: 1;
}

/* =========================================================
   INFO CARDS (obchod + kontakt)
========================================================= */

.info-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 26px;
}

.info-list{
  display: grid;
  gap: 16px;
}

.info-row{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.info-row i{
  color: var(--primary);
  margin-top: 2px;
  font-size: 18px;
}

.map-card{
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 420px;
}

.map-card iframe{
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.contact-label{
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-value,
.contact-value a{
  font-weight: 400;
  color: rgba(15, 23, 42, 0.9);
  text-decoration: none;
}
.contact-value a:hover{
  color: var(--primary);
}

/* Footer */
.site-footer .footer-link{
  font-weight: 700;
  text-decoration: none;
  color: rgba(15, 23, 42, 0.85);
}
.site-footer .footer-link:hover{
  color: var(--primary);
}

/* =========================================================
   RESPONSIVE (telefony + tablety)
========================================================= */


/* Tablety (<= 992px) */
@media (max-width: 991.98px){
  .section{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section--hero{
    padding: 72px 0;
  }

  .brand-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-card{
    padding: 20px;
  }
}

/* Telefony (<= 576px) */
@media (max-width: 575.98px){
  :root{
    --nav-h: 68px;
  }

  .section{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section--hero{
    padding: 20px 0;
  }

  .hero-meta{
    gap: 10px 12px;
  }

  .offer-tabs .nav-link{
    padding: 9px 12px;
    font-size: 0.95rem;
  }

  .brand-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brand-item{
    padding: 12px;
    min-height: 78px;
  }

  .brand-item img{
    max-width: 120px;
    max-height: 44px;
  }

  .map-card,
  .map-card iframe{
    min-height: 320px;
  }
}

:root{
  --feature-bg: #9e08002a; 
}

.feature-card{
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(2,6,23,.10);
  border-color: #9e08003b;
}

.feature-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.feature-icon i{
  color: var(--primary);
  font-size: 18px;
}

.feature-title{
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.feature-text{
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
  line-height: 1.35;
}

/* Mobilní doladění */
@media (max-width: 575.98px){
  .feature-card{
    padding: 16px;
  }
  .feature-icon{
    width: 40px;
    height: 40px;
  }
}

/* Tlačítka */
.btn:focus,
.btn:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 .2rem rgba(158, 8, 0, .25) !important; 
}

.btn:active,
.btn.active {
  background: var(--primary-2) !important;
  border-color: var(--primary-2) !important;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
  background: var(--primary-2) !important;
  border-color: var(--primary-2) !important;
}
.nav-pills .nav-link:focus,
.nav-pills .nav-link:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 .2rem rgba(158, 8, 0, .22) !important;
}

.nav-pills .nav-link:active {
  box-shadow: none !important;
}

.h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #0f172a;
}

.h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #0f172a;
}

.h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #0f172a;
}