/* Header fix – posun obsahu nižšie */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh; /* Aby bol footer vždy dole */
    display: flex;
    flex-direction: column; /* Footer bude na spodku */
}

/* Posun obsahu pod fixovaný header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Aby bol vždy navrchu */
    background-color: white; /* Pozadie headeru, aby nebol priesvitný */
    padding: 10px 20px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Jemný tieň */
}

/* Zabezpečenie priestoru pod header */
.bathroom-gallery {
    margin-top: 100px; /* Posunie galériu pod header */
    text-align: center; /* Zarovnanie nadpisu */
}



/* Footer na spodku stránky */
footer {
    margin-top: auto; /* Footer sa posunie na koniec */

}




/* Galéria – centrovanie a štýlovanie */
.bathroom-gallery {
    padding: 30px 20px;
    text-align: center;
}

.bathroom-gallery h2 {
    font-size: 2.5rem;
    color: #0277BD;
    margin-bottom: 30px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 100;
}

.gallery-container {
    overflow: hidden;
    border-radius: 40px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 30%; /* Zúži galériu na 70 % šírky stránky */
}

.gallery {
    display: flex;
   
}

.gallery img {
    width: 100%;
    height: auto; /* Umožní obrázkom zachovať pomer strán */
}
.gallery-controls button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
}

/* Responzívny dizajn */
@media (max-width: 768px) {
    .bathroom-gallery h2 {
        font-size: 2rem;
    }
    .gallery-container {
        max-width: 90%; /* Na menších obrazovkách mierne rozšíri galériu */
    }
}




.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Zabezpečí, že bublinky nebudú blokovať kliknutia */
    overflow: hidden; /* Skryje bublinky po opustení sekcie */
}

.bubble {
    position: absolute;
    background: rgba(86, 181, 213, 0.6); /* Svetlomodrá farba bublín */
    border-radius: 50%;
    opacity: 0;
    filter: blur(2px); /* Jemné rozostrenie pre efekt bubliny */
    animation: bubbleRise linear infinite;
}

.gallery-controls {
    margin-top: 20px; /* väčší odstup pod obrázkom */
    display: flex;
    justify-content: center;
    gap: 20px;
}

.gallery-controls button{
    background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #FFFFFF;
    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
    justify-content: center;
    padding: 1rem 1.75rem;
    text-decoration: none;
    font-weight: 100;
    border: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: background-image 0.3s ease-in-out;
    
}



.gallery-controls button:hover {
  background-image: linear-gradient(-180deg, #1D95C9 0%, #17759C 100%);
}

@media (min-width: 768px) {
    .gallery-controls button {
    padding: 1rem 2rem;
  }
}

/*REKUPERACIA */

/*REKUPERACIA */
.rekuperacia-section {
    padding: 80px 20px;
    text-align: center;
    color: #2a4d69;
    top: 30px;
    position: relative;
    margin-bottom: 50px; /* Znížime medzeru na dolnej strane */
}

.rekuperacia-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rekuperacia-section h2 {
    font-size: 3em;
    font-weight: 50;
    font-family: "Bebas Neue", sans-serif;
    color: #0277BD;
}

.rekuperacia-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px; /* Znížime medzeru medzi textom a slideshow */
}

.rekuperacia-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 0px;
    gap: 20px; /* Pridáme medzeru medzi info boxami */
}

.info-box {
    background: white;
    padding: 18px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
}

.info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0277BD;
    font-weight: 400;
    font-family: "Bebas Neue", sans-serif;
}

/* Kontajner pre slideshow */
.rekuperacia-slideshow {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Obrázky slideshow */
.rekuperacia-slideshow img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    object-fit: cover;
}

.rekuperacia-slideshow img.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Pozadie slideshow */
.rekuperacia-slideshow:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 1s ease;
}

.rekuperacia-slideshow img.active + .rekuperacia-slideshow:before {
    opacity: 1;
}

@media (max-width: 768px) {
    .rekuperacia-info {
        flex-direction: column;
        gap: 10px;
    }

    .info-box {
        max-width: 100%;
    }

    .rekuperacia-section h2 {
        font-size: 2.2rem;
    }

    .rekuperacia-section h3 {
        font-size: 1.9rem;
    }

    .rekuperacia-section p {
        font-size: 1.1rem;
    }
}










/* KONTAKT */

.contact-section {
    padding: 80px 20px;
    text-align: center;
    color: #1b3a57;
    margin-top: 65px;
    opacity: 0; /* Začneme s neviditeľnou sekciou, aby sme mohli animovať vstup */
    transition: opacity 1s ease;
    display: flex;
    justify-content: center; /* Vycentrovanie horizontálne */
    align-items: center; /* Vycentrovanie vertikálne */
    min-height: 100vh; /* Zabezpečí, že sekcia pokryje celú výšku obrazovky */
}

.contact-container {
    max-width: 900px; /* Zväčšenie šírky kontajnera */
    margin: 0 auto;
    width: 100%; /* Zabezpečí, že kontajner bude mať plnú šírku v rámci maximálnej šírky */
}

.contact-section h2 {
    font-size: 3rem; /* Zvýšenie veľkosti nadpisu */
    margin-bottom: 50px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 100;
    color: #0277BD;
}

/* Kontaktné informácie */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Väčšie medzery medzi položkami */
    align-items: center; /* Vycentrovanie kontaktov v rámci kontajnera */
}

/* Každý kontaktný prvok */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Väčšie medzery medzi ikonou a textom */
    font-size: 1.5rem; /* Zvýšenie veľkosti textu */
    padding: 20px; /* Väčší padding */
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.5s ease, opacity 0.5s ease;
    justify-content: center; /* Vycentrovanie každého kontaktu */
}

/* Moderné ikonky */
.contact-item i  {
    font-size: 2rem; /* Väčšie a viditeľnejšie ikonky */
    color: #0277BD; /* Svetlo-modrá farba */
    transition: transform 0.3s ease, color 0.3s ease;
}
.contact-item.phone i {
    animation: vibrate 1s ease-in-out infinite; /* Animácia vibrovania */
}
@keyframes vibrate {
    0% {
        transform: translateX(0); /* Začiatok, bez pohybu */
    }
    25% {
        transform: translateX(-5px); /* Trochu naľavo */
    }
    50% {
        transform: translateX(5px); /* Trochu napravo */
    }
    75% {
        transform: translateX(-5px); /* Opäť naľavo */
    }
    100% {
        transform: translateX(0); /* Na konci sa vráti na pôvodné miesto */
    }
}

/* Efekt pri hoveri na ikonu */
.contact-item i:hover {
    transform: scale(1.2);
    color: #0277BD; /* Zmena farby na tmavú modrú pri hoveri */
}

.contact-item p {
    font-size: 1.5rem; /* Zvýšenie veľkosti textu pre lepšiu čitateľnosť */
}

/* Animácia pre celú sekciu */
.contact-section.visible {
    opacity: 1;
}

/* Animácia pre jednotlivé položky kontaktu */
.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}
