:root {
    --primary-color: #D32F2F; /* Rojo llamativo */
    --secondary-color: #FFC107; /* Amarillo apetitoso */
    --dark-color: #121212; /* Negro */
    --light-color: #f8f9fa; /* Gris muy claro */
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --hover-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.section-title.text-center {
    text-align: center;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #FFB300;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--dark-color);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.navbar .logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 2px;
}

.navbar .logo span {
    color: var(--secondary-color);
}

.navbar .logo-img {
    height: 60px;
    width: auto;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: calc(100vh - 70px);
    height: auto;
    background-color: #111;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/fuego_sola.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 60px 20px 60px;
    margin-top: 70px;
    transition: background-image 1s ease-in-out;
}

.hero-award {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#b-circledLeaves27 {
    display: inline-flex !important;
    text-decoration: none;
    box-shadow: none;
    margin: 0 auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 193, 7, 0.45));
    transition: transform 0.35s ease, filter 0.35s ease;
}

#b-circledLeaves27:hover {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(255, 193, 7, 0.75));
}

#b-circledLeaves27 .b-circledLeaves27title,
#b-circledLeaves27 .b-circledLeaves27__title {
    font-family: 'PlayfairDisplay ExtraBold', 'Oswald', serif;
    font-size: 15px;
    line-height: 20px;
    margin: 0;
    padding: 0 17px;
    text-align: center;
    color: #fff !important;
    text-transform: uppercase;
    margin-top: 33px;
    font-weight: 800;
    letter-spacing: 1px;
}

#b-circledLeaves27 .b-circledLeaves27separator,
#b-circledLeaves27 .b-circledLeaves27__separator {
    display: block;
    width: 24px;
    height: 1px;
    background: #FFC107;
    margin: 4px auto;
}

#b-circledLeaves27 .b-circledLeaves27_name,
#b-circledLeaves27 .b-circledLeaves27__name {
    font-family: 'Inter SemiBold', 'Montserrat', sans-serif;
    font-size: 11px;
    line-height: 13px;
    text-align: center;
    color: #E0E0E0 !important;
    margin: 0 35px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-content h2 {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Animaciones */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Sobre Nosotros --- */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* --- Menu --- */
.menu-section {
    padding: 80px 0;
    background-color: var(--dark-color);
    color: var(--white);
}

.menu-section .section-title {
    color: var(--secondary-color);
}

.category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px dashed #444;
    padding-bottom: 10px;
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.1);
}

.menu-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #111;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-content {
    padding: 20px;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-card-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.menu-card-desc {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 15px;
    min-height: 45px;
}

.menu-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.menu-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--white);
}

.add-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background-color: #B71C1C;
    transform: scale(1.05);
}

.menu-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.menu-list-item h4 {
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
}

/* --- Galería --- */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    background-color: #111;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: white;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* --- Servicios --- */
.services {
    padding: 50px 0;
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.services .section-title {
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-item p {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

/* --- Contacto --- */
.contact {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    width: 25px;
}

.contact-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-map iframe {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-brand h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.footer-social {
    margin: 20px 0;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --- Botón WhatsApp Flotante --- */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Del lado izquierdo para no tapar el carrito */
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    line-height: 60px;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* --- Carrito Flotante --- */
.cart-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.cart-trigger:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-color);
}

/* --- Sidebar Carrito --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    background-color: var(--dark-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-color);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #eee;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.remove-item {
    color: var(--primary-color);
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    background-color: var(--light-color);
    border-top: 1px solid #ddd;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* --- Modal Checkout --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1002;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: var(--dark-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.delivery-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #777;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* --- Horario de Servicio --- */
.schedule-section {
    padding: 80px 0;
    background-color: #161616;
    color: var(--white);
    position: relative;
}

.schedule-section .section-title {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 40px;
}

.schedule-container {
    max-width: 680px;
    margin: 0 auto;
}

.schedule-card {
    background: #212121;
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: var(--transition);
}

.schedule-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.45);
}

.schedule-card-header {
    background: linear-gradient(135deg, #181818, #282828);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
    gap: 12px;
}

.schedule-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    letter-spacing: 0.5px;
}

.schedule-header-title i {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: #2e2e2e;
    color: #ddd;
    transition: var(--transition);
}

.status-indicator.open {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid #25D366;
}

.status-indicator.closed {
    background: rgba(211, 47, 47, 0.15);
    color: #ff5252;
    border: 1px solid #ff5252;
}

.status-indicator .status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: #888;
}

.status-indicator.open .status-dot {
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    animation: pulseDot 1.8s infinite;
}

.status-indicator.closed .status-dot {
    background: #ff5252;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.schedule-table {
    padding: 22px 25px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.schedule-item.today {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.45);
}

.schedule-item .day {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.schedule-item .day i {
    color: var(--secondary-color);
    width: 18px;
}

.schedule-item .hours {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #f1f1f1;
}

.today-badge {
    font-size: 0.72rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.status-tag.closed {
    background: #D32F2F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.schedule-card-footer {
    background: #1a1a1a;
    padding: 20px 25px;
    text-align: center;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.schedule-card-footer p {
    color: #aaa;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-card-footer p i {
    color: var(--secondary-color);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .menu-bottom-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
