/* Don Beto - Ultra Premium Taco Restaurant Styles */

:root {
   /* Root Variables */
    --primary-gold: #ffd700;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --card-bg: #1a1a1a;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-gold: rgba(255, 215, 0, 0.3);
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

input, textarea, .form-control {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

button, a, select, input, textarea, .btn, .nav-link, .quantity-select, .cart-button, .navbar-toggler, .btn-close {
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

@media print {
    body {
        display: none !important;
    }
}

/* Navigation */
.premium-navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1050;
}

.premium-navbar.scrolled {
    background: rgba(10, 10, 10, 0.98) !important;
    box-shadow: 0 2px 20px var(--shadow-dark);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1565299624946-b28f40a0ca4b?ixlib=rb-4.0.3') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .btn-premium {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    border: 3px solid #FFD700 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 15px 35px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 999 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.hero-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.brand-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-decoration {
    font-size: 4rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn-premium {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    border: 3px solid #FFD700 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    display: inline-block !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Remove conflicting overrides */

button[type="button"], .btn[type="button"], input[type="button"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057) !important;
    border: 3px solid #6c757d !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.8) !important;
    display: inline-block !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 999 !important;
}

.btn-premium:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.9) !important;
    color: #000000 !important;
    background: linear-gradient(45deg, #FFA500, #FFD700) !important;
    border: 3px solid #FFA500 !important;
}

/* Menu Sections */
.menu-section {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-gold);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
    transform: scale(1);
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(45deg, var(--success), #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.price-tag.special {
    background: linear-gradient(45deg, var(--warning), #fd7e14);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.price-tag.premium {
    background: linear-gradient(45deg, var(--danger), #e83e8c);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.quantity-select {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    color: var(--text-light) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quantity-select:focus {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25) !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

.quantity-select option {
    background: var(--dark-bg);
    color: var(--text-light);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    z-index: 1000;
    min-width: 200px;
    max-width: 250px;
    backdrop-filter: blur(10px);
    animation: cartFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 15px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
        width: calc(100% - 30px);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .floating-cart {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        padding: 8px;
        border-radius: 10px;
        z-index: 999;
    }
}

/* Add bottom padding to last section to prevent overlap */
#postres {
    padding-bottom: 120px !important;
}

@media (max-width: 768px) {
    #postres {
        padding-bottom: 140px !important;
    }
}

@media (max-width: 480px) {
    #postres {
        padding-bottom: 160px !important;
    }
}

.cart-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ffd700;
}

@media (max-width: 768px) {
    .cart-header {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
}

.cart-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #ffd700;
}

@media (max-width: 768px) {
    .cart-logo {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
}

.cart-info h6 {
    color: #ffd700;
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cart-info h6 {
        font-size: 0.8rem;
    }
}

.cart-info small {
    color: #ccc;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .cart-info small {
        font-size: 0.7rem;
    }
}

.cart-total {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4);
    animation: totalPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .cart-total {
        padding: 8px;
        margin-bottom: 8px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .cart-total {
        padding: 6px;
        font-size: 0.9rem;
    }
}

.cart-button {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: 3px solid #28a745 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.8) !important;
    opacity: 1 !important;
    display: block !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 999 !important;
}

@media (max-width: 768px) {
    .cart-button {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .cart-button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

.cart-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.8) !important;
    background: linear-gradient(45deg, #218838, #1e7e34) !important;
    color: white !important;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.7) !important;
    background: linear-gradient(45deg, #495057, #343a40) !important;
    color: white !important;
}

@keyframes cartFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes totalPulse {
    0%, 100% { box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 3px 18px rgba(255, 215, 0, 0.6); }
}

/* Order Summary Modal */
.modal-content {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-title {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.order-summary-content {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    font-family: 'Inter', monospace;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-cart {
        min-width: 250px;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .floating-cart {
        bottom: 20px;
        right: 20px;
        min-width: 220px;
        padding: 1rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .floating-cart {
        bottom: 15px;
        right: 15px;
        min-width: 200px;
        padding: 0.8rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-premium {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Dark theme for queso section */
.bg-dark .section-title {
    color: var(--primary-gold);
}

.bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-gold), var(--primary-gold));
}
