/* General Styles */
body {
    color: #FFA500;
    background-image: url(img/image0.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
    background-color: rgba(8, 8, 8, 0.8);
    background-blend-mode: darken;
    font-family: 'Barlow', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h2 {
    font-size: 32px;
}

.nadpis {
    font-size: 60px;
    text-align: center;
    font-weight: 800;
}

/* Navbar Styles */
.navbar {
    padding: 20px 0;
    background-color: #000000;
    opacity: 80%;
    height: 70px;
    padding-left: 100px;
    padding-right: 100px;
}

.navbar,
.navbar-collapse {
    z-index: 1000;
}

.navbar-nav .nav-item .nav-link {
    color: grey;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link:hover {
    background-color: #FFA500;
    color: black;
}

.navbar-collapse {
    background-color: black;
}

.dropdown-menu a,
.dropdown-item {
    color: #FFA500 !important;
}

.dropdown-menu a:hover,
.dropdown-item:hover {
    background-color: #333;
    color: #FFA500 !important;
}

.navbar-toggler {
    background-color: #FFA500;
    border-color: #FFA500;
}

.dropdown-toggle {
    background-color: #FFA500 !important;
    color: black !important;
    border-color: #FFA500 !important;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 100px;
    padding: 0 15px;
}

/* Gallery Styles */
.gallery-container {
    max-height: 50%;
    border-radius: 10px;
}


.carousel-inner .carousel-item {
    transition: none; /* Explicitly disable sliding animation */
}

.carousel-item img {
    border: 2px solid #ffa500;
    width: 50%;
    max-height: 70vh;
    object-fit: cover; /* Ensure the entire image is visible */
    display: block;
    margin: 0 auto;
}

.thumbnails {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.thumbnails img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, border-color 0.3s;
    border: 3px solid #0e1111;
    width: 18.5%;
    height: 100px;
    object-fit: cover;
    margin: 5px;
}

.thumbnails img:hover,
.thumbnails img.active {
    opacity: 1;
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

#modalImage {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

/* Footer Styles */
footer {
    width: 100%;
    opacity: 80%;
    height: 70px;
    background-color: #000000;
    margin-top: 20px;
}
.contact-link {
    color: #FFA500; /* Orange color */
    text-decoration: none; /* Remove underline */
}

.contact-link:hover {
    color: #FFA500; /* Keep orange on hover */
    text-decoration: underline; /* Optional: Add underline on hover */
}

/* Responsive Adjustments */

/* Tablets (577px - 992px) */
@media (max-width: 1180px) {
    .nadpis {
        font-size: 48px;
    }

    .navbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container {
        max-width: 100%;
    }

    .thumbnails img {
        width: 22%;
        height: 120px;
        margin: 5px;
    }

    .carousel-item img {
        max-height: 20vh;
    }

    h3,
    h4,
    h5 {
        font-size: 1.5rem;
    }

    .text-column p {
        font-size: 24px;
    }
    .carousel-item img {
        border: 2px solid #ffa500;
        width: 100%;
        max-height: 53vh;
        object-fit: cover; /* Ensure the entire image is visible */
        display: block;
        margin: 0 auto;
    }
}

/* Mobile Phones (up to 576px) */
@media (max-width: 576px) {
    .nadpis {
        font-size: 36px;
    }
.mensi-nadpis{
    font-size: 30px;
}
    .navbar {
        padding: 10px;
        height: auto;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
    }

    .text-column p {
        font-size: 18px;
    }

    .carousel-item img {
        border-width: 2px;
        max-height: 30vh;
    }

    .thumbnails {
        justify-content: center;
    }

    .thumbnails img {
        width: 30%;
        height: 120px;
        margin: 5px;
    }

    footer {
        position: static;
        margin-top: 40px;
    }

    h3,
    h4,
    h5 {
        font-size: 1.2rem;
    }

    .container {
        margin-bottom: 100px;
    }
}