/* Evitar que los botones del navbar se partan en escritorio */
@media (min-width: 992px) {
    .navbar-nav .nav-link.whitespace-nowrap {
        white-space: nowrap;
    }
}
/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: 0 !important; /* Eliminar margen superior */
    }
    /* Asegurar que el carrusel esté pegado al navbar */
    .navbar-custom + #heroCarousel,
    .navbar-custom + .hero-section {
        margin-top: 0 !important;
    }
    /* Eliminar espacio entre navbar y carrusel */
    #heroCarousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* Eliminado: .category-btn-col para dejar solo Bootstrap */
/* Ocultar flecha del dropdown del usuario en el navbar */
/* Línea dorada animada para el botón del usuario en el navbar (solo visible en hover) */
#navUserDropdown {
    position: relative;
    transition: color 0.3s ease;
}
#navUserDropdown::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: transparent;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#navUserDropdown:hover::after,
#navUserDropdown:focus::after {
    width: 80%;
    background: var(--dorado);
}
#navUserDropdown:hover,
#navUserDropdown:focus {
    color: var(--dorado) !important;
}
#navUserDropdown:hover::after,
#navUserDropdown:focus::after {
    width: 80%;
}
/* Línea dorada decorativa debajo de cada categoría */
.category-underline {
    width: 100px;
    height: 3px;
    background: var(--dorado);
    border-radius: 2px;
    margin-bottom: 1rem;
}
/* Botón de ojo en tarjeta de plato */
.dish-eye-btn {
    margin-left: 0.5rem;
    margin-top: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* === Botones de Categoría Menú === */
/* .category-buttons-bar: solo margen, sin flex ni gap para no interferir con Bootstrap */
.category-buttons-bar {
    margin-bottom: 2rem;
}

.category-btn {
    background: var(--crema);
    color: var(--vinotinto);
    border: 2px solid var(--vinotinto);
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
    width: 100%;
}




.category-btn:hover, .category-btn:focus {
    background: var(--vinotinto);
    color: var(--crema);
    border-color: var(--vinotinto);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(125,25,53,0.2);
}

.category-btn:active {
    background: #5a1026;
    box-shadow: 0 2px 4px rgba(125,25,53,0.3);
    transition: all 0.2s;
}

@media (max-width: 768px) {
    .category-btn {
        font-size: 15px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .category-btn {
        font-size: 14px;
        padding: 8px 0;
    }
}
:root {
            --vinotinto: #7d1935;
            --negro: #1a1a1a;
            --crema: #f5f1e8;
            --dorado: #d4af37;
            --verde: #2d5f3f;
            --beige: #c9b99b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: var(--crema);
            color: var(--negro);
            overflow-x: hidden;
        }

        h1, h2, h3 {
            font-family: 'Playfair Display', serif;
        }

        /* Navbar */
        .navbar-custom {
            background: var(--negro);
            padding: 1rem 0;
            box-shadow: 0 2px 15px rgba(0,0,0,0.3);
        }

        .navbar-brand {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: var(--crema) !important;
            font-weight: 700;
        }

        .navbar-nav .nav-link {
            color: var(--crema) !important;
            margin: 0 1rem;
            font-weight: 400;
            transition: all 0.3s ease;
            position: relative;
        }

        .navbar-nav .nav-link:hover {
            color: var(--dorado) !important;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--dorado);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-nav .nav-link:hover::after {
            width: 80%;
        }

        /* Hero Section con Carrusel */
        .hero-section {
            position: relative;
            height: 90vh;
            overflow: hidden;
        }

        .carousel-item {
            height: 90vh;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(26,26,26,0.4), rgba(125,25,53,0.6));
        }

        .hero-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 10;
            color: white;
            width: 90%;
        }

        .hero-content h1 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
            animation: fadeInUp 1s ease;
        }

        .hero-content p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
            animation: fadeInUp 1.2s ease;
        }

        .hero-btn {
            padding: 15px 40px;
            background: var(--dorado);
            color: var(--negro);
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            animation: fadeInUp 1.4s ease;
        }

        .hero-btn:hover {
            background: var(--vinotinto);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(212,175,55,0.3);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Sección de Menú */
        .menu-section {
            padding: 80px 0;
            background: var(--crema);
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title h2 {
            font-size: 3rem;
            color: var(--vinotinto);
            margin-bottom: 1rem;
        }

        .section-title::after {
            content: none;
        }

        .category-filter {
            text-align: center;
            margin-bottom: 3rem;
        }

        .filter-btn {
            padding: 10px 30px;
            margin: 0 10px;
            background: transparent;
            border: 2px solid var(--vinotinto);
            color: var(--vinotinto);
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .filter-btn:hover, .filter-btn.active {
            background: var(--vinotinto);
            color: white;
        }

        /* Tarjetas de Platos */
        .dish-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            margin-bottom: 30px;
            height: 100%;
        }

        .dish-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(125,25,53,0.2);
        }

        .dish-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .dish-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .dish-card:hover .dish-img img {
            transform: scale(1.1);
        }

        .dish-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--dorado);
            color: var(--negro);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .dish-info {
            padding: 1rem;
        }

        .dish-category {
            color: var(--verde);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .dish-name {
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            color: var(--negro);
            margin-bottom: 0.5rem;
        }

        .dish-description {
            color: #666;
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 0.8rem;
        }

        .dish-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .dish-price {
            font-size: 1.5rem;
            color: var(--vinotinto);
            font-weight: 700;
        }

        .order-btn {
            padding: 10px 25px;
            background: var(--vinotinto);
            color: white;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .order-btn:hover {
            background: var(--dorado);
            color: var(--negro);
        }

        /* Footer */
        .footer {
            background: var(--negro);
            color: var(--crema);
            padding: 50px 0 20px;
        }

        .footer-content {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
            margin: 20px;
        }

        .footer-section h3 {
            color: var(--dorado);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }

        .social-links a {
            color: var(--crema);
            font-size: 1.5rem;
            margin-right: 15px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            color: var(--dorado);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(245,241,232,0.2);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-content p {
                font-size: 1.2rem;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .filter-btn {
                margin: 5px;
                padding: 8px 20px;
                font-size: 0.9rem;
            }
        }
