:root{
  --brand:#2dbb5a;
  --text:#0f172a;
  --muted:#4b5563;
  --white:#fff;
  --bg:#f7f9fb;
  --container:1200px;
  --radius:14px;

  --headerH:72px;
  --heroFocusY:35%;
  --space2cm:80px;
}

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

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

.container{max-width:var(--container); margin:0 auto; padding:0 18px}

/* ================= HEADER ================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--white);
  border-bottom:1px solid #e5e7eb;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--headerH);
  gap:12px;
  flex-wrap:nowrap;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
  min-width:0;
}
.brand__logo{width:40px; height:40px; border-radius:6px; object-fit:cover}
.brand__name{
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:60vw;
}

/* Navigation */
.nav{display:flex; gap:22px}
.nav__link{
  text-decoration:none;
  color:#111827;
  opacity:.8;
  font-weight:700;
  padding:.6rem .9rem;
  border-radius:.5rem;
  display:inline-block;
}
.nav__link:hover{opacity:1}
.nav__link.is-active{color:var(--brand); opacity:1}

/* Desktop vs Mobile menu */
.nav--mobile{display:none}
.nav--desktop{display:flex}

/* Mobile dropdown menu */
.nav--mobile details{position:relative}
.nav--mobile summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  font-weight:800;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(0,0,0,0.08);
  white-space:nowrap;
}
.nav--mobile summary::-webkit-details-marker{display:none}

.navmenu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:min(260px, 90vw);
  background:#fff;
  border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
  padding:10px;
  z-index:9999;
}
.navmenu .nav__link{
  display:block;
  padding:10px 10px;
  border-radius:10px;
}
.navmenu .nav__link:hover{
  background:rgba(0,0,0,0.06);
}

@media (max-width:900px){
  .nav--desktop{display:none}
  .nav--mobile{display:block}
}

@media (max-width:520px){
  .brand__name{max-width:56vw}
}

/* ================= HERO ================= */

.hero{
  position:relative;

  min-height:90vh;
  min-height:90svh;

  display:flex;
  align-items:center;

  background-image:url("img/bos.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:50% 65%;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.5));
  pointer-events:none;
}

.hero__content{
  position:relative;
  color:var(--white);
  padding:56px 0;
}

.hero h1{
  font-size:clamp(28px,5.5vw,58px);
  line-height:1.1;
  margin:0;
}

/* ================= SUBTITLE ================= */

.subtitle{
  font-size:1.5rem;
  font-weight:600;
  color:#18991a;
  margin-top:12px;
  max-width:760px;
}

/* ================= CONTACT ================= */

.contact{
  background:#47b255;
  color:#f7fff8;
  padding:60px 0;
  margin-top:20px;
}

.contact__grid{
  display:grid;
  gap:32px;
  grid-template-columns:1.1fr 1fr;
}

.contact__list{list-style:none; padding:0; margin:16px 0 0}
.contact__list li{margin:10px 0; font-size:18px}

.contact .link,
.contact a[href^="mailto:"]{
  color:#fff !important;
  text-decoration:underline;
  font-weight:800;
}

/* Sociálne ikonky */
.contact-social{
  display:flex;
  gap:12px;
  margin-top:8px;
  flex-wrap:wrap;
}

.contact-social__link{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  text-decoration:none;
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.20);
  font-size:20px;
}

.contact-social__link--fb{color:#1877F2}
.contact-social__link--yt{color:#FF0000}
.contact-social__link--ig{color:#F58529}
.contact-social__link--tt{color:#111}

.contact-social__link:hover{
  background:rgba(255,255,255,0.22);
}

/* ================= FORM ================= */

.contact__form{
  background:rgba(255,255,255,.08);
  border:1px dashed rgba(255,255,255,.5);
  border-radius:12px;
  padding:18px;
}
.contact__form label{display:block; font-weight:700; margin:8px 0 6px}
.contact__form input,
.contact__form textarea{
  width:100%;
  padding:12px 14px;
  border-radius:8px;
  border:0;
  outline:none;
  background:#fff;
  color:#0f172a;
  font-family:inherit;
  font-size:16px;
  box-shadow:0 1px 0 rgba(0,0,0,.06) inset;
}

.btn{
  margin-top:10px;
  display:inline-block;
  padding:12px 18px;
  border:0;
  border-radius:10px;
  background:#fff;
  color:#111827;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{filter:brightness(0.98)}

/* ================= FOOTER ================= */

.site-footer{
  padding:24px 0;
  text-align:center;
  color:#64748b;
  background:#f2f6f9;
  border-top:1px solid #e5e7eb;
  margin-top:24px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:980px){
  .contact__grid{grid-template-columns:1fr}
}

/* ===== GALLERY FIX – 5 fotiek v rade ===== */
.gallery-grid{
  display:grid !important;
  gap:22px !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
}

.gallery-grid figure{
  margin:0 !important;
  border-radius:12px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.06) !important;
  box-shadow:0 6px 18px rgba(0,0,0,.08) !important;
}

.gallery-grid img{
  display:block !important;
  width:100% !important;
  height:240px !important;
  object-fit:cover !important;
}

@media (max-width:1200px){
  .gallery-grid{ grid-template-columns:repeat(4, 1fr) !important; }
}
@media (max-width:900px){
  .gallery-grid{ grid-template-columns:repeat(3, 1fr) !important; }
}
@media (max-width:640px){
  .gallery-grid{ grid-template-columns:repeat(2, 1fr) !important; }
  .gallery-grid img{ height:200px !important; }
}
@media (max-width:420px){
  .gallery-grid{ grid-template-columns:1fr !important; }
  .gallery-grid img{ height:220px !important; }
}

/* ===== ONAS FIX – zmenšenie obrázkov na pôvodnú veľkosť ===== */

.duo{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:28px !important;
  align-items:center !important;
}

.duo figure{ margin:0 !important; }

.duo img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:360px !important;
  object-fit:cover !important;
  border-radius:12px !important;
  box-shadow:0 10px 30px rgba(0,0,0,.12) !important;
}

@media (max-width:980px){
  .duo{ grid-template-columns:1fr !important; }
  .duo img{ height:320px !important; }
}

.contact-social {
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ===== CREATOR PAGE ONLY ===== */

.howto-flex{
  display:flex;
  align-items:flex-start;
  gap:24px;
}

.howto-text{
  flex:1 1 auto;
  min-width:0;
}

.howto-image{
  flex:0 0 auto;
}

.howto-image img{
  display:block;
  width:auto;
  max-width:260px;
  height:auto;
  border-radius:12px;
}

/* len pre mobile v creator.html */
@media (max-width:768px){
  .howto-flex{
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }

  .howto-image{
    width:100%;
    display:flex;
    justify-content:center;
  }

  .howto-image img{
    width:auto;
    max-width:100%;
    height:auto;
  }
}