/* Catering Public Site - Minimal & Luxurious Design */

:root {
    --accent-color: #FF0A0F;
    --accent-dark: #CC0000;
    --text-primary: #2d2d2d;
    --text-secondary: #6b6b6b;
    --text-light: #9a9a9a;
    --bg-cream: #fafaf8;
    --bg-white: #ffffff;
    --border-light: #e8e8e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-banner h1 {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-banner .subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 10, 15, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 10, 15, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Cart Badge */
.cart-badge {
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    min-width: 24px;
    text-align: center;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

/* Category Section */
.category-section {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 48px;
}

.category-header h2 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.category-header p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Menu Grid */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.menu-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.menu-item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--bg-cream);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover .menu-item-image {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 28px;
}

.menu-item-content h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.menu-item-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.menu-item-serves {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: var(--bg-cream);
    border-radius: 6px;
    display: inline-block;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-original {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Cart Page */
.cart-container {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.cart-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-cream);
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-details h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cart-item-price {
    color: var(--text-secondary);
    font-size: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-control input {
    width: 70px;
    padding: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s;
}

.qty-control input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.cart-totals {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}

.cart-total-row:last-child {
    border-bottom: none;
    border-top: 2px solid var(--text-primary);
    margin-top: 8px;
    padding-top: 24px;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 10, 15, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Messages */
.message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid;
    font-size: 15px;
}

.message-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.message-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.message-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.message-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0;
    margin-top: 100px;
}

footer a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 1;
}

/* Utility */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 100px 24px;
    color: var(--text-secondary);
}

.empty-state h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }

    .menu-item-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0 40px;
    }

    .hero-banner h1 {
        font-size: 40px;
    }

    .hero-banner .subtitle {
        font-size: 18px;
    }

    .main-content {
        padding: 48px 0;
    }

    .category-section {
        margin-bottom: 56px;
    }

    .category-header h2 {
        font-size: 32px;
    }

    .category-header p {
        font-size: 16px;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .menu-item-image {
        height: 220px;
    }

    .menu-item-content {
        padding: 24px;
    }

    .cart-item {
        flex-direction: column;
        gap: 16px;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 32px;
    }

    .hero-banner .subtitle {
        font-size: 16px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .category-header h2 {
        font-size: 28px;
    }

    .menu-item-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .menu-item-footer .btn {
        width: 100%;
    }
}
