:root {
    --primary: #8B3A3A;
    --secondary: #D4AF6A;
    --accent: #7B4F8C;
    --background: #FFF8E7;
    --text: #4A4A4A;
    --coral: #E89B6B;
}

* {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, .heading {
    font-family: 'Playfair Display', serif;
}

body {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF3DC 100%);
    color: var(--text);
    min-height: 100vh;
}

/* LOGO */
.logo-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 4px solid var(--secondary);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(139, 58, 58, 0.15);
    transition: all 0.4s ease;
}

.logo-container:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 15px 50px rgba(139, 58, 58, 0.25);
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* HEADER */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.tagline-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 1rem;
}

.tagline-item {
    color: var(--coral);
    font-weight: 500;
}

.tagline-divider {
    color: var(--secondary);
    font-weight: 700;
}

/* STATUS BADGE */
.status-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-open {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
}

.status-closed {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #991B1B;
}

/* BOTONES */
.btn-link {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-link:hover::before {
    left: 100%;
}

.btn-link:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(123, 79, 140, 0.2);
    transform: translateY(-4px) scale(1.01);
}

.btn-link:active {
    transform: translateY(-2px) scale(0.99);
}

.icon-box {
    background: linear-gradient(135deg, rgba(139, 58, 58, 0.08) 0%, rgba(212, 175, 106, 0.08) 100%);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    font-size: 24px;
    transition: all 0.3s ease;
}

.btn-link:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.icon-location { color: var(--primary); }
.icon-directions { color: var(--accent); }
.icon-menu { color: var(--secondary); }
.icon-instagram { color: #E1306C; }
.icon-facebook { color: #1877F2; }

.btn-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.btn-subtitle {
    font-size: 0.8rem;
    color: var(--coral);
    margin-top: 4px;
}

.btn-arrow {
    color: var(--secondary);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-link:hover .btn-arrow {
    transform: translateX(5px);
}

/* DIVIDER */
.divider-fancy {
    height: 3px;
    margin: 50px 0;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--accent), var(--secondary), transparent);
    border-radius: 10px;
    position: relative;
}

.divider-fancy::before {
    content: '🍽️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--background);
    padding: 0 15px;
    font-size: 24px;
}

/* SECTION TITLES */
.section-title {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--coral), var(--accent));
    border-radius: 10px;
}

.subsection-title {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* MENU GRID */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    padding: 20px 0;
}

@media (max-width: 640px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* MENU CARDS CON IMAGEN */
.menu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid var(--secondary);
    cursor: pointer;
    position: relative;
}

.menu-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-left-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
}

.menu-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-image {
    transform: scale(1.15);
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 58, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.menu-card:hover .menu-overlay {
    opacity: 1;
}

/* MENU CARDS SIN IMAGEN */
.menu-card-simple {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary);
    cursor: default;
}

.menu-card-simple:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent);
    transform: translateY(-4px);
}

.menu-card-simple.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 106, 0.15) 0%, rgba(232, 155, 107, 0.15) 100%);
    border-left-color: var(--coral);
    border-left-width: 5px;
}

.menu-content {
    padding: 20px;
}

.menu-title {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.menu-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 58, 58, 0.95) 0%, rgba(123, 79, 140, 0.95) 100%);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: block;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    border: 4px solid var(--secondary);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--background);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--coral), var(--secondary));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    background: linear-gradient(135deg, var(--secondary), var(--coral));
    transform: scale(1.15) rotate(90deg);
}

#lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--background);
    background: linear-gradient(135deg, rgba(139, 58, 58, 0.9), rgba(212, 175, 106, 0.9));
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--secondary);
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 35px;
    }

    #lightbox-caption {
        bottom: 20px;
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* FOOTER */
.footer-section {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 4rem;
    padding: 2rem 0;
    color: var(--text);
    opacity: 0.8;
    border-top: 2px solid rgba(212, 175, 106, 0.3);
}

/* ANIMATIONS */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.animate-in {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* STATUS Y LANGUAGE CONTAINER */
.status-language-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(139, 58, 58, 0.1), rgba(212, 175, 106, 0.1));
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
}

.lang-option.active .lang-text {
    color: white;
}

.flag-icon {
    font-size: 20px;
    line-height: 1;
}

.lang-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

.lang-divider {
    color: var(--secondary);
    font-weight: 300;
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .status-language-container {
        flex-direction: column;
        gap: 12px;
    }

    .language-switcher {
        padding: 6px 12px;
    }

    .flag-icon {
        font-size: 18px;
    }

    .lang-text {
        font-size: 13px;
    }
}
