/* ===============================
   ROOT / PREMENNÉ
   =============================== */
:root{
  --bg:#15171a;
  --card:#1f2226;
  --text:#ffffff;
  --muted:#cccccc;
  --line:#2c2f35;
  --accent:#2f7f2f;
  --container:1140px;
  --radius:10px;
}


/* ===============================
   RESET / BASE
   =============================== */

*{box-sizing:border-box}
html,body{
  height:100%;

}

body{
  margin:0;
  font-family:"Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit}

.container{
  width:min(var(--container), calc(100% - 30px));
  margin-inline:auto;
}


/* ===============================
   TOPBAR / HLAVIČKA
   =============================== */
.topbar{
  position:fixed !important;
  top:0; left:0; right:auto;
  width:100%;
  z-index:9999;
  background:#2f7f2f;
  border-bottom:1px solid rgba(0,0,0,.25);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  position: relative;
}

.brand{order:1}
.nav-menu{order:2}
.header-icons{order:3}
.nav-toggle{order:4}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-logo{
  height:55px;
  width:auto;
  display:block;
}

.brand-title{
  font-size:18px;
  font-weight:600;
  line-height:1.2;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-menu a{
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  color:rgba(255,255,255,.92);
}

.nav-menu a:hover{
  background:rgba(255,255,255,.12);
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  background:rgba(255,255,255,.10);
  border-radius:12px;
  padding:10px;
}

.nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  margin:5px 0;
  background:#fff;
  border-radius:2px;
}

.header-icons{
  display:flex;
  align-items:center;
  gap:0px;
}

.header-icons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
}

.header-icons a:hover{
  background:rgba(255,255,255,.15);
}

.header-icons img{
  width:20px;
  height:20px;
  display:block;
}



/* ===============================
   HERO
   =============================== */
.hero{
  position:relative;
  min-height:100vh;
  padding-top:326px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:url("../img/hero.webp") center/cover no-repeat;
  transform:scale(1.02);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.hero-inner{
  position:relative;
  z-index:2;
  padding:120px 0;
  max-width:1140px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.hero-title{
  margin:0;
  font-size:64px;
  font-weight:600;
}

.hero-subtitle{
  margin:0;
  font-size:48px;
  line-height:1.12;
  font-weight:700;

}

.hero-contact{
  font-size:18px;
  line-height:1.7;
  color:rgba(255,255,255,.9);
}

.hero-contact a{text-decoration:none}
.hero-contact a:hover{text-decoration:underline}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


/* ===============================
   BUTTONY
   =============================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
}

.btn-primary:hover{filter:brightness(1.05)}

.btn-ghost{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
}

.btn-ghost:hover{background:rgba(255,255,255,.12)}


/* ===============================
   SEKČNÝ ZÁKLAD
   =============================== */
.section{padding:30px 0}
.section-dark{background:var(--bg)}

.section-title{
  margin:0 0 26px;
  font-size:34px;
  font-weight:700;
}

.muted{color:rgba(255,255,255,.7)}


/* ===============================
   REZERVÁCIA / EMBED
   =============================== */
.embed{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#0f1012;
}

.embed iframe{
  width:100%;
  height:680px;
  border:0;
  display:block;
}


/* ===============================
   O MNE
   =============================== */
.about-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:18px;
  align-items:start;
}

.about-photo{
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  overflow:hidden;
  background:#0f1012;
}

.about-photo img{
  width:100%;
  height:auto;
  display:block;
}


/* ===============================
   SLUŽBY (PEDIKÚRA / MANIKÚRA)
   =============================== */
.cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:var(--radius);
  padding:18px;
}

.svc-card{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:14px;
  align-items:start;
}

/* Služby: zruš default top-marginy nadpisov v kartách */
.svc-card h3,
.svc-card h4{
  margin-top:0;
}


.svc-media{
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  overflow:hidden;
  background:#0f1012;
}

.svc-media img{
  width:100%;
  height:auto;
  object-fit:cover;
  aspect-ratio:4/3;
  display:block;
}



/* ===============================
   CENNÍKY
   =============================== */
.table-wrap{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.price-table{
  width:100%;
  border-collapse:collapse;
  background:rgba(255,255,255,.02);
  table-layout:fixed;
}

.price-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  line-height:1.55;
}

.price-table tr:last-child td{border-bottom:0}

.price-table td:first-child{width:60%}

.price-table td.price{
  width:40%;
  text-align:right;
  white-space:nowrap;
  font-weight:700;
}

.price-table tr.note td{
  font-style:italic;
  color:rgba(255,255,255,.75);
}


/* ===============================
   DARČEKOVÉ POUKAZY
   =============================== */
.voucher-grid{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:18px;
  align-items:center;
}

.voucher-photo{
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  overflow:hidden;
  background:#0f1012;
}

.voucher-photo img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}


/* ===============================
   GALÉRIA
   =============================== */
.gallery{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}

.g-item{
  display:block;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
}

.g-item img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .25s ease;
}

.g-item:hover img{transform:scale(1.03)}


/* ===============================
   KONTAKT
   =============================== */
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}

.contact-map{
  grid-column:1 / -1;
}

.contact-map .map{
  margin-top:0;
}

.contact-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:var(--radius);
  padding:18px;
}

.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.req{
  color:#c62828;
  font-weight:600;
}

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
}

input,textarea{
  background:#0f1012;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:12px;
  color:#fff;
}

.full{grid-column:1/-1}

.map{
  margin-top:14px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}

.map iframe{
  width:100%;
  height:320px;
  border:0;
}


/* ===============================
   FOOTER
   =============================== */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:22px 0;
  background:#0f1012;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
}


/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 980px){
  .cards{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
  .voucher-grid{grid-template-columns: 1fr;}
  .voucher-photo{max-width: 100%;}
  .voucher-photo img{width: 100%; height: 220px;}
}

@media (max-width: 720px){
  /* ===== HLAVIČKA (mobile) ===== */
  .nav-inner{
    justify-content:flex-start;
    gap:4px;
    flex-wrap:nowrap;
  }

  .brand{
    flex:1;
    min-width:0;
  }

  .brand-logo{
    height:40px;
  }

.brand-title{
  font-size:14px;
  line-height:1.15;

  white-space:normal;
  overflow:hidden;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2; /* max 2 riadky */
}

  .header-icons{
    flex:0 0 auto;
    margin-left:auto; /* ikony vpravo od brand */
  }

  .nav-toggle{
    display:flex; /* burger úplne vpravo */
    flex:0 0 auto;
    margin-left:0px;
    flex-direction:column;        /* KRITICKÉ */
    justify-content:center;       /* aby boli pekne v strede */
   align-items:center;          /* aby mali plnú šírku */
   gap:6px;
  }

  .nav-toggle span{
    margin:0;
  }

  /* menu vždy cez celý viewport (žiadny "roh") */
  .nav-menu{
    position:fixed;
    top:72px;           /* výška topbaru na mobile */
    left:0;
    right:0;
    width:100%;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:10px 12px 14px;
    background:rgba(20,22,25,.96);
    border-bottom:1px solid rgba(255,255,255,.10);
    z-index:10000;
    box-sizing:border-box;
    max-width:100%;
    overflow-x:hidden;
  }

  .nav-menu.is-open{display:flex}

  .nav-menu a{
    width:100%;
    padding:10px 12px;
  }

  /* ===== HERO (mobile) ===== */
  .hero{
  padding-top:0px;   /* prípadne 140px – dolaď podľa oka */
  min-height:auto;
  }
  .hero-title{
    font-size:36px;
  }
  .hero-subtitle{
    font-size:28px;
  }
  .hero-contact{
    font-size:16px;
  }

  /* ===== OBSAH (mobile) ===== */
  .svc-card{grid-template-columns:1fr}
  .section{padding:15px 0;}

  /* Kontakt/form: nech nejde za roh */
  .form{grid-template-columns:1fr}
  .captcha-box{width:100%}
  .contact-card{min-width:0}
  .contact-lines{word-break:break-word}
}

@media (max-width:420px){
  .hero-subtitle{font-size:32px}
  .gallery{grid-template-columns:1fr}
}







/* CONTACT – overlay modal */
.modal{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.modal.show{ display: flex; }
.modal-dialog{
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.modal-dialog p{
  margin: 0 0 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #374151;
}
.modal-dialog.success p{ color:#1b5e20; }
.modal-dialog.error p{ color:#9a1b1b; }

.modal-close{
  display: inline-block;
  padding: 10px 16px;
  font: inherit;
  border-radius: 8px;
  border: 0;
  background: #111; color:#fff;
  cursor: pointer;
}
.modal-close:focus{ outline: 2px solid #111; outline-offset: 2px; }

/* mobile spacing */
@media (max-width:767px){
  .modal-dialog{ padding:16px 14px; }
}
