/* ==========================================
   PIZZERIA NAPOLETANA - MAIN STYLES
   Mobile-First Responsive Design
   ========================================== */

/* CSS Variables */
:root {
    --primary-red: #8B0000;
    --primary-red-dark: #6B0000;
    --primary-green: #006400;
    --primary-green-light: #228B22;
    --cream: #F5F5DC;
    --cream-light: #FFFEF0;
    --gold: #DAA520;
    --gold-light: #FFD700;
    --text-dark: #2C2C2C;
    --text-light: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.2);
    --shadow-strong: rgba(0, 0, 0, 0.4);
    --border-decorative: #8B4513;
    --success-green: #28a745;
    --whatsapp-green: #25D366;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   LANDING PAGE - WELCOME SCREEN
   ========================================== */

.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 50%, var(--primary-green) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-content {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 400px;
}

.italian-flag-landing {
    height: 10px;
    background: linear-gradient(90deg, 
        #009246 0%, #009246 33.33%, 
        #FFFFFF 33.33%, #FFFFFF 66.66%, 
        #CE2B37 66.66%, #CE2B37 100%);
    border-radius: 5px;
    margin-bottom: 50px;
}

.italian-flag-landing.bottom {
    margin-bottom: 0;
    margin-top: 50px;
}

.landing-logo {
    margin-bottom: 50px;
}

.logo-icon {
    font-size: 5rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px var(--shadow-strong);
    animation: pulse-logo 2s ease infinite;
}

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

.landing-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    text-shadow: 4px 4px 8px var(--shadow-strong);
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.landing-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-light);
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.landing-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 2px;
}

.btn-enter-menu {
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(145deg, var(--primary-red), var(--primary-red-dark));
    color: var(--text-light);
    border: 4px solid var(--gold-light);
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-strong);
    letter-spacing: 2px;
}

.btn-enter-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-strong);
    background: linear-gradient(145deg, var(--primary-red-dark), var(--primary-red));
}

.btn-enter-menu:active {
    transform: scale(0.98);
}

.btn-enter-menu i {
    font-size: 1.5rem;
}

/* Italian Flag Stripe */
.italian-flag {
    height: 8px;
    background: linear-gradient(90deg, 
        #009246 0%, #009246 33.33%, 
        #FFFFFF 33.33%, #FFFFFF 66.66%, 
        #CE2B37 66.66%, #CE2B37 100%);
}

.italian-flag.top {
    position: relative;
    z-index: 100;
}

/* Header */
.header {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 99;
    box-shadow: 0 4px 15px var(--shadow);
}

.header-content {
    padding: 20px 15px;
}

.restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-shadow: 3px 3px 6px var(--shadow-strong);
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.restaurant-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-light);
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: 3px;
}

.order-counter {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid var(--gold-light);
}

.counter-label {
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
}

.counter-number {
    color: var(--gold-light);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* Menu Container */
.menu-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
    padding-bottom: 120px;
}

/* Menu Section */
.menu-section {
    margin-bottom: 30px;
    background: var(--cream-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    border: 3px solid var(--border-decorative);
}

.section-header {
    background: linear-gradient(90deg, var(--primary-red-dark), var(--primary-red), var(--primary-red-dark));
    padding: 18px 20px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: 3px;
}

/* Menu Items */
.menu-items {
    padding: 15px;
}

.menu-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    margin-bottom: 15px;
    background: linear-gradient(145deg, #FFFFFF, var(--cream));
    border-radius: 12px;
    border: 2px solid var(--border-decorative);
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.menu-item:active {
    transform: scale(0.98);
}

.item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 3px 10px var(--shadow);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red-dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.item-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, var(--primary-red), var(--primary-red-dark));
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 3px 10px var(--shadow);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--text-light);
    color: var(--primary-red);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px var(--shadow);
}

.qty-btn:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.quantity {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 30px;
    text-align: center;
}

/* Footer Space */
.footer-space {
    height: 100px;
}

/* Order Bar - Modified */
.order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--primary-red-dark), var(--primary-red), var(--primary-red-dark));
    padding: 0;
    z-index: 1000;
    box-shadow: 0 -5px 25px var(--shadow-strong);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
}

.order-bar-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.order-bar-left {
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.order-bar-total-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.order-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
}

.order-bar-center {
    flex: 1;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 18px 15px;
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--cream-light);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(90deg, var(--primary-red-dark), var(--primary-red), var(--primary-red-dark));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: var(--gold-light);
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    max-height: 55vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    background: var(--cream);
}

/* Order Summary with +/- controls */
.order-summary {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    border: 2px solid #eee;
    box-shadow: 0 2px 8px var(--shadow);
}

.order-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.order-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.order-qty-btn.minus {
    background: #EF4444;
    color: white;
}

.order-qty-btn.plus {
    background: var(--success-green);
    color: white;
}

.order-qty-btn:hover {
    transform: scale(1.1);
}

.order-item-qty {
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

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

.order-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.order-item-unit-price {
    font-size: 0.85rem;
    color: #888;
}

.order-item-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-red);
}

.empty-order {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-order i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ccc;
}

.empty-order p {
    font-size: 1.2rem;
}

/* Order Total Section */
.order-total-section {
    background: linear-gradient(145deg, #f8f8f8, #fff);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row span:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.total-row span:last-child {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
}

/* Customer Name Section */
.customer-name-section {
    margin-top: 15px;
}

.name-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.customer-name-input {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.3rem;
    font-weight: 600;
    border: 3px solid var(--primary-red);
    border-radius: 12px;
    background: white;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
}

.customer-name-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.2);
}

.customer-name-input::placeholder {
    color: #bbb;
    font-weight: 400;
    font-size: 1.1rem;
}

/* WhatsApp Button in Modal */
.btn-send-whatsapp {
    width: 100%;
    padding: 20px;
    background: linear-gradient(145deg, var(--whatsapp-green), #128C7E);
    border: none;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-send-whatsapp:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-send-whatsapp:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-send-whatsapp i {
    font-size: 1.5rem;
}

/* Buttons */
.btn-select-table {
    width: 100%;
    padding: 18px;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-green-light));
    border: none;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-select-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-select-table:active {
    transform: scale(0.98);
}

/* Table Modal */
.table-modal .modal-body {
    padding: 25px;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.table-btn {
    padding: 22px 15px;
    background: linear-gradient(145deg, white, var(--cream));
    border: 3px solid var(--border-decorative);
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow);
}

.table-btn span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.table-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
    box-shadow: 0 6px 20px var(--shadow);
}

.table-btn.selected {
    background: linear-gradient(145deg, var(--primary-green), var(--primary-green-light));
    border-color: var(--gold-light);
}

.table-btn.selected span {
    color: var(--text-light);
}

/* Para Llevar - special button */
.table-btn.para-llevar {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border-color: var(--gold);
}

.table-btn.para-llevar span {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.table-btn.para-llevar.selected {
    background: linear-gradient(145deg, var(--primary-red), var(--primary-red-dark));
    border-color: var(--gold-light);
}

.table-btn.para-llevar.selected span {
    color: var(--text-light);
}

.selected-table-info {
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--cream);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #666;
    border: 2px dashed var(--border-decorative);
}

.selected-table-info.active {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--text-dark);
    font-weight: 600;
    border: 2px solid var(--gold);
}

/* Success Modal - Modified */
.success-modal {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    margin: auto;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 5rem;
    color: var(--success-green);
    animation: pulse 1s ease infinite;
}

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

.success-modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-message-main {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-message {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.thank-you-message {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.success-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.order-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--cream);
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid var(--border-decorative);
}

.btn-entendido {
    padding: 15px 35px;
    background: linear-gradient(145deg, #EC4899, #9333EA);
    border: none;
    border-radius: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-entendido:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-new-order {
    padding: 18px 40px;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-green-light));
    border: none;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-new-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* Main Footer - Modified with Contact Info */
.main-footer {
    background: linear-gradient(180deg, var(--primary-green-light), var(--primary-green));
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-social {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.admin-link {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.italian-flag-footer {
    height: 6px;
    background: linear-gradient(90deg, 
        #009246 0%, #009246 33.33%, 
        #FFFFFF 33.33%, #FFFFFF 66.66%, 
        #CE2B37 66.66%, #CE2B37 100%);
    border-radius: 3px;
    max-width: 200px;
    margin: 20px auto 0;
}

/* Check Order Button */
.btn-check-order {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--text-dark);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.btn-check-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-check-order:active {
    transform: scale(0.98);
}

/* Search Order Modal */
.search-order-modal .modal-body {
    padding: 30px 20px;
}

.search-order-form {
    text-align: center;
}

.search-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.search-order-input {
    width: 100%;
    padding: 22px 20px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 5px;
    text-align: center;
    border: 3px solid var(--primary-red);
    border-radius: 15px;
    background: var(--cream-light);
    color: var(--text-dark);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.search-order-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 100, 0, 0.2);
}

.search-order-input::placeholder {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #bbb;
}

.btn-search-order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(145deg, var(--primary-red), var(--primary-red-dark));
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-search-order:hover {
    transform: translateY(-2px);
}

.btn-search-order:active {
    transform: scale(0.98);
}

/* Order Result */
.order-result {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 3px solid var(--primary-green);
    box-shadow: 0 5px 25px var(--shadow);
}

.order-result-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--border-decorative);
    margin-bottom: 20px;
}

.order-result-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.order-result-number {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 3px;
}

.order-result-info {
    margin-bottom: 20px;
}

.order-result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.order-result-row:last-child {
    border-bottom: none;
}

.order-result-label {
    font-weight: 600;
    color: #666;
}

.order-result-value {
    font-weight: 700;
    color: var(--text-dark);
}

.order-result-items {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--border-decorative);
}

.order-result-items h5 {
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.order-result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.order-result-total {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-green-light));
    border-radius: 12px;
    text-align: center;
}

.order-result-total-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.order-result-total-value {
    color: var(--gold-light);
    font-size: 2rem;
    font-weight: 800;
}

.order-result-status {
    margin-top: 20px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
}

.status-badge.pending {
    background: #FEF3C7;
    color: #D97706;
}

.status-badge.completed {
    background: #D1FAE5;
    color: #059669;
}

/* Not Found */
.order-not-found {
    margin-top: 30px;
    text-align: center;
    padding: 40px 20px;
    background: #FEE2E2;
    border-radius: 15px;
}

.not-found-icon {
    width: 70px;
    height: 70px;
    background: #EF4444;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.order-not-found h4 {
    font-size: 1.3rem;
    color: #DC2626;
    margin-bottom: 10px;
}

.order-not-found p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    html {
        font-size: 16px;
    }
    
    .landing-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .landing-subtitle {
        font-size: 1.4rem;
    }
    
    .btn-enter-menu {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .restaurant-name {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .restaurant-subtitle {
        font-size: 1.3rem;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .item-image {
        width: 120px;
        height: 120px;
    }
    
    .item-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-bar-content {
        flex-direction: row;
    }
    
    .order-bar-left {
        padding: 15px;
    }
    
    .order-bar-center {
        font-size: 1rem;
        padding: 15px 10px;
    }
    
    .table-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }
    
    .success-footer {
        flex-direction: column;
    }
    
    .order-number {
        width: 100%;
    }
    
    .btn-entendido {
        width: 100%;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 20px;
    }
    
    .menu-container {
        padding: 30px;
    }
    
    .menu-item {
        padding: 25px;
    }
    
    .item-image {
        width: 130px;
        height: 130px;
    }
    
    .modal-content {
        border-radius: 20px;
        margin: auto;
    }
    
    .modal {
        align-items: center;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}
