/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  font-family:"Saira", sans-serif;
  background: #f8f8f8;
  color: #333;
  line-height: 1.8;
  overflow-x: hidden; /* prevent right-side scroll */
  overflow-y: auto;
}
// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.saira-<uniquifier> {
  font-family: "Saira", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: none;
}
#gallery,
#akt {
  font-size: 36px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 19px;
  color: #ffffff;
}
#gallery,
#Portréty {
  font-size: 36px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 19px;
  color: #000000;
}
#gallery,
#Ostatní {
  font-size: 36px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 19px;
  color: #000000;
}
header.scrolled {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
}
/* Logo */
.logo h1 {
  font-family: "Montserrat", sans-serif; /* nebo jiný moderní font */
  font-size: 32px;
  font-weight: 700;
  margin: 0;          /* remove extra space below text */
  line-height: 1;     /* keep lines close together */
  color: #000000; /* nebo #fff pokud máš tmavé pozadí */
  letter-spacing: 1px; /* rozestupy mezi písmeny */
  text-transform: uppercase; /* velká písmena */
}

/* Navigation */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.social-icon {
  display: flex;
  align-items: center;
  
}

.instagram-icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  box-sizing: border-box;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
}

.instagram-icon:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}
.nav-menu a {
  color: #ffffff; /* white on top of image */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-shadow: 0 0 8px rgba(0,0,0,0.7);
  
}
.social-icon {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.social-icon img:hover {
  transform: scale(1.1);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
  text-shadow: 0 0 8px #000000;
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: 100vh; /* výška okna */
  overflow: hidden;
  margin: 0px 0 0px 0; /* overlap header */
  position: center;
  z-index: 1;
}

.hero-image img {
  width:100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 5px 9px rgba(0,0,0,0.15);
}

/* Main padding so content isn't hidden under header */
main {
  padding-top: 30px;
  background-color: white
}

/* Gallery */
.gallery {
  padding: 61px 40px;
  text-align: left;
  background: #ffffff;
  color: #222;
}
.gallery.akt {
  background-color: #000000; /* jemná fialová, vhodná pro jemnější styl */
  color: #fdfdfd
}
.gallery h1 {
  font-size: 2.2em;
  margin-bottom: 40px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}
/* About Section */
.about {
  padding: 60px 40px;
  background-color: #ffffff;
  text-align: center;
}

.about h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-container img {
  width: 300px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
  background: none;      /* zruší pozadí */
  border: none;          /* zruší rámeček (volitelné) */
  border-radius: 0;      /* ostré rohy, pokud byly zakulacené */
}

.about-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.about-text p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}

/* Footer */
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}
/* Lightbox modal styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  pointer-events: none;
}

.lightbox .close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 11000;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: #ffd700;
}

/* Navigation buttons */
.nav-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 48px;
  padding: 10px 20px;
  cursor: pointer;
  user-select: none;
  z-index: 11000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-button.prev {
  left: 20px;
}

.nav-button.next {
  right: 20px;
}

/* Skryje scroll bar na všech prohlížečích */
html, body {
  overflow-y: scroll; /* povolí scroll, ale skrývá lištu pomocí stylů níže */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge Legacy */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge (nový) */
}

* {
  box-sizing: border-box;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  position: relative;
}
#kontakt {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  padding: 12px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}
#sliding-footer {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
  transition: bottom 0.5s ease;
  z-index: 999;
  text-align: center;
}

#sliding-footer.visible {
  bottom: 0;
}

#sliding-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

#sliding-footer a:hover {
  text-decoration: underline;
}

.separator {
  color: #888;       /* barva oddělovače */
  margin: 0 8px;     /* mezera okolo čárky */
}