* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background: #fafafa;
    --card-shadow: 0 8px 25px rgba(0,0,0,0.1);
    --border-radius: 15px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #ecf0f1 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e74c3c 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    background: #fff;
}

.restaurant-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.cart-container {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    color: white;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 200px;
    background: #333; /* Placeholder color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
}

/* Menu */
.menu-container {
    padding: 30px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.item-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    padding-bottom: 15px;
}

.item-info { padding: 15px; }
.item-name { font-size: 18px; margin-bottom: 5px; }
.item-description { font-size: 13px; color: var(--text-light); margin-bottom: 15px; }
.item-footer { display: flex; justify-content: space-between; align-items: center; }
.item-price { font-weight: bold; color: var(--primary-color); font-size: 18px; }

.add-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Modal Carrito */
.cart-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-content {
    background: white;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.cart-items-container {
    max-height: 40vh;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.remove-btn {
    background: #ffdddd;
    color: red;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 10px;
}

.continue-btn, .order-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 14px;
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}