/* Hero */
.hero {
    background-image: url('../images/main-slide.webp');
    border: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
/* End Hero */


/* Main */

.fa-handshake{
    color: var(--another-yellow); /* żółty */
    font-size: 3rem;
}
/* End Main */

/* Section Dlaczego My*/
section{
    border: 1px solid var(--another-yellow); /* żółta ramka */
}


.section-title {
    margin-top: 50px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--another-yellow);
}

.section-box {
    background-color: var(--even-darker-grey2); /* jeszcze ciemniejszy szary */
    color: var(--another-yellow); /* żółty akcent */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
/* End Section Dlaczego My */

/* Card */
.card {
    background-color: var(--even-darker-grey); /* ciemnoszary */
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--another-yellow)!important; /* żółta ramka */
}

.card-body h5 {
    color: var(--another-yellow); /* żółty tytuł */
}

.card-body p {
    color: var(--light-grey); /* jasnoszary tekst */
}

.card-body {
    text-align: center;
    background-color: var(--even-darker-grey2); /* ciemniejszy szary */
}

.btn-custom {
    background-color: var(--another-yellow2) !important;
    color: var(--dark-grey) !important;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--dark-grey) !important;
    color: var(--another-yellow) !important;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: var(--light-grey);
    border-radius: 8px 8px 0 0;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* End Card */

/* Slider */
#imageCarousel {
    background-color: var(--even-darker-grey2);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--another-yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#imageCarousel h2 {
    color: var(--another-yellow);
    text-align: center;
    margin: 15px 0 30px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-item img {
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out;
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--dark-grey);
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--another-yellow);
}

.carousel-indicators {
    bottom: -20px;
}

.carousel-indicators button {
    background-color: var(--another-yellow);
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s;
    margin: 0 4px;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.3);
}

/* End Slider */




/* Responsive queries */
@media (max-width: 1366px){
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
    }

    main {
        padding-top: 40px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    h3, p {
        font-size: 1.7rem;
    }

    .card-body h5 {
        font-size: 1.7rem;
    }

    .card-body p {
        font-size: 1.5rem;
    }

    .footer {
        font-size: 14px;
    }
}


@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
    }

    main {
        padding-top: 40px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    h3, p {
        font-size: 1.2rem;
    }

    .card-body h5 {
        font-size: 1.7rem;
    }

    .card-body p {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 14px;
    }
}


@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 50vh;
    }

    main {
        padding-top: 40px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    h3, p {
        font-size: 1.4rem;
    }

    .card-body h5 {
        font-size: 1.7rem;
    }

    .card-body p {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 40vh;
    }

    main {
        padding-top: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    h3, p {
        font-size: 1.2rem;
    }

    .card-body h5 {
        font-size: 1.7rem;
    }

    .card-body p {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        height: 30vh;
    }

    main {
        padding-top: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    h3, p {
        font-size: 1rem;
    }

    .card-body h5 {
        font-size: 1.5rem;
    }

    .card-body p {
        font-size: 1rem;
    }

    .footer {
        font-size: 12px;
    }
}
/* End Responsive queries */






