* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefffe;
    color: #000000;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    padding: 10px 15px;
    background-color: transparent;
    z-index: 2; 

}

.logo {
    font-size: large;
    font-weight: bolder;
    color: #ffa500;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative; 
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 10px;
    position: relative; 
    font-weight: bolder;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffa500;
}

nav ul li a::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    height: 3px; 
    background-color: #f0963d; 
    transform: scaleX(0); 
    transition: transform 0.3s ease; 
}

nav ul li a:hover::after {
    transform: scaleX(1); 
}

.menu-toggle {
    display: none; 
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    z-index: 4; 
}

.side-menu {
    height: 100%; 
    width: 0; 
    position: fixed; 
    z-index: 5; 
    top: 0;
    left: 0;
    background-color: #092e4a; 
    overflow-x: hidden; 
    transition: 0.5s; 
    padding-top: 60px;
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1.5rem;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #ffa500;
}

.side-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
}



.hero {
    position: relative; 
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000000;
}

.hero-background {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(9, 46, 74, .7), rgba(0, 0, 0, 0.3)), url("../slike/kbackground.jpeg");
    background-size: cover;
    background-position: center; 
    opacity: 0.7;
    z-index: 1; 
}

.hero-content {
    color: white; 
    position: relative; 
    z-index:  1;
    font-size: 2rem; 
}

.services, .menu-options, .testimonials, .contact {
    padding: 60px 20px;
    text-align: center;
}

.services h2, .menu-options h2, .testimonials h2, .contact h2 {
    color: #092e4a;
    margin-bottom: 20px;
}

.services p, .contact p {
    margin-bottom: 20px;
}

.services ul {
    list-style-type: none;
    padding: 0;
}

.services ul li {
    background-color: #f4f4f4;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.service-item {
    margin-bottom: 30px;
    padding: 20px; 
    border-radius: 8px; 
    transition: transform 0.3s, box-shadow 0.3s; 
    position: relative; 
}

.service-item i {
    font-size: 2rem; 
    color: #ffa500; 
    position: absolute; 
    top: 10px; 
    left: 20px; 
}


.service-item h3 {
    color: #ffa500; 
}

.parallax-background {
    position: relative;
    height: 300px; /* Or however tall you want the section */
    overflow: hidden; /* Ensure overflow is hidden */
}

.parallax-menu {
    background-image: url("/slike/parlax.jpeg");
    position: relative;
    height: 300px;  /* Adjust this value as needed */
    overflow: hidden;
    background-size: cover;
    background-position: center;
}


.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.parallax-menu h2 {
    font-size: 3rem;
    margin: 0;
    padding: 20px;
}


.menu-gallery {
    padding: 60px 20px;
    text-align: center;
}

.menu-gallery h2 {
    color: #092e4a;
    margin-bottom: 20px;
}

/* Promo Item Section */
.promo-item {
    margin-bottom: 30px;
    position: relative;
}

.promo-item img {
    width: 20%; /* Or adjust width as necessary */
    height: auto; /* Adjust to control the maximum width of the promo image */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-caption {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #ffa500; /* Promo caption in orange */
    font-weight: bold;
}

/* Menu Grid for 5 Images */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.menu-item {
    width: calc(20% - 20px); /* Ensure 5 items fit in a row, adjust the -20px based on the gap size */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-caption {
    margin-top: 10px;
    font-size: 1rem;
    color: #ffa500;
    text-align: center;
}

.menu-text-item {
    text-align: center;
    font-size: 1.2rem;
    color: #ffa500;
    padding: 10px;
    
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Center the text-only item */
    width: 40%; /* Adjust the width for better layout */
}

.menu-text-item p {
    margin: 0;
}



.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    color: #fff;
    text-align: center;
    margin-top: 10px;
}





.slideshow {
    position: relative;
    margin: 60px 20px;
    text-align: center;
    color: #092e4a;
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden; /
}

.slide {
    display: none;
}

.slide img {
    width: 70%;            
    height: 500px;         
    object-fit: cover;    
    border-radius: 8px;    
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover {
    background-color: #ffa500; 
}

.active {
    background-color: #ffa500; 
}


.contact p a {
    color: #ffa500;
    text-decoration: none;
}

footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    background-color: #092e4a;
    color: rgb(255, 255, 255);
    padding: 20px;
    text-align: center;
    flex-wrap: wrap; 
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1; 
    display: flex;
    justify-content: center; 
    flex-direction: column; 
    align-items: center;
    text-align: center; 
}


.footer-left {
    align-items: flex-start; 
    text-align: left;
}


.footer-center {
    align-items: center; 
}


.footer-right {
    align-items: flex-end; 
    text-align: right;
}


.footer-center .socials img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px; 
}

.footer-right a{
    color: #ffa500;
    text-decoration: none;
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.payment-methods img {
    width: 40px; 
    height: auto; 
    margin: 0 10px; 
}
@media (max-width: 768px) {
    header {
        flex-direction: column; 
        align-items: flex-start; 
    }

    nav ul {
        flex-direction: column; 
        display: none; 
        width: 100%; 
        padding: 10px 0; 
        background-color: whitesmoke; 
        position: absolute; 
        top: 60px; 
    }

    nav ul.active {
        display: flex; 
    }

    nav ul li {
        margin: 10px 0; 
    }

    .logo {
        margin-bottom: 10px; 
    }

    .menu-toggle {
        display: block;
        position: absolute; 
        top: 40px; 
        right: 15px; 
        z-index: 4; 
    }

    .promo-item img {
        width: 100%; 
        height: auto;
    }

    .menu-grid {
        flex-direction: column; 
        gap: 15px; 
    }

    .parallax-menu {
        background-attachment: scroll; /* Disable parallax on mobile */
        background-position: center center; /* Ensure it looks good on mobile */
        background-size: 100% auto; /* Adjust the background size */
        height: 220px;
    }

    .menu-item {
        width: 100%; 
    }

    .menu-item img {
        height: auto; 
        object-fit: contain; 
    }

    .menu-text-item {
        width: 90%; 
        padding: 15px; 
        font-size: 1rem; 
    }

    footer {
        flex-direction: column;
    }

    .footer-left, .footer-center, .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-bottom: 15px;
    }

    .slideshow-container {
        width: 100%; 
    }

    .slide img {
        width: 100%; 
        height: auto; 
        object-fit: contain; 
    }
}
