
.montserrat-font {
    font-family: "Montserrat", sans-serif;
}


.custom-nav {
    --bs-navbar-color: white;
    --bs-navbar-brand-color: white;
    --bs-navbar-active-color: white;
    --bs-navbar-hover-color: black;

    font-weight: 750;
    background-color: #ff7330;
    font-size: 16px;
    padding: 0.3rem;
    padding-top: 0.5rem;
    color: white;
    font-family: "Inter", sans-serif;
}

.custom-nav .nav-link:focus:not(:focus-visible) {
    color: var(--bs-navbar-color);
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.navbar-nav {
    gap: 8px;
}

.hero-section {
    background-image: url('../img/fireworks_cropped_darker.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.hero-title {
    color: white;
    font-weight: 850;
    font-size: 42px;
    text-align: left;
}

.hero-subtitle {
    color: white;
    font-weight: 700;
    font-size: 24px;
    max-width: 400px;
    text-align: left;
}

.hero-logo {
    max-width: 300px;
    height: 300px;
}

@media (min-width: 768px) {
    .hero-text-col {
        padding-left: 15%;
        padding-right: 2%;
    }

    .hero-logo-col {
        padding-right: 15%;
        padding-left: 2%;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-logo {
        max-width: 225px;
        height: 225px;
    }

    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 34px;
        text-align: center;
        padding-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 20px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-text-col {
        padding-bottom: 3%;
    }

    .hero-logo-col {
        padding-top: 3%;
    }
    .hero-logo {
        max-width: 225px;
        height: 225px;
    }
}


.carousel {
    margin-left: 4%;
    margin-right: 4%;
    display: flex;
    overflow-x: auto;
    overflow: hidden;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 6em;
    animation: spin 30s infinite linear;
    padding-right: 6em;
}

.card_text {
    font-size: 16px;
    text-align: center;
    align-content: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: white;
}

@keyframes spin {
    from {
        translate: 0;
    }

    to {
        translate: -100%;
    }
}

hr {
    margin: 0.7rem 4%;
    border-width: 0.1em;
    color: white;
    opacity: 1.0;
}

.nadpis {
    font-size: 28px;
    text-align: center;
    color: #FFC000;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10%;
    padding-bottom: 2rem;
}

h2 {
    margin: 0;
}

.podnadpis {
    font-size: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin-bottom: 2rem;
}

@media (max-width: 575px) {
    #skolenia-kurzy .podnadpis {
        text-align: center;
    }
}

.section {
    padding: 3rem 4%;
    font-family: "Inter", sans-serif;
}

#skolenia-kurzy { 
    background-color: #FFFCF6;
}

#nase-produkty {
    background-color: #fff7e7;
}

#certifikaty {
    background-color: #FFFCF6;
}

#kontakt {
    background-color: #ffbf00;
}

#kontakt .nadpis {
    color: black;
}


/* "scroll-margin-top : keď scrolluješ na tento element kvôli kotve (#anchor), nechaj nad ním ešte toľkoto extra miesta" */
#skolenia-kurzy,
#nase-produkty,
#certifikaty,
#kontakt {
    scroll-margin-top: 3rem;
}

/* --- Timeline: kurz / skúšky / predĺženie --- */

.timeline-step {
    display: flex;
    gap: 20px;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #FFC000;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 16px;
}

.timeline-line {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background-color: #FFC000;
    margin: 4px 0;
}

.timeline-content {
    padding-bottom: 1rem;
}

.timeline-content h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.produkty-card {
    box-shadow: rgba(0, 0, 0, 0.171) 0px 5px 15px;
    background-color: #FFFCF6;
    border: 0.1rem solid #cccccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6%;
}

.produkty-img {
    padding: 2% 0 2% 4%;
    max-width: 220px;
    min-width: 120px;
    width: 100%;
    height: auto;
}

.produkty-text {
    font-size: 15px;
    align-content: center;
    padding: 6% 6% 6% 0;
}

.produkty-text h4,
.produkty-text h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.produkty-text button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.produkty-btn {
    background-color: #0040FF;
    color: white;
}


.certifikat-img {
    max-height: 300px;
    max-width: 100%;
    width: auto;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.certifikat-img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15)
}

#certifikaty .col-6,
#certifikaty .col-md-3 {
    display: flex;
    justify-content: center;
}

#certifikaty .container-fluid {
    --bs-gutter-x: 4rem;
}

#certifikaty .row-gap {
    --bs-gutter-x: 4rem;
    --bs-gutter-y: 4rem;
}

.card-with-shadow {
    background-color: #ffd146;
    padding: 20px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
    height: 100%;
}

.text-block {
    min-width: 250px;
    font-weight: 450;
}

iframe {
    height: auto;
    width: 100%;
    max-width: 100%;
}

.kontakt-podnadpis {
    font-size: 115%;
    font-weight: 600;
    padding-bottom: 10px;
    text-decoration: underline;
}


footer {
    background-color: rgb(46, 46, 46);
    font-weight: 500;
    color: white;
    text-align: center;
    padding: 4px;
}