:root {
    --primary: #FF4500;
    --primary-hover: #E03D00;
    --bg-dark: #0A0A0A;
    --bg-surface: #141414;
    --bg-elevated: #1F1F1F;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --border-color: #2A2A2A;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top right, rgba(255, 69, 0, 0.08), transparent 500px),
                      radial-gradient(circle at bottom left, rgba(255, 69, 0, 0.05), transparent 400px);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(255,69,0,0.2); }
    50% { box-shadow: 0 0 20px rgba(255,69,0,0.5); }
    100% { box-shadow: 0 0 10px rgba(255,69,0,0.2); }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-fire {
    background: linear-gradient(135deg, var(--primary), #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #FF6347);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-whatsapp, .btn-anotaai, .btn-ifood {
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
}

.btn-anotaai:hover {
    background: rgba(108, 92, 231, 0.15);
    border-color: #6c5ce7;
    color: #aba4f1;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.25);
}

.btn-ifood:hover {
    background: rgba(234, 29, 44, 0.15);
    border-color: #EA1D2C;
    color: #ff6b76;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 29, 44, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-floating {
    position: absolute;
    top: 5px;
    left: 2rem;
    z-index: 1001;
    display: flex;
    text-decoration: none;
}

.logo-floating-img {
    height: 160px; /* Logo maior e destacada */
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.navbar.scrolled .logo-floating-img {
    height: 100px; /* Reduz ao scrollar para não atrapalhar muito a visualização da página */
    margin-top: -5px;
}

.logo-floating:hover .logo-floating-img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(255, 69, 0, 0.4));
}

.logo-spacer {
    width: 160px; /* Mantém o espaço para manter o resto centralizado/equilibrado */
}

@media (max-width: 768px) {
    .logo-spacer {
        width: 80px;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-toggle {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.cart-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1550547660-d9450f859349?q=80&w=1965&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.25rem;
    color: #DCDCDC;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.menu-card {
    background: linear-gradient(145deg, var(--bg-surface), #111111);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.5);
}

.card-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-add {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.btn-add:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-elevated);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.qty-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.btn-checkout {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.15rem;
}

footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    font-size: 1.05rem;
}

.platform-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-main);
    background: var(--bg-elevated);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.developer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.6);
}

@media (max-width: 768px) {
    .menu-categories {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .menu-categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn {
        flex: 0 0 auto;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-floating {
        top: 1rem;
        left: 1.5rem;
    }

    .logo-floating-img {
        height: 90px;
    }

    .navbar.scrolled .logo-floating-img {
        height: 70px;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem;
    }

    .menu {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cart-sidebar {
        max-width: 100%;
        right: -100%;
    }

    .footer-content {
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p, .footer-links, .footer-social {
        margin-left: auto;
        margin-right: auto;
    }

    .platform-link {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}
