body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #fff;
}

.category-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.category-image:hover {
    transform: scale(1.1);
    cursor: pointer;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    position: relative;
}

.header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.logo {
    width: 120px;
    height: 60px;
    margin: 0 auto 15px;
    background: url('/images/logo.jpg') no-repeat center center;
    background-size: contain;
}

.restaurant-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.restaurant-address {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: #4FC3F7;
    color: white;
}

.tab.inactive {
    background: #f0f0f0;
    color: #666;
}

.search-bar {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #f9f9f9;
}

.menu-categories {
    padding: 20px;
}

.category-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item:hover {
    transform: scale(1.02);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Category backgrounds */
.chicken-sandwiches {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23D2691E" width="400" height="200"/><circle fill="%23F4A460" cx="200" cy="100" r="60"/></svg>');
}

.steak-sandwiches {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23654321" width="400" height="200"/><rect fill="%23A0522D" x="150" y="80" width="100" height="40"/></svg>');
}

.tortilla {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23DEB887" width="400" height="200"/><circle fill="%23F5DEB3" cx="200" cy="100" r="50"/></svg>');
}

.beef-burgers {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%238B4513" width="400" height="200"/><circle fill="%23D2691E" cx="200" cy="100" r="55"/></svg>');
}

.chicken-burgers {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23CD853F" width="400" height="200"/><circle fill="%23F4A460" cx="200" cy="100" r="55"/></svg>');
}

.appetizers {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23DAA520" width="400" height="200"/><circle fill="%23FFD700" cx="200" cy="100" r="40"/></svg>');
}

.plates {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23B8860B" width="400" height="200"/><rect fill="%23DAA520" x="100" y="70" width="200" height="60"/></svg>');
}

.pasta {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23F0E68C" width="400" height="200"/><circle fill="%23FFFFE0" cx="200" cy="100" r="45"/></svg>');
}

.sauces {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23DC143C" width="400" height="200"/><circle fill="%23FF6347" cx="180" cy="90" r="25"/><circle fill="%23FFD700" cx="220" cy="110" r="20"/></svg>');
}

/* Detail View */
.detail-view {
    display: none;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.detail-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.detail-logo {
    width: 80px;
    height: 40px;
    background: url('/images/logo.jpg') no-repeat center center;
    background-size: contain;
}

.detail-info {
    flex: 1;
}

.detail-restaurant-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.detail-address {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-tabs {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
}

.category-title-detail {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.menu-items {
    padding: 20px;
}

.menu-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.item-price {
    font-size: 16px;
    font-weight: bold;
    color: #4FC3F7;
}

.currency {
    font-size: 12px;
    vertical-align: super;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #ccc;
    font-size: 12px;
}