/* css/styles.css - Main stylesheet */
@font-face {
    font-family: 'Gotham Bold';
    src: url('../fonts/GOTHAM-BOLD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Extra Light';
    src: url('../fonts/GOTHAM-XLIGHT.TTF') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Digital';
    src: url('../fonts/DS-DIGI.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    --primary-color: #ff8c00;
    --secondary-color: #8a4b00;
    --background-dark: #221b14;
    --background-light: #f8f5f0;
    --text-dark: #222;
    --text-light: #fff;
    --price-color: #ff8c00;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base styles */
body {
    font-family: 'Gotham Extra Light';
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    background-image: url('../images/bg.png');
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header styles */
header {
    background-color: var(--background-dark);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    list-style: none;
}

.logo img {
    max-height: 80px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 15px;
}

/* Page header */
.page-header {
    text-align: center;
    padding: 30px 0;
    position: relative;
    margin-bottom: -50px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 20px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    background-repeat: repeat-x;
    height: 40px;
    width: 100%;
    bottom: -20px;
    left: 0;
}

/* Menu content */
.menu-content {
    padding: 20px 0 50px;
}

.menu-grid {
    display: flow-root;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.menu-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background-color: #00000073;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #ff8c0050;
}

.menu-item-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    padding: 10px 10px 10px 10px;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.menu-item-info {
    flex-grow: 1;
    color: white;
}

.menu-item-name {
    font-family: 'Gotham Bold';
    letter-spacing: -1.5px; /* Reduz a distância entre as letras */
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: none;
}

.menu-item-description {
    color: white;
    font-size: 1rem;
    margin: 0;  
}
.menu-item-tamanho {
    font-family: 'Gotham Bold';
    color: white;
    font-size: 1.7rem;
    margin: 0;  
    font-weight: 900;
}

.menu-item-price {
    font-family: 'Digital';
    position: static;
    background-color: #0000;
    color: white;
    padding: 0;
    font-weight: 700;
    font-size: 3.5rem;
    box-shadow: none;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Loading and error states */
.loading, .error-message, .no-items {
    text-align: center;
    padding: 50px 20px;
    grid-column: 1 / -1;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    color: #d9534f;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-message button {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition);
}

.error-message button:hover {
    background-color: var(--secondary-color);
}

/* Footer styles */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px 0 20px;
    margin-top: 50px;
    width: 100%;
    justify-content: center;
    display: grid;
}

.footer-content {
    display: flex;
    justify-content: center;
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

footer .copyright {
  color: rgb(255, 255, 255);
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.contact-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

.social-media a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-media a:hover {
    color: var(--primary-color);
}

.opening-hours p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.menu-item-cat img {
    transition: all 0.3s ease;
    filter: saturate(10%);
    transform: scale(1);
    width: 250px;
    height: auto;
}

.menu-item-cat.active img {
    filter: saturate(100%);
    transform: scale(1.05);
}
.menu-item-cat img:hover {
    filter: saturate(100%);
    transform: scale(1.10);
}

/* Responsive styles */
/* Two-column layout for menu items */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 15px;
    background: none;
    border: none;
    font-size: 24px;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}   /* Reset de estilos para links e botões */
a {
    text-decoration: none;
    color: inherit;
}

a:focus, a:active, a:hover {
    outline: none;
    color: inherit;
}

.menu-item-cat span {
    display: none; /* Oculta os textos em desktop */
    text-decoration: none;
    color: inherit
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .menu-item-name {
        letter-spacing: -0.2rem; /* Reduz a distância entre as letras */
        line-height: 1.2;
        font-size: 2.5rem;
    }
    .menu-item-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
    }
    
    .menu-item-info {
        font-family: 'Gotham Extra Light';
        padding: 0 0 15px 0;
    }
    
    .menu-item-price {
        font-size: 2.8rem;
        margin-right: 0;
    }
    .menu-item-tamanho {
        font-family: 'Gotham Extra Light';
        font-size: 1.8rem;
        margin-right: 0;
    }
    
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 1000;
        text-align: center;
        justify-items: center;
        align-items: center;
    }
    .hamburger-menu .text{
        text-align: center;
        color: #f8f5f0;
        font-size: 14px;
        line-height: 1.3;
    }
    
    /* Transformar ícone hambúrguer em X quando ativo */
    .hamburger-menu.active .menu-icon:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .hamburger-menu.active .menu-icon:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .menu-icon:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }
    
    .menu-categories {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .menu-categories.open {
        display: flex;
    }
    
    .menu-item-cat {
        margin: 5px 0;
        width: 100%;
        padding: 10px;
    }
    
    .menu-item-cat a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-item-cat img {
        width: 150px;
        margin-right: 15px;
    }
    .menu-item-cat span {
        font-family: 'Gotham Bold';
        display: inline-block; /* Oculta os textos em desktop */
        text-decoration: none;
        color: inherit
        
    }
    .menu-item-cat.active img {
        width: 150px;
        height: auto;
    }
}

