/* 1. Forebyg layoutproblemer */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #DAC098;
    font-family: 'montserrat', sans-serif;
}

/*Navigationsbaren*/
.navbar {
    background-color: #b18d5c !important;
    padding: 0;
}
.navbar .nav-link,
.navbar-brand {
    color: #ffffff !important; /* Hvid tekst */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #f0f0f0 !important; /* Lidt lysere hvid – for fin effekt */
}


h1,h2,h3,h4,h5,h6 {text-align: center;}
h5 {
    color: white;
    font-weight: bold;
    font-size: 30px;
    background-color: #87451f;
    border-radius: 10px;
}

.antal-måltider {margin-top: 70px;
}




.choose-btn {
    background-color: #83430e;
    border: none;
    outline: none;
    transition: opacity 0.3s ease;
}

.choose-btn:hover,
.choose-btn:focus {
    opacity: 0.8;
    background-color: #83430e;
    outline: none;
    box-shadow: none;          /* fjern eventuelle skygger */
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(131, 67, 14, 0.8);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important; /* altid synlig */
    transition: none !important;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* gør pilen hvid */
    width: 25px;
    height: 25px;
}


.info-beskrivelse {
    margin-top: 80px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.kasse-knap-container {
    text-align: center;
    margin-top: 50px;

}


.kasse-knap {
    background-color: #83430e;
    color: white;
    font-size: 30px;
    border-radius: 10px;
    border: none;
}

.kasse-knap:hover {opacity: 0.6;}
.kasse-knap:active {opacity: 0.3}





.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* gør pilen hvid */
    width: 25px;
    height: 25px;
}

@media (min-width: 768px) {
    .carousel-inner {
        height: 450px; /* Juster denne højde som du vil */
    }

    .carousel-inner .carousel-item img {
        height: 100%;
        width: auto;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

@media (min-width: 768px) {
    .carousel-inner {
        height: auto; /* Gør højden automatisk, så den følger billedets proportioner */
        max-height: 500px; /* Max højde du ønsker */
    }

    .carousel-inner .carousel-item img {
        max-height: 500px; /* Samme max højde */
        width: auto;       /* Bredden justeres automatisk */
        height: auto;      /* Højden justeres automatisk */
        object-fit: contain; /* Sørger for hele billedet vises uden beskæring */
        margin: 0 auto;
        display: block;
    }
}


.navbar .nav-link,
.navbar-brand {
    color: #ffffff !important; /* Hvid tekst */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #f0f0f0 !important; /* Lidt lysere hvid – for fin effekt */
}

.nav-item.nav-link {
    color: white !important;
}

/*FOOTER*/
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #b18d5c;
    color: #2c2c2c;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 100px;
}

.footer-left h2 {
    margin: 0;
    font-size: 20px;
    color: #2c2c2c;
}

.footer-left p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #2c2c2c;
}

.footer-right img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* gør hvide ikoner lidt blødere */
    transition: transform 0.2s ease;
}

.footer-right img:hover
{
    transform: scale(1.1);
}