:root {
    --primary: #d00000;
    /* Vibrant Red from reference */
    --primary-light: #ff1a1a;
    --gold: #f4d03f;
    /* Bright Yellow from reference */
    --gold-light: #ffea00;
    --black: #000000;
    --dark-grey: #121212;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Anton', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

select {
    overflow: scroll;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-red {
    background-color: var(--primary);
    color: var(--white);
    padding: 0 15px;
    display: inline-block;
}

.gold {
    color: var(--gold);
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: url('img/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    color: var(--white);
    background-color: var(--primary);
    padding: 5px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-text {
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease both 0.2s;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

/* Features Section */
.features {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: #0d0d0d;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.menu-item {
    background: var(--dark-grey);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.menu-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.menu-item-img {
    height: 250px;
    width: 100%;
    position: relative;
}

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

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

.img-referencial {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.65rem;
    font-style: italic;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 4;
}
.sauce-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sauce-badge .icon {
    font-size: 0.9rem;
}

.menu-item-info {
    padding: 1.5rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.item-header h3 {
    font-size: 1.4rem;
    color: var(--white);
}

.price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.2rem;
}

.menu-item-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.add-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.contact-info {
    padding: 4rem;
}

.info-list {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.social-links {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #800000 100%);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2.5rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s ease-in-out;
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .contact-info,
    .contact-cta {
        padding: 2.5rem 1.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    footer .container {
        padding: 0 1rem;
    }
}

/* Shopping Cart Styles */
.cart-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #d4af37;
    /* Fallback for gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.cart-floating-btn:hover {
    transform: scale(1.1);
    background-color: #f1c40f;
}

.cart-icon {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.82, 0.01, 0.77, 0.41);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: 'Anton', sans-serif;
    letter-spacing: 1px;
    color: #d4af37;
    margin: 0;
}

.close-drawer {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-items-container {
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: #666;
    margin-top: 50px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: white;
}

.cart-item-info .price {
    color: #d4af37;
    font-weight: 600;
}

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

.qty-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #d4af37;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

#cartTotalText {
    color: #d4af37;
}

.btn-block {
    width: 100%;
}

/* Cart Form Styles */
.cart-form {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--gold, #d4af37);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold, #d4af37);
    background: rgba(255, 255, 255, 0.1);
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: white;
    font-size: 14px;
}

.radio-label input[type="radio"] {
    accent-color: var(--gold, #d4af37);
}

.delivery-disclaimer {
    font-size: 12px;
    color: #e67e22;
    /* Orange-ish warning color */
    margin-top: 8px;
    padding: 8px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 4px;
    border-left: 3px solid #e67e22;
    line-height: 1.4;
}

option {
    background: #1a1a1a;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-grey);
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--gold);
    margin: 0;
}

.close-modal {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

#sauceLimitText {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary);
}

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

.sauce-option {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.sauce-option img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
}

.sauce-option h4 {
    font-size: 0.8rem;
    margin: 0 0 5px 0;
    color: var(--white);
}

.sauce-qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sauce-qty-btn {
    background: var(--primary);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sauce-qty {
    font-weight: bold;
    min-width: 15px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.sauce-option.selected {
    border-color: var(--gold);
    background: rgba(244, 208, 63, 0.1);
}

.cart-item-sauces {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-style: italic;
}

.ingredient-change-section input,
.ingredient-change-section select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.ingredient-change-section input:focus,
.ingredient-change-section select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.ingredient-change-section select optgroup {
    background: var(--dark-grey);
    color: var(--gold);
    font-weight: 600;
}

.roll-selection-card {
    transition: var(--transition);
}

.roll-selection-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.roll-type-badge {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.roll-type-select {
    background: var(--gold);
    color: black;
    border: none;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.roll-fields-grid .form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roll-fields-grid select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 4px;
    border-radius: 6px;
    font-size: 0.85rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

.roll-fields-grid select option {
    padding: 5px 8px;
    cursor: pointer;
}

.roll-fields-grid select option:checked,
.roll-fields-grid select option:focus {
    background: var(--primary);
    color: white;
}

.roll-fields-grid select::-webkit-scrollbar {
    width: 6px;
}

.roll-fields-grid select::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.roll-fields-grid select::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Cambiar ingrediente listbox */
#changeTo {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

#changeTo option {
    padding: 5px 8px;
    cursor: pointer;
}

#changeTo option:checked,
#changeTo option:focus {
    background: var(--primary);
    color: white;
}

#changeTo::-webkit-scrollbar {
    width: 6px;
}

#changeTo::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

#changeTo::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.edit-item-btn {
    background: var(--gold);
    color: black;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
}

.edit-item-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.form-group input[type="email"],
.form-group select {
    width: 100%;
    color: white;
    font-family: inherit;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-image: initial;
    border-radius: 8px;
    transition: 0.3s;
}

.form-group input[type="tel"],
.form-group select {
    width: 100%;
    color: white;
    font-family: inherit;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-image: initial;
    border-radius: 8px;
    transition: 0.3s;
}

/* ── Estilos Extra para Modal de Advertencia ── */
#activeOrderModal .btn {
    padding: 12px;
    font-size: 0.9rem;
}

#activeOrderModal .btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

#activeOrderModal .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}