/* menu.css optimizado */

/* Estilos para el fondo y el encabezado */
body {
    margin: 0;
    padding: 0;
    background: url('img/bg-hero.jpg') center/cover no-repeat;
    font-family: 'Bebas Neue', sans-serif;
}

.header {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.header .navbar {
    font-size: 30px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    z-index: 10;
    width: auto;
}

.header .navbar-brand img {
    width: 150px;
}

.nav-menu, .navbar-nav .nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item .nav-link {
    color: white !important;
    font-size: larger;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #f0a500 !important;
}

.navbar-nav li {
    margin-left: 50px;
}

@media (max-width: 768px) {
    .header .navbar {
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        top: 0;
        right: 0;
        width: auto;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 10px;
        z-index: 999;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .navbar-nav li {
        margin-left: 0;
    }
}

.container {
    max-width: 100%;
    margin: 50px auto;
}

.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-bottom: none;
    padding-bottom: 10px;
}

.nav-tabs .nav-item {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 10px;
}

.nav-tabs .nav-link {
    color: #333;
    font-weight: bold;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 20px;
}

.nav-tabs .nav-link.active {
    color: #ff6347;
    border-color: #ff6347;
}

.special-tab .nav-link {
    background: linear-gradient(to bottom, rgba(255, 255, 0, 0.3) 33%, rgba(0, 0, 255, 0.3) 33%, rgba(0, 0, 255, 0.3) 66%, rgba(255, 0, 0, 0.3) 66%);
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
}

.special-tab .nav-link:hover,
.special-tab .nav-link:focus,
.special-tab .nav-link:active {
    background: linear-gradient(to bottom, rgba(255, 255, 0) 33%, rgba(0, 0, 255) 33%, rgba(0, 0, 255) 66%, rgba(255, 0, 0) 66%);
    color: rgb(0, 0, 0);
}

.tab-content {
    margin-top: 20px;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.menu-item {
    width: calc(50% - 10px);
    padding: 15px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 5px;
}

.menu-item .menu-item-details {
    flex: 1;
}

.menu-item h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.menu-item p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}

.menu-item span {
    color: #ff6347;
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 768px) {
    .menu-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item img {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        height: auto;
    }

    .menu-item h3, .menu-item p, .menu-item span {
        text-align: left;
    }
}

.btn {
    padding: 12px 24px;
    background-color: #ff6347;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.8;
}
