/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    background-color: #f8f9fa;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: -1;
}

/* Header e Navegação */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    padding-right: 30px; /* Desloca a logo um pouco para a direita */
}

.logo-frame {
    position: relative;
    padding: 8px 8px;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #4caf50, #d32f2f);
    border-image-slice: 1;
    box-shadow: 0 3px 3px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

.logo-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    background: linear-gradient(135deg, #4caf50, #d32f2f);
    border-radius: 7px;
    opacity: 0.3;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.marca-mancini {
    font-family: 'Italiana', serif;
    color: #4caf50;
    margin-right: 5px;
    letter-spacing: 1px;
}

.marca-pizzaria {
    font-family: 'Playfair Display', serif;
    color: #fff;
    text-shadow: 0 0 2px #000, 0 0 5px rgba(0,0,0,0.5);
    background-color: rgba(0,0,0,0.1);
    padding: 0 5px;
    border-radius: 3px;
    margin-right: 5px;
    font-style: italic;
    font-weight: 600;
}

.marca-napolitana {
    font-family: 'Cormorant Garamond', serif;
    color: #d32f2f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 220px;
}

.delivery-info {
    color: #4d4d4d;
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-info {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

.header-ifood-btn {
    background-color: #ea1d2c;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(234,29,44,0.3);
}

.header-ifood-btn:hover {
    background-color: #d01826;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.4);
}

.header-ifood-btn i {
    font-size: 0.9rem;
}

/* Seção do Cardápio */
.cardapio-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    position: relative;
}

.categorias {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.categoria-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    background-color: rgba(233, 236, 239, 0.8);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #4d4d4d;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.categoria-btn.active {
    background-color: #4caf50;
    color: white;
    box-shadow: 0 4px 10px rgba(76,175,80,0.3);
    transform: translateY(-2px);
}

.categoria-btn:hover:not(.active) {
    background-color: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
    transform: translateY(-1px);
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.produto-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    position: relative;
}

.produto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.produto-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.produto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto-card:hover img {
    transform: scale(1.05);
}

.produto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.produto-card h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.produto-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.preco {
    color: #4caf50;
    font-weight: 700;
    font-size: 1.2rem;
    align-self: flex-start;
    background-color: rgba(241, 248, 233, 0.8);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0;
}

.produto-btns {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    gap: 10px;
}

.produto-btn {
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.produto-btn span {
    display: none;
}

.produto-btn.whatsapp-btn {
    background-color: #4caf50;
}

.produto-btn.whatsapp-btn:hover {
    background-color: #3d8b40;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(76,175,80,0.4);
}

.produto-btn.ifood-btn {
    background-color: #ea1d2c;
}

.produto-btn.ifood-btn:hover {
    background-color: #d01826;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(234,29,44,0.4);
}

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    backdrop-filter: blur(5px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 0.9fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.footer-logo {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 60px;
    padding: 0;
    transform: translateX(-20px);
}

.footer-logo img {
    width: 195px;
    height: auto;
    transition: transform 0.3s;
    display: block;
    margin: 0;
    vertical-align: top;
}

.footer-logo .logo-frame {
    padding: 7.5px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7.5px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    line-height: 0;
    font-size: 0;
}

.footer-logo .logo-frame:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: #4caf50;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #4caf50;
}

.footer-section p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #bbb;
    transition: color 0.2s;
}

.footer-section p:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.social-links a:hover {
    color: #fff;
    background-color: #4caf50;
    transform: translateY(-3px);
}

.btn-container {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.whatsapp-btn, .ifood-btn {
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

.whatsapp-btn {
    background-color: #4caf50;
    box-shadow: 0 4px 10px rgba(76,175,80,0.3);
}

.whatsapp-btn:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76,175,80,0.4);
}

.ifood-btn {
    background-color: #ea1d2c;
    box-shadow: 0 4px 10px rgba(234,29,44,0.3);
}

.ifood-btn:hover {
    background-color: #d01826;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234,29,44,0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #888;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

/* Ajustando as seções para ficarem mais à direita */
.footer-section:nth-child(2) {
    padding-left: 20px; /* Empurra a seção de Contato para a direita */
}

.footer-section:nth-child(3) {
    padding-left: 40px; /* Empurra a seção de Redes Sociais ainda mais para a direita */
}

/* Responsividade */
@media (max-width: 992px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .header-right {
        margin-top: 1rem;
        align-items: center;
    }

    .categorias {
        justify-content: center;
    }

    .produtos-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 20px;
        margin-left: 0;
        transform: translateX(0);
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        padding-left: 0; /* Remove o padding em telas menores */
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links, .btn-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }

    .categoria-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
} 