/* === AXSARO.CZ - Static Preview CSS === */
:root { --red: #ed1c24; --red-dark: #dd1d00; }
* { box-sizing: border-box; }
body { font-family: Roboto, sans-serif; color: #333; margin: 0; padding: 0; background: #fff; }
a { color: #ed1c24; text-decoration: none; }
a:hover { color: #dd1d00; }
h1,h2,h3,h4,h5 { font-family: "Roboto Condensed", Roboto, sans-serif; }

/* ---- HEADER ---- */
#header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
#header .container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}
#logo { flex-shrink: 0; line-height: 0; }
#logo img {
  max-width: 360px;
  height: auto;
  display: block;
}
#main-menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
#main-menu li a {
  display: block;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
#main-menu li a:hover,
#main-menu li a.active {
  color: #ed1c24;
  border-bottom-color: #ed1c24;
  text-decoration: none;
}

/* ---- SLIDER ---- */
#slider { position: relative; overflow: hidden; background: #000; }
#slider .slides { display: flex; transition: transform .7s ease; }
#slider .slide { min-width: 100%; position: relative; }
#slider .slide img { width: 100%; height: 550px; object-fit: cover; display: block; }
#slider .flex-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 18px 30px; font-size: 20px; font-weight: 700; letter-spacing: 1px;
}
#slider .slide-prev, #slider .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(237,28,36,.8); color: #fff; border: none;
  padding: 14px 18px; font-size: 20px; cursor: pointer; z-index: 10; transition: background .2s;
}
#slider .slide-prev:hover, #slider .slide-next:hover { background: #ed1c24; }
#slider .slide-prev { left: 0; }
#slider .slide-next { right: 0; }
.dots { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,.5); border-radius: 50%; cursor: pointer; }
.dot.active { background: #ed1c24; }

/* ---- LAYOUT ---- */
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.section { padding: 50px 0; }
.section-title { font-size: 26px; font-weight: 700; color: #333; border-left: 5px solid #ed1c24; padding-left: 15px; margin-bottom: 25px; text-transform: uppercase; }

/* ---- O FIRMIE ---- */
#ofirmie { padding: 50px 0; }
#ofirmie h2 { color: #ed1c24; font-size: 28px; font-weight: 700; text-transform: uppercase; }
#ofirmie hr { border-color: #ddd; margin: 20px 0; }
#ofirmie h5 { font-weight: 700; color: #333; margin-bottom: 10px; }
#ofirmie ul li { margin-bottom: 6px; line-height: 1.6; }

/* ---- FILMY ---- */
#filmy { padding: 50px 0; background: #f5f5f5; }
.video-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.video-item { flex: 0 0 calc(50% - 10px); background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.08); overflow: hidden; }
.video-item video { width: 100%; display: block; max-height: 300px; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 15px; margin: 0 0 6px; color: #333; }
.video-info .date { font-size: 12px; color: #888; }

/* ---- FOOTER ---- */
#footer-top { background: #2c2c2c; color: #ccc; padding: 50px 0 30px; }
#footer-top h4 { color: #fff; font-size: 15px; margin: 4px 0; font-weight: 400; }
#footer-top a { color: #ef5350; }
#footer-top a:hover { color: #fff; }
#footer-top .row { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
#footer-top .col-address { flex: 0 0 calc(55% - 30px); }
#footer-top .col-map { flex: 1; min-width: 250px; }
#footer-top hr { border-color: #444; margin: 30px 0; }
.google-maps iframe { width: 100%; height: 220px; border: 0; border-radius: 4px; }
#footer-bottom { background: #222; text-align: center; padding: 15px; color: #777; font-size: 13px; }

/* ---- PAGE HEADER ---- */
.page-header-bar { background: #ed1c24; color: #fff; padding: 20px 0; }
.page-header-bar h1 { margin: 0; font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ---- OFERTA ---- */
.oferta-item { padding: 30px 0; border-bottom: 1px solid #eee; }
.oferta-item:last-child { border-bottom: none; }
.oferta-item h2 { color: #ed1c24; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.oferta-item p { line-height: 1.8; color: #555; margin-bottom: 16px; }
.oferta-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.oferta-images img { height: 180px; width: auto; max-width: 220px; object-fit: cover; border-radius: 3px; cursor: pointer; transition: transform .2s; border: 2px solid transparent; }
.oferta-images img:hover { transform: scale(1.04); border-color: #ed1c24; }

/* ---- GALERIA ---- */
.gallery-grid { display: flex; flex-wrap: wrap; gap: 15px; }
.gallery-item { flex: 0 0 calc(50% - 8px); background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.1); overflow: hidden; }
.gallery-item h3 { font-size: 14px; padding: 10px 14px; margin: 0; color: #333; border-top: 3px solid #ed1c24; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; cursor: pointer; }
.gallery-item img:hover { opacity: .9; }

/* ---- LIGHTBOX ---- */
#lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.9); z-index: 9999; justify-content: center; align-items: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
#lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; cursor: pointer; }

/* ---- MISC ---- */
blockquote { border-left: 4px solid #ed1c24; padding-left: 16px; margin: 0; }

/* =============================================================
   Mobile - max-width: 768px
   ============================================================= */
@media (max-width: 768px) {

  /* Header stacks vertically - matches original */
  #header { padding: 0; }
  #header .container {
    flex-direction: column;
    align-items: center;
    padding: 0 12px 10px;
    gap: 4px;
  }

  /* Logo scales and centres - matches original transform: scale(0.75) */
  #logo {
    display: block;
    text-align: center;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  #logo img { max-width: 100%; height: auto; }

  /* Menu: always visible, centred, wrapping - NO hamburger */
  #main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #main-menu li { display: inline-block; }

  /* Slider */
  #slider .slide img { height: 220px; }
  #slider .flex-caption { font-size: 13px; padding: 10px 12px; letter-spacing: 0; }
  #slider .slide-prev, #slider .slide-next { padding: 10px 13px; font-size: 16px; }
  .dots { bottom: 45px; }

  /* Content */
  .section { padding: 30px 0; }
  #ofirmie { padding: 30px 0; }
  #ofirmie h2 { font-size: 22px; }
  .section-title { font-size: 20px; }
  .page-header-bar h1 { font-size: 22px; }
  #filmy { padding: 30px 0; }

  /* Videos */
  .video-item { flex: 0 0 100%; }

  /* Gallery */
  .gallery-item { flex: 0 0 100%; }
  .gallery-item img { height: 200px; }

  /* Footer */
  #footer-top .col-address,
  #footer-top .col-map { flex: 0 0 100%; }
  #footer-top { padding: 30px 0 20px; }

  /* Oferta images */
  .oferta-images img { height: 120px; max-width: 140px; }
}

/* Extra small - max-width: 480px */
@media (max-width: 480px) {
  #slider .slide img { height: 180px; }
  #slider .flex-caption { font-size: 12px; padding: 8px 10px; }
  .oferta-images { gap: 6px; }
  .oferta-images img { height: 100px; max-width: 110px; }
  .gallery-grid { gap: 10px; }
}

