﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #222;
}


/* HLAVIČKA */

header {
    background:
        linear-gradient(rgba(28, 40, 51, 0.65), rgba(28, 40, 51, 0.65)),
        url("../images/interier.jpg.jfif");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 0px 20px 70px;
    text-align: center;
}




/* HLAVNÁ ČASŤ */

main {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

main > h2 {
    margin-top: 50px;
}

main > h2:first-child {
    margin-top: 0;
}

main > p {
    font-size: 18px;
    line-height: 1.7;
}


/* NADPISY */

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}


/* PÄTIČKA */

footer {
    background-color: #3B2418;
    color: white;
    text-align: center;
    padding: 15px 20px;
    margin-top: 25px;
}

footer h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.paticka-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.paticka-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.paticka-menu a:hover {
    color: #D6B58A;
}

footer p {
    margin: 0;
    font-size: 13px;
    color: #D6C7BC;
}
.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.foto {
    height: 260px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    cursor: pointer;
}

.foto img:hover {
    transform: scale(1.06);
    filter: brightness(0.85);
}
.kontakt-tlacidlo {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 32px;
    background-color: #f2b705;
    color: #222;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kontakt-tlacidlo:hover {
    background-color: #d99f00;
    transform: translateY(-3px);
}

.kontakt-tlacidlo:hover {
    background-color: #d99f00;
}
.sluzby {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.sluzba {
    background-color: white;
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.sluzba:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sluzba:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sluzba h3 {
    margin-top: 0;
    font-size: 24px;
}

.sluzba p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 700px) {
    body {
    }

    header h1 {
        font-size: 32px;
    }

    header p {
        font-size: 20px;
    }

    .uvodny-text {
        font-size: 16px;
    }

    .sluzby {
        grid-template-columns: 1fr;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    main {
        padding: 40px 15px;
    }

    .vyhody-karty {
        grid-template-columns: 1fr;
    }

}
    .sluzba h3 {
    color: #34495e;
    font-size: 23px;
    margin-top: 0;
    margin-bottom: 15px;
    }

    .sluzba p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}
  #nahlad-obrazka {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

#velky-obrazok {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.zatvorit {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}

#nahlad-obrazka .sipka {
    width: 75px !important;
    height: 75px !important;
    font-size: 48px !important;
    color: white !important;
    background: rgba(59, 36, 24, 0.95) !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

#nahlad-obrazka .sipka:hover {
    background: #3B2418 !important;
    color: #F2B705 !important;
    transform: scale(1.12) !important;
    border-color: #F2B705 !important;
}

#nahlad-obrazka .vlavo {
    left: 20px !important;
}

#nahlad-obrazka .vpravo {
    right: 20px !important;
}
.vyhody {
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.vyhody-karty {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.vyhoda {
    background-color: white;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.vyhoda:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.vyhoda-ikona {
    font-size: 45px;
    color: #f2b705;
    margin-bottom: 15px;
}

.vyhoda h3 {
    color: #34495e;
    font-size: 22px;
    margin-bottom: 12px;
}

.vyhoda p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}
@media (max-width: 700px) {

    .vyhody {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .vyhody-karty {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vyhoda {
        padding: 25px 20px;
    }

}
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 45px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #f2b705;
}
@media (max-width: 700px) {

    .horna-lista {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 5px 10px;
    }

    .horna-lista img {
        height: 100px;
        width: auto;
        max-width: 80%;
        object-fit: contain;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-bottom: 20px;
    }

    .menu a {
        font-size: 15px;
    }

    header {
        padding: 35px 15px;
    }

    header h1 {
        font-size: 28px;
    }

    main {
        padding: 20px 15px;
    }

    .kontakt {
        padding: 20px 15px;
        margin: 30px auto;
    }

    .mapa iframe {
        height: 280px;
    }

    .sluzby {
        grid-template-columns: 1fr;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    #spat-hore {
        width: 48px;
        height: 48px;
        font-size: 30px;
        right: 15px;
        bottom: 15px;
    }
}
#spat-hore {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: #f2b705;
    color: #222;
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: background-color 0.3s, transform 0.3s;
    display: none;
    opacity: 0;
}

#spat-hore:hover {
    background-color: #d99f00;
    transform: scale(1.1);
}
.kontakt-udaje a {
    display: inline-block;
    color: #34495e;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.kontakt-udaje a:hover {
    color: #d99f00;
    text-decoration: underline;
}

.kontakt-udaje {
    line-height: 1.8;
    font-size: 17px;
}
.kontakt {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #f5f7fa;
    border: 1px solid #dce3ea;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}
.kontakt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
@keyframes objavenie {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    animation: objavenie 0.8s ease 0.1s both;
}

header p {
    animation: objavenie 0.8s ease 0.3s both;
}

header .kontakt-tlacidlo {
    animation: objavenie 0.8s ease 0.5s both;
}

main h2 {
    animation: objavenie 0.8s ease 0.2s both;
}

.vyhoda:nth-child(1) {
    animation: objavenie 0.8s ease 0.2s both;
}

.vyhoda:nth-child(2) {
    animation: objavenie 0.8s ease 0.4s both;
}

.vyhoda:nth-child(3) {
    animation: objavenie 0.8s ease 0.6s both;
}

.kontakt,
.sluzby,
.galeria {
    animation: objavenie 0.8s ease 0.5s both;
}
header h1 {
    font-size: 58px;
}

/* VEĽKOSŤ NÁZVU NA MOBILE */

@media (max-width: 700px) {
    header h1 {
        font-size: 34px;
    }
}header h1 {
    font-size: 58px;
}

/* VEĽKOSŤ NÁZVU NA MOBILE */

@media (max-width: 700px) {
    header h1 {
        font-size: 34px;
    }
}
.o-nas {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    line-height: 1.8;
    animation: objavenie 0.8s ease 0.3s both;
}

.o-nas h2 {
    color: #34495e;
    font-size: 34px;
    margin-top: 0;
    margin-bottom: 25px;
}

.o-nas h3 {
    color: #34495e;
    font-size: 21px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.o-nas p {
    color: #555;
    font-size: 17px;
}

.o-nas ul {
    padding-left: 25px;
    color: #555;
    font-size: 17px;
    line-height: 2;
}

.o-nas li::marker {
    color: #f2b705;
}

.o-nas-zaver {
    margin-top: 30px;
    padding: 20px;
    background-color: #f5f7fa;
    border-left: 5px solid #f2b705;
    border-radius: 5px;
    font-weight: bold;
    color: #34495e !important;
}

/* MOBILNÁ VERZIA */

@media (max-width: 700px) {
    .o-nas {
        padding: 25px 20px;
        margin: 35px auto;
    }

    .o-nas h2 {
        font-size: 28px;
    }

    .o-nas h3 {
        font-size: 19px;
    }

    .o-nas p,
    .o-nas ul {
        font-size: 16px;
    }
}
.info-ikony {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 35px auto;
    flex-wrap: wrap;
}

.info-karta {
    width: 190px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.95);
    color: #34495e;
    border: 2px solid #f2b705;
    border-radius: 14px;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.info-karta:hover {
    transform: translateY(-6px);
    background: #f2b705;
}

.info-ikona {
    display: block;
    font-size: 42px;
    margin-bottom: 10px;
}

/* ROZBAĽOVACIE PANELY */

.info-panel {
    display: none;
    max-width: 850px;
    margin: 25px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.97);
    color: #555;
    border-radius: 15px;
    text-align: left;
    line-height: 1.8;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.info-panel h2 {
    color: #34495e;
}

.info-panel p,
.info-panel ul {
    font-size: 17px;
}

.info-panel li::marker {
    color: #f2b705;
}

.info-panel .o-nas-zaver {
    padding: 15px;
    background: #f5f7fa;
    border-left: 5px solid #f2b705;
    font-weight: bold;
    color: #34495e;
}

@media (max-width: 700px) {
    .info-ikony {
        gap: 12px;
    }

    .info-karta {
        width: 145px;
        padding: 18px 10px;
        font-size: 17px;
    }

    .info-ikona {
        font-size: 35px;
    }

    .info-panel {
        padding: 20px;
        margin: 20px 5px;
    }

    .info-panel p,
    .info-panel ul {
        font-size: 16px;
    }
}
.info-karta:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #f2b705;
}
.info-karta,
.vyhoda,
.sluzba,
.kontakt,
.mapa,
.foto {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.3s ease;
}

.foto.mizne {
    opacity: 0;
    transform: scale(0.94);
}

.foto.objavuje-sa {
    animation: fotoObjavenie 0.4s ease forwards;
}

@keyframes fotoObjavenie {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.info-karta:hover,
.vyhoda:hover,
.sluzba:hover,
.kontakt:hover,
.mapa:hover,
.foto:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
.galeria-karta {
    max-width: 850px;
    margin: 30px auto;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-karta:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* NÁHĽADOVÉ FOTOGRAFIE */
.galeria-nahlady {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    height: 190px;
}

.galeria-nahlady img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* POPIS KNIŽNICE */
.galeria-popis {
    padding: 25px;
    color: #34495e;
}

.galeria-popis h3 {
    margin-top: 0;
    font-size: 23px;
}

.galeria-popis p {
    color: #666;
}

.galeria-popis span {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    background: #f2b705;
    color: #34495e;
    border-radius: 8px;
    font-weight: bold;
}

/* OTVORENÁ GALÉRIA */
.cela-galeria {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: #f5f6f8;
    overflow-y: auto;
    padding: 35px 20px;
}

.cela-galeria h2 {
    text-align: center;
    color: #34495e;
    margin-bottom: 30px;
}

.galeria-zatvor {
    position: fixed;
    top: 15px;
    right: 25px;
    font-size: 40px;
    border: none;
    background: none;
    color: #34495e;
    cursor: pointer;
    z-index: 10000;
}

@media (max-width: 700px) {
    .galeria-nahlady {
        grid-template-columns: repeat(2, 1fr);
        height: 180px;
    }

    .galeria-nahlady img {
        height: 90px;
    }

    .galeria-popis {
        padding: 18px;
    }

    .galeria-popis h3 {
        font-size: 19px;
    }

    .cela-galeria {
        padding: 65px 10px 25px;
    }
}
.galeria-zatvor {
    z-index: 10001;
    pointer-events: auto;
}

.cela-galeria {
    z-index: 9998;
}
html {
    scroll-behavior: auto;
}
.nazov-firmy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
}

.nazov-firmy img {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.nazov-firmy h1 {
    margin: 0;
}
.horna-lista {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 100;
}

.horna-lista img {
    height: 150px;
    width: auto;
    object-fit: contain;
}
.horna-lista {
    position: relative;
    justify-content: center;
}

.logo-stred {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.logo-stred img {
    height: 140px;
    width: auto;
    object-fit: contain;
}
.galeria-filtre {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.filter-btn {
    background-color: #F1E6DC;
    color: #3B2418;
    border: 2px solid #B89A82;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background-color: #DCC5B2;
}

.filter-btn.aktivne {
    background-color: #3B2418;
    color: white;
    border-color: #3B2418;
}