/* Variables de color */
:root {
    --primary-color: #d4af37;
    --secondary-color: #8b0000;
    --accent-color: #ff6b35;
    --dark-color: #2c1810;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

/* Fuentes */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navegación */
.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color) !important;
    font-weight: 600;
}

.navbar-nav .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(139, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1599974481985-9bf40d28b39b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8) 0%, rgba(139, 0, 0, 0.6) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
}

.rating-stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.rating-text {
    color: var(--white);
    font-weight: 500;
}

.pricing {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-buttons .btn {
    margin: 0.5rem 0;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

.info-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-item p {
    margin: 0;
    color: var(--gray);
}

/* Services Section */
.services-section {
    background-color: var(--light-color);
}

.service-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
}

.menu-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.menu-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-image img {
    transform: scale(1.1);
}

.menu-content {
    padding: 1.5rem;
    position: relative;
}

.menu-content h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.menu-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-price {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.specialty-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.specialty-item h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
}

.rating-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-stars-large {
    font-size: 2rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.rating-text-large {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 500;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.review-rating {
    color: var(--warning);
}

.highlight-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Schedule Section */
.schedule-section {
    padding: 5rem 0;
}

.schedule-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-weight: 600;
    color: var(--dark-color);
}

.schedule-item .hours {
    color: var(--gray);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background: var(--success);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Reservation Section */
.reservation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
}

.reservation-section .card {
    border-radius: 20px;
}

.reservation-section .form-control,
.reservation-section .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1rem;
    transition: border-color 0.3s ease;
}

.reservation-section .form-control:focus,
.reservation-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.reservation-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.reservation-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 30px;
}

.contact-item h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    color: var(--gray);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.footer h5, .footer h6 {
    color: var(--primary-color);
    font-weight: 600;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

/* Banner Tienda Online */
.tienda-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    z-index: 9998;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--dark-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease forwards;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tienda-banner:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.tienda-banner-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 15px;
}

.tienda-banner-texto {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.tienda-banner-texto i {
    font-size: 1.4rem;
    color: var(--dark-color);
    animation: bounce 2s infinite;
}

.tienda-banner-boton {
    background: var(--white);
    color: var(--dark-color);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.tienda-banner-boton:hover {
    transform: scale(1.05);
    background: var(--light-color);
    color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.tienda-banner-boton:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.tienda-banner-cerrar {
    background: transparent;
    border: none;
    color: var(--dark-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
}

.tienda-banner-cerrar:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.tienda-banner-cerrar:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

/* Estilos para mensajes del formulario de reservas */
#reservationMsg {
    border-radius: 10px;
    font-weight: 500;
    margin-bottom: 1rem;
}

#reservationMsg .alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#reservationMsg .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid var(--success);
}

#reservationMsg .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1c2c7 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

#reservationMsg .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid var(--warning);
}

#reservationMsg .alert i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* Mejoras en el formulario de reservas */
.reservation-section .form-control:focus,
.reservation-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.reservation-section .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.reservation-section .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.reservation-section .btn-primary:disabled {
    background-color: var(--gray);
    border-color: var(--gray);
    opacity: 0.7;
}

.reservation-section .btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Estilos adicionales para la validación del formulario */
.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success);
    background-image: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--success);
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item,
.review-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Estados del banner */
.tienda-banner.hidden {
    animation: slideOutDown 0.5s ease forwards;
}

@keyframes slideOutDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Efectos de hover para botones */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-info-card {
        margin-top: 3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .tienda-banner {
        width: 95%;
        max-width: none;
        bottom: 15px;
    }
    
    .tienda-banner-contenido {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .tienda-banner-texto {
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .tienda-banner-texto i {
        font-size: 1.2rem;
    }
    
    .tienda-banner-boton {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .tienda-banner-cerrar {
        font-size: 24px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .menu-item {
        margin-bottom: 2rem;
    }
    
    .reservation-section .btn-primary {
        width: 100%;
    }
    
    .tienda-banner-contenido {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .tienda-banner-texto {
        justify-content: center;
    }
    
    .tienda-banner-cerrar {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

/* Fin de los estilos personalizados */
