* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC2626;
    --secondary-red: #EF4444;
    --accent-red: #F87171;
    --light-red: #FEE2E2;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --medium-gray: #E5E7EB;
    --text-dark: #1F2937;
    --text-medium: #475569;
    --text-light: #64748B;
    --border-gray: #E5E7EB;
    --font-primary: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--light-gray);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 1.25rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

.cart-icon {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

.cart-icon:hover {
    background-color: #DC2626;
}

#cart-count {
    background-color: var(--white);
    color: var(--primary-red);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(239, 68, 68, 0.9)), url('https://images.unsplash.com/photo-1571091718767-18b5b1457add?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Categories */
.categories-section {
    padding: 2rem 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--border-gray);
}

.categories-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background-color: var(--light-gray);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Menu */
.menu-section {
    padding: 3rem 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-image {
    width: 100%;
    height: 220px;
    background: var(--light-red);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-info {
    padding: 1.5rem;
}

.item-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.item-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.item-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.btn-add-item {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.875rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-add-item:hover {
    background-color: #DC2626;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-red);
    color: var(--white);
}

.cart-header h2 {
    color: var(--white);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 1.25rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.cart-total {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.btn-checkout {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.btn-checkout:hover {
    background-color: #DC2626;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Botão Portfolio */
.btn-portfolio {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s;
}

.btn-portfolio:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

