
@font-face {
    font-family: 'Great Vibes';
    src: url('fonts/Clattering.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Great Vibes', cursive !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
  transition: background 0.3s, color 0.3s;
}

body.dark-mode {
  background: #121212;
  color: #eee;
}

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

body.dark-mode header {
  background: #1f1f1f;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Great Vibes', cursive;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: #222;
  display: block;
}

.logo .lucley {
  font-size: 48px;
  color: #222;
}

.logo .art {
  font-size: 36px;
  color: #222;
  position: relative;
  left: 65px;
  top: -5px;
}

.logo .art {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  margin-left: 8px;
}

body.dark-mode .logo {
  color: #fdd835;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #fdd835;
}

body.dark-mode nav ul li a {
  color: #eee;
}

body.dark-mode nav ul li a:hover {
  color: #ffeb3b;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  position: relative;
  width: 60px;
  height: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 34px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

input:checked + .slider {
  background: #666;
}

.emoji {
  position: absolute;
  top: 3px;
  font-size: 20px;
  pointer-events: none;
}

.sun {
  left: -25px;
}

.moon {
  right: -25px;
}

main {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
    font-size: 3em;
  font-size: 48px;
  margin-bottom: 20px;
}

.hero .highlight {
  color: #fdd835;
}

.intro {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 24px;
  font-size: 16px;
  background: #222;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn:hover {
  background: #444;
}

body.dark-mode .btn {
  background: #fdd835;
  color: #222;
}

.gallery-preview {
  margin-top: 80px;
}

.gallery-preview h2 {
    font-size: 2.5em;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.preview-images {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.preview-images img {
  border-radius: 10px;
  transition: transform 0.3s;
}

.preview-images img:hover {
  transform: scale(1.05);
}

footer {
  margin-top: 100px;
  padding: 30px 0;
  text-align: center;
  background: #f2f2f2;
}

body.dark-mode footer {
  background: #1a1a1a;
}


.carousel-showcase {
  overflow: hidden;
  background: #000;
  padding: 40px 0;
  margin-top: 40px;
}

.carousel-track {
  display: flex;
  gap: 30px;
  will-change: transform;
  transition: transform 0.2s ease;
}

.carousel-track img {
  height: 260px;
  width: auto;
  border-radius: 12px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

body.dark-mode .logo .lucley,
body.dark-mode .logo .art {
  color: white;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-track {
  display: flex;
  gap: 30px;
  animation: scroll 60s linear infinite;
  width: max-content;
}


.contact-intro {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
  color: #333;
  opacity: 1;
  transition: color 0.3s ease;
}

body.dark-mode .contact-intro {
  color: #ddd;
}

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a:hover {
  color: #fdd835;
}

.social-icon {
  width: 24px;
  height: 24px;
}

body.dark-mode .social-links a {
  color: #eee;
}

body.dark-mode .social-links a:hover {
  color: #ffeb3b;
}

.contact-form {
  margin-top: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  padding: 12px;
  background-color: #222;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #444;
}

body.dark-mode .contact-form button {
  background: #fdd835;
  color: #222;
}


/* Yellow section headings in dark mode */
body.dark-mode 

/* Remove blue and underline from email/phone links */
#kontakt a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#kontakt a:hover {
  color: #fdd835;
  text-decoration: underline;
}

body.dark-mode #kontakt a {
  color: #eee;
}

body.dark-mode #kontakt a:hover {
  color: #ffeb3b;
}


section h2 {
    font-size: 2.5em;
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 600;
}

body.dark-mode section h2 {
    font-size: 2.5em;
  color: #fdd835;
}


#kontakt a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#kontakt a:hover {
  color: #fdd835;
  text-decoration: underline;
}


/* Social media icon hover effect (yellow in both modes, no underline) */
#kontakt a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
#kontakt a:hover {
  color: #fdd835;
  text-decoration: none;
}

/* Ensuring light mode also respects this hover color */
body:not(.dark-mode) #kontakt a:hover {
  color: #fdd835;
}


/* Final correction for section offset */
section {
  scroll-margin-top: 120px;
}

/* Galerie grid */
#gallery-container {
  text-align: center;
  padding: 20px;
}

#gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  justify-items: center;
}

#gallery-grid img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#gallery-grid img:hover {
  transform: scale(1.05);
}

/* Tlačítko zobrazit více */
#load-more {
  margin-top: 20px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

#lightbox img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#lightbox .prev, #lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
}

#lightbox .prev {
  left: 0;
}

#lightbox .next {
  right: 0;
}

#lightbox .prev:hover, #lightbox .next:hover, #lightbox .close:hover {
  color: #ccc;
}


.preview-images img.zoomable {
  transition: transform 0.3s ease;
  cursor: pointer;
  max-width: 300px;
  margin: 10px;
}

.preview-images img.zoomable:hover {
  transform: scale(1.1);
}

.art-quote {
  font-style: italic;
  color: #555;
  margin: 20px;
  text-align: center;
  font-size: 1.1em;
}

.lightbox {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.lightbox .close {
  top: 20px;
  right: 30px;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

.hidden {
  display: none;
}


/* Enhanced art quote styling */
.art-quote {
  font-style: italic;
  color: #f0f0f0;
  background-color: #333;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  border-left: 5px solid #ccc;
  font-size: 1.5em;
  text-align: center;
  border-radius: 10px;
}

/* Light mode override */
@media (prefers-color-scheme: light) {
  .art-quote {
    color: #333;
    background-color: #f9f9f9;
    border-left-color: #999;
  }
}


/* Simplified clean quote styling */
.art-quote {
  font-style: italic;
  color: #444;
  font-size: 1.4em;
  text-align: center;
  margin: 30px auto;
  max-width: 80%;
}

/* Dark mode contrast */
@media (prefers-color-scheme: dark) {
  .art-quote {
    color: #ddd;
  }
}



}


#filter-controls {
  margin: 20px 0;
  text-align: center;
}

#filter-controls label {
  margin: 0 10px;
  font-weight: bold;
}


.gallery-img {
  max-width: 300px;
  margin: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-img:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

#gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px;
}

#filter-controls {
  margin: 20px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#filter-controls label {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

#filter-controls label:hover {
  background: #ddd;
}


#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* Dark mode checkbox styling */
@media (prefers-color-scheme: dark) {
  #filter-controls label {
    background: #444;
    color: #f0f0f0;
  }

  #filter-controls label:hover {
    background: #666;
  }
}

/* Moderní vzhled obrázků v galerii */
.gallery-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 10px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

#gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

#filter-controls {
  margin: 30px auto 10px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

#filter-controls label {
  background: #eaeaea;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

#filter-controls input[type="checkbox"] {
  margin-right: 6px;
}


/* Jasná a kontrastní barva textu checkboxů pro světlo i tmu */
#filter-controls label {
  background: #e0e0e0;
  color: #222;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#filter-controls label:hover {
  background: #ccc;
}

@media (prefers-color-scheme: dark) {
  #filter-controls label {
    background: #2d2d2d;
    color: #fff;
  }

  #filter-controls label:hover {
    background: #444;
  }
}

#filter-controls input[type="checkbox"] {
  margin-right: 8px;
}

/* Moderní layout galerie */
#gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 30px;
  justify-items: center;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}


/* Moderní galerie - obdélníkové a kompaktní zobrazení */
#gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 20px;
  justify-items: center;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Nový vzhled filtrů */
#filter-controls {
  margin: 20px auto;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
}

#filter-controls label {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  color: #222;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95em;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

#filter-controls label:hover {
  background: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  #filter-controls label {
    background: #333;
    color: #fff;
    border-color: #555;
  }

  #filter-controls label:hover {
    background: #444;
  }
}

#filter-controls input[type="checkbox"] {
  margin-right: 8px;
}


/* Lightbox s přepínáním */
#custom-lightbox {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
}

#custom-lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}


/* Animovaný přechod pro lightbox obrázky */
.lightbox-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#custom-lightbox.active .lightbox-img {
  opacity: 1;
}

/* Styl pro checkboxy s ikonami */
#filter-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 24px;
  background: #f3f3f3;
  border: 1px solid #ccc;
  transition: background 0.3s ease;
}

#filter-controls img.icon {
  width: 20px;
  height: 20px;
}

@media (prefers-color-scheme: dark) {
  #filter-controls label {
    background: #2c2c2c;
    border-color: #555;
    color: #fff;
  }
}

/* Tlačítko Zobrazit více */
#load-more {
  display: block;
  margin: 20px auto 40px auto;
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  font-size: 1em;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#load-more:hover {
  background-color: #555;
}


/* Nečtvercové miniatury – obdélníkový poměr */
.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Lightbox pozadí a viditelné šipky */
#custom-lightbox {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
}

#custom-lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#custom-lightbox.active .lightbox-img {
  opacity: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: white;
  font-size: 2.8rem;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}


/* Zobrazení miniatur v přirozeném rozměru bez čtverce */
.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  aspect-ratio: auto;
}

/* Vylepšené lightbox pozadí – průhledné mimo obrázek */
#custom-lightbox {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 25, 25, 0.7);  /* průhlednější pozadí */
  z-index: 9999;
  backdrop-filter: blur(4px);         /* jemné rozmazání podkladu */
}

#custom-lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#custom-lightbox.active .lightbox-img {
  opacity: 1;
}

/* Tlačítka v lightboxu */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}


/* Lightbox styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1001;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%%;
  height: 100%%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%%;
  max-height: 80%%;
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* Navigační šipky */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  user-select: none;
  transition: 0.3s;
  z-index: 1002;
}

.next {
  right: 20px;
}

.prev {
  left: 20px;
}

.prev:hover, .next:hover {
  color: #ccc;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%%; height: 100%%;
  background: rgba(0,0,0,0.9);
  text-align: center;
  padding-top: 60px;
}

.lightbox-content {
  max-width: 80%%;
  max-height: 80%%;
}

.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.close { top: 20px; right: 30px; }
.prev { top: 50%%; left: 30px; transform: translateY(-50%%); }
.next { top: 50%%; right: 30px; transform: translateY(-50%%); }

.close:hover, .prev:hover, .next:hover {
  color: #ccc;
}


/* Masonry styl galerie */
.moje-tvorba-gallery {
  column-count: 3;
  column-gap: 16px;
  padding: 20px;
}

@media (max-width: 900px) {
  .moje-tvorba-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .moje-tvorba-gallery {
    column-count: 1;
  }
}

.moje-tvorba-gallery img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.moje-tvorba-gallery img:hover {
  transform: scale(1.02);
}


/* Přímý sloupcový layout pro galerie – bez čtverců, bez mezer */
.moje-tvorba-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 40px;
}

.moje-tvorba-gallery img {
  width: auto;
  height: 300px;
  object-fit: cover;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.moje-tvorba-gallery img:hover {
  transform: scale(1.015);
}


/* Vizuálně organizovaný layout galerie */
.moje-tvorba-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 20px 10px 40px;
}

.moje-tvorba-gallery img {
  height: 280px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.moje-tvorba-gallery img:hover {
  transform: scale(1.015);
}


/* Grid-based layout pro perfektní zarovnání obrázků */
.moje-tvorba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  padding: 30px 20px;
}

.moje-tvorba-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.moje-tvorba-gallery img:hover {
  transform: scale(1.01);
}


/* Styl pro filtry */
.gallery-filters {
  text-align: center;
  margin: 20px 0 10px;
}

.gallery-filters button {
  padding: 10px 18px;
  margin: 5px;
  background-color: #eee;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background-color: #333;
  color: #fff;
}


/* Vizuální sjednocení velikosti pouze pro obrázky z Malba_na_zed */
.moje-tvorba-gallery img[data-category="Malba_na_zed"] {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}


/* Sjednocení velikosti a layoutu pro kategorie: Malba na zeď, Malba olejem, Tužkou */
.moje-tvorba-gallery img[data-category="Malba_na_zed"],
.moje-tvorba-gallery img[data-category="Malba_olejem"],
.moje-tvorba-gallery img[data-category="Tuzkou"] {
  max-height: 300px;
  width: auto;
  object-fit: contain;
  margin: 4px;
}


/* Odebrání mezer mezi obrázky u těchto tří kategorií */
.moje-tvorba-gallery img[data-category="Malba_na_zed"],
.moje-tvorba-gallery img[data-category="Malba_olejem"],
.moje-tvorba-gallery img[data-category="Tuzkou"] {
  margin: 0;
}


/* Kompletní odstranění mezery mezi obrázky v grid layoutu pro dané kategorie */
.gallery-active-Malba_na_zed .moje-tvorba-gallery,
.gallery-active-Malba_olejem .moje-tvorba-gallery,
.gallery-active-Tuzkou .moje-tvorba-gallery {
  gap: 0 !important;
}


/* Kompletní odstranění mezery mezi obrázky v těchto kategoriích */
.moje-tvorba-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.moje-tvorba-gallery img[data-category="Malba_na_zed"],
.moje-tvorba-gallery img[data-category="Malba_olejem"],
.moje-tvorba-gallery img[data-category="Tuzkou"] {
  margin: 0;
  padding: 0;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}


/* OBNOVA GRID layoutu galerie */
.moje-tvorba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

/* Jen sjednocení velikostí u 3 kategorií */
.moje-tvorba-gallery img[data-category="Malba_na_zed"],
.moje-tvorba-gallery img[data-category="Malba_olejem"],
.moje-tvorba-gallery img[data-category="Tuzkou"] {
  height: auto;
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
}


/* Zmenšení a zarovnání obrázků na stejnou velikost jako Aquarell/Karikatury */
.moje-tvorba-gallery img[data-category="Malba_na_zed"],
.moje-tvorba-gallery img[data-category="Malba_olejem"],
.moje-tvorba-gallery img[data-category="Tuzkou"] {
  height: 300px;
  width: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}


/* Přesné zarovnání obrázků v gridu pro požadované kategorie */
.moje-tvorba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  align-items: start;
}

/* Reset vnitřních okrajů pro obrázky */
.moje-tvorba-gallery img {
  margin: 0;
  padding: 0;
  display: block;
}


/* Hover efekt pro obrázky */
.moje-tvorba-gallery img {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.moje-tvorba-gallery img:hover {
  transform: scale(1.05);
}

.active-filter { background-color: #333; color: #fff; border-radius: 4px; }

/* Modern Blog Cards Section */
.modern-blog-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.modern-blog-cards .blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
  width: 300px;
  transition: transform 0.3s;
}

.modern-blog-cards .blog-card:hover {
  transform: translateY(-5px);
}

.modern-blog-cards .blog-card h3 {
    font-size: 2em;
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #222;
}

.modern-blog-cards .blog-card p {
  font-size: 0.95em;
  color: #555;
}

.modern-blog-cards .meta {
  font-size: 0.8em;
  color: #999;
  margin-bottom: 10px;
}

.modern-blog-cards .btn-read {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85em;
  transition: background-color 0.3s ease;
}

.modern-blog-cards .btn-read:hover {
  background-color: #444;
}

.nav {
    font-family: 'Great Vibes', sans-serif;
}

.nav a {
    font-size: 1.6em;
}


/* Styl pro sociální ikonky */
.social-icon {
  font-size: 28px;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
  vertical-align: middle;
}
.social-icon:hover {
  transform: scale(1.2);
}
.fa-facebook-f {
  color: #3b5998;
}
.fa-instagram {
  color: #E1306C;
}


.logo {
  font-family: 'Dancing Script', cursive !important;
}
