/* ===== RESET ===== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:#0b0b0b;
  color:#e9e9e9;
  line-height:1.5;
}

/* ===== WRAP ===== */
.wrap{width:min(1200px,92%);margin:auto}

/* ===== HEADER ===== */
.site-header{
  background:rgba(11,11,11,.92);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0; gap:18px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  color:#fff;text-decoration:none;font-weight:700;font-size:20px;
  white-space:nowrap;
}
.brand svg{width:28px;height:28px;opacity:.9}

.nav{display:flex;align-items:center;gap:10px;flex:1;justify-content:center}
.nav-item{position:relative}
.nav-link{
  display:inline-flex;align-items:center;gap:6px;
  color:#eaeaea;text-decoration:none;
  padding:10px 12px;border-radius:10px;
  font-weight:600;font-size:14px;
  white-space:nowrap;
}
.nav-link:hover{background:rgba(255,255,255,.06)}
.nav-link .caret{font-size:10px;opacity:.8}

.phone{
  color:#fff;text-decoration:none;font-weight:800;
  font-size:22px;white-space:nowrap;
}

/* ===== DROPDOWN ===== */
.dropdown{
  position:absolute;left:0;top:100%;
  min-width:240px;
  background:rgba(20,20,20,.98);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:10px 0;
  margin-top:10px;
  box-shadow:0 18px 50px rgba(0,0,0,.55);
  display:none;
}
.nav-item:hover > .dropdown{display:block}

.dropdown a{
  display:block;
  padding:10px 14px;
  color:#eaeaea;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
}
.dropdown a:hover{background:rgba(255,255,255,.06)}

/* ===== HERO ===== */
.hero{
  min-height:560px;
  display:flex;align-items:center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.15) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero h1{
  font-size:56px;line-height:1.05;margin-bottom:14px;color:#fff;
  max-width:680px;
}
.hero p{max-width:520px;color:#cfcfcf;font-size:14px}

/* ===== SECTIONS ===== */
.section{padding:80px 0}
.section-alt{background:#0f0f0f}
.section-title{
  font-size:44px;text-align:center;margin-bottom:10px;color:#fff;
  font-weight:900;
}
.section-subtitle{
  text-align:center;color:#9fa3a8;margin-bottom:50px;
}

/* ===== OFFER GRID ===== */
.offer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px;
  align-items:stretch;
}
.offer-card{
  position:relative;
  min-height:360px;
  border-radius:20px;
  overflow:hidden;
  display:block;
  color:#fff;
  text-decoration:none;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.offer-card::after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.62) 65%, rgba(0,0,0,.85) 100%);
}
.offer-card:hover{transform:translateY(-4px);transition:.25s ease}
.offer-content{
  position:absolute;left:0;right:0;bottom:0;
  padding:22px;
  z-index:2;
}
.offer-content h3{font-size:22px;margin-bottom:8px;font-weight:900}
.offer-content p{font-size:14px;color:#dcdcdc}

/* ===== WHY ===== */
.why-sub{color:#9fa3a8;text-align:center;margin-bottom:60px}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:36px;
}
.why-item .num{
  font-size:64px;color:rgba(255,255,255,.25);
  font-weight:900;margin-bottom:10px;
}
.why-item h3{font-size:20px;margin-bottom:10px;font-weight:900}
.why-item p{color:#9fa3a8;font-size:14px;line-height:1.7}

/* ===== CONTACT ===== */
.contact h2{font-size:44px;font-weight:900;margin-bottom:10px}
.contact .lead{color:#9fa3a8;margin-bottom:26px;max-width:520px}
.contact-list{margin-top:10px}
.contact-row{
  display:flex;align-items:center;gap:12px;
  padding:10px 0;color:#eaeaea;font-weight:700;
}
.contact-row a{color:#eaeaea}
.contact-row a:hover{text-decoration:underline}
.icon{width:18px;opacity:.85}

/* ===== FOOTER ===== */
.site-footer{
  text-align:center;
  padding:26px 0;
  color:#8a8a8a;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .phone{font-size:18px}
  .nav{gap:4px;justify-content:flex-start;overflow:auto}
  .hero h1{font-size:40px}
  .offer-grid{grid-template-columns:1fr;gap:18px}
  .why-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .why-grid{grid-template-columns:1fr}
  .section-title{font-size:34px}
  .hero{min-height:520px}
}


/* ===== GALLERY PAGE ===== */

.page-hero{
  padding:90px 0 110px;
}
.page-title{
  text-align:center;
  font-size:52px;
  line-height:1.1;
  color:#fff;
  margin-bottom:16px;
}
.page-subtitle{
  text-align:center;
  color:#bdbdbd;
  margin-bottom:44px;
}

/* Gallery */
.gallery{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  margin-top:10px;
}
.gallery-stage{
  width:min(520px, 86vw);
  aspect-ratio: 1 / 1;
  border-radius:8px;
  overflow:hidden;
  background:#0b0b0b;
  box-shadow:0 20px 55px rgba(0,0,0,.45);
  cursor:pointer;
  position:relative;
}
.gallery-img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
  display:block;
}
.gallery-arrow{
  width:44px;
  height:44px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:34px;
  line-height:44px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
}
.gallery-arrow:hover{
  background:rgba(255,255,255,.14);
}
.gallery-dots{
  position:absolute;
  left:50%;
  bottom:-26px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
}
.gallery-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.25);
  cursor:pointer;
}
.gallery-dot.is-active{
  background:rgba(255,255,255,.65);
}

/* Lightbox */
.no-scroll{ overflow:hidden; }
.lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:none;
}
.lightbox.is-open{ display:block; }
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
}
.lightbox-inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.lightbox-stage{
  width:min(980px, 92vw);
  height:min(86vh, 820px);
  border-radius:12px;
  overflow:hidden;
  background:#000;
  box-shadow:0 24px 80px rgba(0,0,0,.6);
}
.lightbox-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.lightbox-arrow{
  width:54px;
  height:54px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:40px;
  line-height:54px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
  margin:0 18px;
}
.lightbox-arrow:hover{ background:rgba(255,255,255,.16); }

.lightbox-close{
  position:absolute;
  top:18px;
  right:20px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:34px;
  line-height:46px;
  cursor:pointer;
}
.lightbox-close:hover{ background:rgba(255,255,255,.16); }

.lightbox-dots{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}
.lightbox-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.25);
  cursor:pointer;
}
.lightbox-dot.is-active{
  background:rgba(255,255,255,.70);
}

/* Footer wide (podstránky) */
.footer-wide{
  padding:70px 0 36px;
  border-top:1px solid #1a1a1a;
  background:#0f0f0f;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:42px;
  align-items:start;
}
.footer-brand{
  display:inline-block;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  margin-bottom:18px;
}
.footer-text{
  color:#bdbdbd;
  max-width:760px;
}
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-contact-item{
  color:#e9e9e9;
  text-decoration:none;
}
.footer-contact-item:hover{ text-decoration:underline; }
.footer-facebook{
  margin-top:22px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.10);
}
.footer-facebook:hover{ background:rgba(255,255,255,.16); }
.footer-bottom{
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid #1a1a1a;
  color:#8a8a8a;
}

/* responsive */
@media (max-width: 900px){
  .page-title{ font-size:40px; }
  .gallery{ gap:16px; }
  .footer-grid{ grid-template-columns:1fr; }
  .lightbox-arrow{ margin:0 10px; }
}


/* ===== CATEGORY GRID (interier.php) ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.cat-card {
  display: block;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px 26px;
  text-decoration: none;
  color: #e9e9e9;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.cat-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.cat-icon {
  font-size: 32px;
  margin-bottom: 14px;
  opacity: .6;
}
.cat-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
.cat-card p {
  font-size: 13px;
  color: #9fa3a8;
  line-height: 1.6;
}

/* ===== PLACEHOLDER PAGE ===== */
.placeholder-notice {
  margin-top: 60px;
  padding: 28px 32px;
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 12px;
  text-align: center;
  color: #9fa3a8;
  font-size: 14px;
}
.placeholder-notice strong {
  display: block;
  font-size: 17px;
  color: #e9e9e9;
  margin-bottom: 8px;
}

/* ===== MOBILE NAV (hamburger) ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11,11,11,.98);
    border-top: 1px solid rgba(255,255,255,.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
  }
  .nav.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 20px; border-radius: 0; font-size: 15px; }
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,.03);
    margin: 0;
    padding: 4px 0;
  }
  .nav-item.is-open > .dropdown { display: block; }
  .nav-item:hover > .dropdown { display: none; }
  .dropdown a { padding: 10px 32px; font-size: 14px; }
  .phone { font-size: 15px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
}


/* ===== KALKULAČKA ===== */
.kalk-section { padding: 80px 0; }

.kalk {
  max-width: 860px;
  margin: 0 auto;
}

.kalk-selects {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.kalk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}

.kalk-field label {
  font-size: 13px;
  font-weight: 700;
  color: #9fa3a8;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kalk-field select,
.kalk-field input {
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #e9e9e9;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.kalk-field select:focus,
.kalk-field input:focus {
  border-color: rgba(255,255,255,.35);
}

.kalk-field select option {
  background: #1a1a1a;
  color: #e9e9e9;
}

.req { color: #e05555; }

.kalk-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.kalk-table {
  width: 100%;
  border-collapse: collapse;
}

.kalk-table th {
  background: rgba(255,255,255,.05);
  color: #9fa3a8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.kalk-table td {
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 8px 6px;
  text-align: center;
  color: #e9e9e9;
  font-size: 14px;
}

.kalk-input {
  width: 90px;
  padding: 7px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  color: #e9e9e9;
  font-size: 13px;
  text-align: center;
  outline: none;
}

.kalk-input:focus {
  border-color: rgba(255,255,255,.3);
}

.kalk-error {
  display: none;
  background: rgba(200,50,50,.25);
  border: 1px solid rgba(200,50,50,.4);
  color: #f08080;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}

.kalk-total {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  margin-bottom: 32px;
}

.kalk-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

#sendBtn {
  padding: 11px 26px;
  background: #2a7a3b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: 1px;
}

#sendBtn:hover { background: #1f5e2d; }

@media (max-width: 640px) {
  .kalk-selects { flex-direction: column; }
  .kalk-form { flex-direction: column; }
  .kalk-field { min-width: 100%; }
  #sendBtn { width: 100%; }
}
