
/*
Theme Name: Dobré Fotky – Autoload (White)
Author: Vlado Anjel
Description: Portfólio téma s bielym pozadím galérie, automaticky načítava obrázky z wp-content/uploads/dobrefotky/. Fonty Manrope + Inter.
Version: 1.2.0
Text Domain: dobrefotky-autoload-white
*/
/* Lightbox Close Button Position */
.close-btn{
  position: fixed;
  top: 36px;          /* o kúsok nižšie */
  right: 30px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 999999;
  background: rgba(0,0,0,.4);
  border-radius: 50%;
  padding: 6px 10px;
  line-height: 1;
}

/* keď si prihlásený (WordPress admin bar ~32px) */
body.admin-bar .close-btn{
  top: 64px;
}

/* Mobile – nechaj vyššie */
@media (max-width: 768px){
  .close-btn{
    top: 10px;
    right: 10px;
  }
}
/* --- Kontakt modal – typografia a spacing --- */
.modal-card{
  max-width: clamp(480px, 48vw, 760px);
  padding: 28px 28px 24px;
  border-radius: 14px;
}

#contactTitle{
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 12px;
}

.contact-lines{
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.contact-lines p{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.contact-lines a{
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.35);
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.contact-lines a:hover{
  border-bottom-color: rgba(255,255,255,.9);
  opacity: .95;
}

/* jemný divider pred O mne */
.about-note{
  margin: 14px 0 0;
  padding-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.12);
}

/* mobilné doladenie */
@media (max-width: 640px){
  .modal-card{ max-width: 92vw; padding: 22px 18px; }
  .about-note{ font-size: 14px; }
}
.modal-card {
  font-family: "Inter", sans-serif;
  letter-spacing: .2px; /* jemný luxury spacing */
  line-height: 1.45; /* príjemné čítanie */
}

/* Nadpis */
#contactTitle {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .4px;
}

/* Linky */
.modal-card a {
  color: #9ecbff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}
.modal-card a:hover {
  color: #cfe7ff;
  text-decoration: underline;
}

/* Oddelenie textu o tebe */
.about-note {
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 12px;
  opacity: .92;
}
/* Footer */
.site-footer{
  width:100%;
  padding:18px 26px;
  font-family:"Inter", sans-serif;
  font-size:13px;
  background:#000;
  color:#bfbfbf;
  border-top:1px solid rgba(255,255,255,0.07);
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.site-footer .footer-inner{
  max-width:1200px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.footer-left{
  line-height:1.4;
}

.footer-right{
  display:flex;
  gap:14px;
}

.footer-icon{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  opacity:0.75;
  transition:0.2s;
  font-size:14px;
}

.footer-icon:hover{
  opacity:1;
}

/* Mobile footer spacing */
@media(max-width:768px){
  .site-footer{
    font-size:12px;
    padding:16px 18px;
  }
  .footer-inner{
    flex-direction:column;
    text-align:center;
  }
}
/* Brand intro – len meno a "fotograf" */
.topbar .brand { position: relative; }

.topbar .brand-name{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}

.topbar .brand-role{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: .35s;
  margin-top: 2px;
  letter-spacing: .3px;
  font-weight: 500;
}

/* keď sa pridá trieda, oboje sa jemne „dovyrolujú“ */
.topbar .brand.intro-play .brand-name{
  opacity: 1;
  transform: none;
}
.topbar .brand.intro-play .brand-role{
  opacity: .92;   /* cieľová viditeľnosť pre podtitulok */
  transform: none;
}
/* --- Anti-download protections --- */
.protect img,
#grid img,
#lightboxImage{
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Transparent shield over lightbox */
.lightbox-stage{
  position: relative;
}
.lightbox-shield{
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 5;
}

/* ensure arrows & close stay above */
.nav, .close-btn{
  z-index: 10 !important;
}
