/* ===== DELIVERY TECH - STYLES.CSS ===== */

/* Estilos personalizados e configuração do Tailwind */
body {
    background-color: #1C1C1C;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .font-tech {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.text-glow {
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.7), 0 0 10px rgba(255, 215, 0, 0.5);
}

.btn-primary {
    background: #FF4500;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #e63900;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #FF4500;
    color: #FF4500;
    font-weight: bold;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF4500;
    color: white;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animação para o ícone do carrinho */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake-cart {
    animation: shake 0.5s ease-in-out;
}

/* ===== HEADER STYLES ===== */
#header {
    background: rgba(28, 28, 28, 0.8);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* ===== CART SIDEBAR STYLES ===== */
#cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: #181818;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

#cart-sidebar.show {
    transform: translateX(0);
}

/* ===== HERO SECTION ===== */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

#home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

#home .text-center {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

/* ===== MENU SECTION ===== */
#menu {
    padding: 5rem 0;
    background: rgba(17, 24, 39, 0.5);
}

.menu-card {
    background: #2a2a2a;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.menu-card:hover {
    transform: scale(1.05);
    border-color: #FF4500;
}

.menu-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.menu-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.menu-card .description {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    flex-grow: 1;
}

.menu-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.menu-card .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #FFD700;
}

/* ===== CONTACT SECTION ===== */
#contact {
    padding: 8rem 0;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

#contact .container {
    position: relative;
    z-index: 10;
}

/* ===== LOCATION SECTION ===== */
#location {
    padding: 5rem 0;
}

.location-map {
    height: 24rem;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background: black;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF4500;
}

/* ===== CART ITEM STYLES ===== */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #2a2a2a;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.cart-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.375rem;
}

.cart-item .item-details {
    flex-grow: 1;
}

.cart-item h4 {
    font-weight: bold;
    font-size: 0.875rem;
    color: white;
    margin-bottom: 0.25rem;
}

.cart-item .item-price {
    font-size: 0.75rem;
    color: #9ca3af;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.quantity-btn {
    width: 1.5rem;
    height: 1.5rem;
    background: #4b5563;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #6b7280;
}

.cart-item .item-total {
    text-align: right;
}

.cart-item .item-total .total-price {
    font-weight: bold;
    color: white;
}

.cart-item .remove-btn {
    color: #ef4444;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item .remove-btn:hover {
    color: #dc2626;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    #home h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 1rem;
    }

    .menu-card {
        margin-bottom: 1rem;
    }

    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    #home h1 {
        font-size: 1.5rem;
    }

    #home p {
        font-size: 1rem;
    }

    .menu-card img {
        height: 10rem;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item .item-total {
        text-align: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ===== FLEXBOX UTILITIES ===== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

/* ===== SPACING UTILITIES ===== */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* ===== BORDER UTILITIES ===== */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

.border-gray-800 {
    border-color: #1f2937;
}

/* ===== TEXT UTILITIES ===== */
.text-white {
    color: white;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-orange-500 {
    color: #f97316;
}

.text-orange-600 {
    color: #ea580c;
}

.text-yellow-500 {
    color: #eab308;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-600 {
    color: #dc2626;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: bold;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-black {
    background-color: black;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-red-600 {
    background-color: #dc2626;
}

/* ===== SHADOW UTILITIES ===== */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== TRANSITION UTILITIES ===== */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* ===== HOVER UTILITIES ===== */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:text-orange-500:hover {
    color: #f97316;
}

.hover\:text-orange-600:hover {
    color: #ea580c;
}

.hover\:text-yellow-500:hover {
    color: #eab308;
}

.hover\:text-red-500:hover {
    color: #ef4444;
}

.hover\:text-red-600:hover {
    color: #dc2626;
}

.hover\:bg-gray-600:hover {
    background-color: #4b5563;
}

.hover\:bg-orange-600:hover {
    background-color: #ea580c;
}

.hover\:underline:hover {
    text-decoration: underline;
}

/* ===== POSITION UTILITIES ===== */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.left-0 {
    left: 0;
}

/* ===== Z-INDEX UTILITIES ===== */
.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* ===== OVERFLOW UTILITIES ===== */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* ===== CURSOR UTILITIES ===== */
.cursor-pointer {
    cursor: pointer;
}

/* ===== RESIZE UTILITIES ===== */
.resize-none {
    resize: none;
}

/* ===== BACKDROP UTILITIES ===== */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* ===== TRANSFORM UTILITIES ===== */
.translate-x-full {
    transform: translateX(100%);
}

.scale-105 {
    transform: scale(1.05);
}

/* ===== DISPLAY UTILITIES ===== */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

/* ===== RESPONSIVE DISPLAY ===== */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:grid {
        display: grid;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:text-left {
        text-align: left;
    }
    
    .md\:justify-start {
        justify-content: flex-start;
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:text-7xl {
        font-size: 4.5rem;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* ===== LOADING ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== FOCUS STATES ===== */
.btn-primary:focus,
.btn-secondary:focus,
.quantity-btn:focus {
    outline: 2px solid #FF4500;
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    #header,
    #cart-sidebar,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .menu-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 