.mobile-header {
  display: none;
  background: url('https://hudebni-atelier.cz/wp-content/uploads/2025/07/slider_hudebni.png') no-repeat center/cover;
  width: 100%;
  height: 300px; /* nebo 400px podle toho, co se ti líbí */
}
/* Vycentrování loga v šabloně Corp */
.site-header.centered .site-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo doprostřed */
.site-header.centered .site-branding {
  margin: 0 auto;
  float: none;
}

/* Menu pod logem, centrované */
.site-header.centered .main-navigation {
  margin-top: 10px;
  text-align: center;
}

.site-header.centered .main-navigation ul {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.main-navigation ul li a {
  color: #2d2d2d;
  display: block;
  font-weight: 700;
  letter-spacing: 1px;
  padding-bottom: 5px;
  font-size: 17px;
}

.page .entry-header {
  margin-top: 40px;
}

.custom-slider {
  position: relative;
		  
  width: 100vw;
   height: 100vh;
		min-height: 600px;
  overflow: hidden;
  font-size: 0;
 
}

.custom-slider img.background {
  position: relative;
  width: 100vw;
  height: auto;
}

.custom-slider img {
  position: absolute;
  display: block;
  max-width: none;
}
.custom-slider .background {
  position: relative;
  width: 100%;
  height: auto;
}
.custom-slider .logo {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}
.custom-slider .giraffe {
  bottom: 0;
  left: -400px;
  width: 450px;
  animation: slideIn 1.2s ease-out 2s forwards;
}

@keyframes slideIn {
  0% {
    left: -400px;
    bottom: 0%;
  }
  100% {
    left: 68%;
    bottom: 8%;
  }
}


/* Bílá barva pozadí pro hlavní obsah */
.page-id-2683 .site-content {
  background-color: #ffffff !important;
}

/* Schování bočních okrajů, pokud tam jsou */
.page-id-2683 .corp-container {
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 1200px !important; /* nebo kolik chceš */
}


.site-content {
    padding-top: 0 !important;
}

.site-header {
  background: #fff;
  border-bottom: 0px solid #e6e6e6;
  padding: 25px 0;
    padding-top: 25px;
    padding-bottom: 25px;
  position: relative;
  width: 100%;
  z-index: 999;
}

.custom-slider {
    margin-top: -30px; /* experimentuj s hodnotou */
}


/* topbar */

.custom-top-bar {
  background-color: #c9e8f2;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #222;
  padding: 8px 0;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right a {
  margin-left: 16px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.top-bar-right a:hover {
  text-decoration: underline;
}

.custom-top-bar {
  background-color: #c9e8f2;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #222;
  padding: 8px 0;
  position: relative;
  z-index: 9999; /* Ať je nad sticky headerem */
}

.site-header.sticky {
  top: 40px; /* posune header o výšku top baru */
}

.site-branding img {
  margin-top: 15px;     /* posune dolů */
  margin-left: 10px;    /* posune doprava */
  max-width: 180px;     /* menší logo, když je potřeba */
}

.custom-top-bar {
  background-image: url('https://songbook.qodeinteractive.com/wp-content/uploads/2020/07/h2-top-menu-img.jpg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center bottom;
  background-color: transparent !important;
  min-height: 40px;
}

#fullscreen-search {
  display: none;
}

#search-close-button {
  display: none !important;
}


.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1944px;
  height: 420px;
  margin: 0 auto;
  overflow: hidden;
}

.custom-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.custom-slider.active {
  opacity: 1;
  z-index: 1;
}

.custom-slider img {
  position: absolute;
  max-height: 100%;
  max-width: 100%;
}

.background {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0; left: 0;
}

.logo {
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 2s forwards 1s;
}

.giraffe {
  bottom: 0;
  left: -300px;
  animation: slideInLeft 2s forwards 2s;
}

.shark {
  bottom: -300px;
  left: 25%;
  animation: slideInUp 2s forwards 1s;
}

.mouse {
  bottom: -300px;
  left: 60%;
  animation: slideInUp 2s forwards 2.5s;
}

.cat {
  bottom: -300px;
  left: 40%;
  animation: slideInUp 2s forwards 1s;
}

.notes {
  top: 50px;
  right: 20px;
  animation: float 3s infinite ease-in-out 3s;
}

/* ANIMACE */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideInLeft {
  to { left: 20px; }
}

@keyframes slideInUp {
  to { bottom: 20px; }
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}


.custom-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-slider.active {
  opacity: 1;
  z-index: 1;
}

.custom-slider img.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

/* VŠECHNY OSTATNÍ OBRÁZKY */
.custom-slider img:not(.background) {
  position: absolute;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

.custom-slider .cat {
  position: absolute;
  left: 10%;    /* posun doleva (čím menší číslo, tím víc vlevo) */
  bottom: 0;    /* posazení úplně dolů */
  height: auto;
  width: 200px; /* nebo podle potřeby */
  z-index: 2;
}

.site-header .site-branding .custom-logo-wrapper {
  display: inline-block;
  padding-top: 10%;
}
.custom-topbar-right .social-link {
  font-size: 20px;
  color: #555; /* tmavě šedá */
  margin-left: 15px;
  transition: color 0.3s ease;
}
.custom-topbar-right i {
  color: #444;
  font-size: 20px;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.custom-topbar-right i:hover {
  color: #e67e22; /* tmavě oranžová */
}

.social-icon {
  font-size: 18px;
  color: #666;
  transition: color 0.3s ease;
  padding: 6px;
  border-radius: 50%; /* Pokud bys přece jen chtěla kulaté pozadí */
  text-decoration: none;
}

.social-icon:hover {
  color: #d46a00; /* Tmavě oranžová */
}

.site-branding img {
  margin-top: 28px !important;
  margin-left: 10px;
  max-width: 180px;
}


/* Celý formulářový box */
.wpcf7-form {
  background-color: #f9635c;
  padding: 40px 30px;
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  font-family: 'Open Sans', sans-serif;
}

/* Input a textarea pole */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  font-size: 1em;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #fff5ee;
  outline: none;
}

/* Placeholder text */
.wpcf7-form ::placeholder {
  color: #ffe7e3;
  opacity: 1;
}

/* Odesílací tlačítko */
.wpcf7-form input[type="submit"] {
  background-color: white;
  color: #f9635c;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, color 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #ffe7e3;
  color: #c9473d;
}

/* Ikona (volitelná) */
.wpcf7-form::after {
  content: "✈️";
  display: block;
  font-size: 2em;
  text-align: right;
  margin-top: 10px;
  color: white;
}

.wpcf7-form input,
.wpcf7-form textarea {
  color: white;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: white;
  opacity: 0.8;
}

.wpcf7-form label {
  color: white;
  font-weight: bold;
}

.kurzy-hero {
  position: relative;
  overflow: visible; /* důležité! */
  width: 100vw; /* zabere celou šířku obrazovky */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  background: url('https://hudebni-atelier.cz/wp-content/uploads/2025/08/events-title-backgroud-img.jpg') center center no-repeat;
  background-size: cover;
  height: 160px;

  z-index: 1;
}

.veverka-icon {
  position: absolute;
  bottom: -28px; /* veverka přesahuje dolů mimo pás */
  right: 38%;
  height: auto;
  max-height: 199px;
  z-index: 2;
}

.single-post .entry-header {
  padding-top: 50px; /* nebo 50px podle oka */
}

#secondary {
  padding-top: 50px;
}


.kurzy-hero {
  position: relative;
  padding: 80px 20px;
  background-color: #f8e9e6; /* záložní barva, pokud se nenatáhne obrázek */
  margin-bottom: 60px;
}

.kurzy-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kurzy-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.kurzy-subtitle {
  font-size: 1.2rem;
  color: #666;
}

.veverka-img {
  position: absolute;
  bottom: -28px; /* veverka přesahuje dolů mimo pás */
  right: 38%;
  height: auto;
  max-height: 199px;
  z-index: 2;
}

.entry-meta {
  font-family: "Work Sans", sans-serif;
  font-weight: normal;
  display: none;
}

.jezek-hero {
  background-image: url('https://hudebni-atelier.cz/wp-content/uploads/2025/08/events-title-backgroud-img2.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.jezek-icon {
  position: absolute;
  bottom: 0;
  right: 40%;

 height: auto;
  max-height: 199px;
  z-index: 2;
  pointer-events: none;
}


@media (max-width: 768px) {
  .jezek-icon {
    width: 160px;
    right: -20px;
  }
}


.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 2200px;
  height: 520px !important;
  margin: 0 auto;
  overflow: hidden;
}

.fadeup-animace {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aos-animate.fadeup-animace {
  opacity: 1;
  transform: translateY(0);
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nadpis-vlna {
  animation: vlnka 1s ease-out forwards;
}

@keyframes vlnka {
  0% {
    transform: translateY(20px);
    color: #aaa;
  }
  100% {
    transform: translateY(0);
    color: inherit;
  }
}

.profil-zoom {
  animation: zoomInProfile 1s ease forwards;
}

@keyframes zoomInProfile {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.kurz-box {
  opacity: 0;
  transform: scale(0.6);
  transition: transform 1s cubic-bezier(0.33, 1, 0.68, 1), opacity 1s ease;
  will-change: transform, opacity;
}

.kurz-box.in-view {
  opacity: 1;
  transform: scale(1);
}

.cta-btn {
  background-color: #f36455; /* cihlově červená */
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
 
}
/* Zajištění bílé barvy textu pro všechny stavy */
.cta-btn:link,
.cta-btn:visited {
  color: white;
}
.cta-btn:hover {
  background-color: #a43724; /* tmavší odstín při hoveru */
  transform: scale(1.05);
		color: white;
}

/* Horní lišta, aby nepřekrývala menu */
.custom-top-bar { 
  position: relative; 
  z-index: 1; 
}

/* Schovat slider na mobilech */
@media (max-width: 768px) {
  .custom-slider {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .custom-slider,
  .slider-wrapper {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

#mobile-navigation {
  background: #1b1f35;
}


#mobile-navigation ul li a {
  border-bottom: 1px solid;
    border-bottom-color: currentcolor;
  border-color: #353538;
  color: #ececec;
  display: block;
  padding: 0 30px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100% !important;
}