* {
    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: 3; 
}

.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: 100vh; 
    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/jelovnik.png");
    background-size:cover ;
    background-position: center; 
    opacity: 0.7;
    z-index: 1; 
}

.hero-content {
    color: white; 
    position: relative; 
    z-index: 2;
    font-size: 1.5rem; 
}

.menu-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
}

.menu-title {
    text-align: center;
    font-size: 2.5em; 
    margin-bottom: 20px; 
    font-family: "Poppins", sans-serif;
}

.menu-title .title-part1 {
    color: #092e4a; 
}

.menu-title .title-part2 {
    color: #ffa500; 
}
.select-menu button {
    text-decoration: none;
    background-color: transparent;
    border:none;
    color: #092e4a;
    font-size: 1rem;
    padding: 8px 10px;
    position: relative; 
    font-weight: bolder;
    transition: color 0.3s;
    cursor: pointer;
}

.select-menu button:hover {
    color: #ffa500;
}

.select-menu button::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    height: 3px; 
    background-color: #f0963d; 
    transform: scaleX(0); 
    transition: transform 0.3s ease; 
}

.select-menu button:hover::after {
    transform: scaleX(1); 
}



.menu-container {
    display: flex;         
    flex-wrap: wrap;      
    justify-content: space-between; 
    width: 100%;          
}

.fastFood-container{
    display: flex;
    align-items: center;
}

/* Center the Fast Food menu on the page */
#fastFood-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#fastFood-container .menu-category {
    flex: 0 1 700px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}



.menu-category {
    flex: 0 1 calc(50% - 20px); 
    margin: 10px 0;           
    border-bottom: 1px solid #000000; 
    padding-bottom: 10px;
}

#alkohol{
    display: flex;
}
.alk-right{
    margin-top: 61px;
}


.menu-category h3 {
    color: #ffa500;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: "Poppins",sans-serif;
}

.menu-category h4 {
    color: #ffa500;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: "Poppins",sans-serif;
}


.menu-category p {
    margin: 5px 0;
    font-family: "Poppins", sans-serif;
    color: #092e4a;
}

.menu-category strong {
    font-weight: bold;
}

.menu-category small {
    font-size: 0.9em; 
    color: #7D8E95; 
}



@media (max-width: 768px) {
    .menu-category {
        flex: 0 1 100%; 
    }
}

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) {
    footer {
        flex-direction: column;
    }

    .footer-left, .footer-center, .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-bottom: 15px;
    }
}

@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; 
    }

    .side-menu {
        z-index: 5; 
    }

    .side-menu.open {
        width: 250px;
    }

    .menu-heading {
        font-size: 2em; 
    }

    .menu-category {
        flex: 0 1 100%; 
    }

    .alk-right{
        margin-top: 50px;
        margin-left: 30px;
    }

    .menu-category h3 {
        font-size: 1.2em; 
    }

    .menu-category p {
        font-size: 0.9em; 
    }

    footer {
        flex-direction: column; 
        padding: 10px; 
    }

    .footer-left,
    .footer-center,
    .footer-right {
        margin: 5px 0; 
    }
}


/* Modal background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    position: relative;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
    display: none;
}

/* Image inside modal */
.announcment-img {
    width: 350px;
    height: 500px;
    border-radius: 10px;
    display: none;
}

/* Close button */
.modal-content .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

/* Responsive for phones */
@media (max-width: 768px) {
    .announcment-img {
        width: 90%;
        height: auto;
        max-height: 80vh;
    }

    .modal-content .close-btn {
        top: 20px;
        right: 40px; /* Keeps same position as desktop */
    }
}

