/* Resets e Variáveis */
:root {
    --primary: #e9a209;
    --primary-hover: #ffcb45;
    --dark: #1d1d1d;
    --light: #fdfdfd;
    --shadow: 0px 10px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { background-color: var(--light); color: var(--dark); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

/* Header */
header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

#nav_logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
#nav_list { display: flex; list-style: none; gap: 30px; }
#nav_list a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
#nav_list a:hover, .nav_item.active a { color: var(--primary); }

/* Home Section */
#home { display: flex; align-items: center; min-height: 80vh; gap: 40px; }
#cta { flex: 1; }
#cta .title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
#cta .title span { color: var(--primary); }
#cta .description { font-size: 1.1rem; color: #555; margin-bottom: 30px; }

#cta_buttons { display: flex; gap: 20px; margin-bottom: 30px; }
#phone_button { 
    display: flex; align-items: center; gap: 10px; 
    text-decoration: none; color: var(--dark); font-weight: 600;
    background: #fff; padding: 10px 20px; border-radius: 12px; box-shadow: var(--shadow);
}
#phone_button i { color: var(--primary); font-size: 1.2rem; }

#banner { flex: 1; display: flex; justify-content: center; }
#banner img { width: 100%; max-width: 500px; filter: drop-shadow(10px 10px 30px rgba(0,0,0,0.1)); }

/* Botões */
.btn-default {
    background-color: var(--primary);
    color: #fff; border: none; padding: 12px 25px;
    border-radius: 12px; font-weight: 600; cursor: pointer;
    transition: 0.3s; box-shadow: var(--shadow);
}
.btn-default:hover { background-color: var(--primary-hover); transform: translateY(-2px); }

/* Menu Section */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 1rem; }
.section-subtitle { font-size: 2rem; margin-top: 10px; }

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dish-card {
    background: #fff; border-radius: 20px; padding: 20px;
    box-shadow: var(--shadow); transition: 0.3s; position: relative;
}
.dish-card:hover { transform: translateY(-10px); }

.dish-image { width: 100%; height: 200px; overflow: hidden; border-radius: 15px; margin-bottom: 15px; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; }

.dish-heart {
    position: absolute; top: 30px; right: 30px;
    background: #fff; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #ddd; cursor: pointer; transition: 0.3s;
}
.dish-heart:hover { color: #ff4d4d; }

.dish-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
.btn-shop { 
    background: var(--primary); border: none; color: #fff;
    width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
}

/* Testimonials */
#testimonials { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    background: linear-gradient(135deg, #fffaf0 0%, #ffe8b4 100%);
    border-radius: 30px; 
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(233, 162, 9, 0.05);
    border-radius: 50%;
    z-index: 0;
}

#testimonial_chef { 
    width: 40%; 
    max-width: 400px; 
    position: relative;
    z-index: 1;
}

.testimonials_content {
    flex: 1;
    position: relative;
    z-index: 1;
}

#feedbacks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feedback-card {
    background: #fff; 
    padding: 25px; 
    border-radius: 18px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
}

.feedback-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 40px rgba(233, 162, 9, 0.15);
    border-color: var(--primary);
}

.feedback-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    font-weight: bold;
}

.feedback-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feedback-card .avatar { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.feedback-user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feedback-name {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
}

.stars { 
    color: #f1c40f; 
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}

.feedback-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
    margin: 15px 0 0 0;
}

/* Botão Ver mais Avaliações - Customizado */
.btn-default-testimonial {
    background: linear-gradient(135deg, var(--primary) 0%, #ffb700 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0px 10px 25px rgba(233, 162, 9, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-default-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-default-testimonial:hover::before {
    left: 100%;
}

.btn-default-testimonial:hover {
    background: linear-gradient(135deg, #ffb700 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0px 15px 35px rgba(233, 162, 9, 0.4);
}

.btn-default-testimonial:active {
    transform: translateY(0px);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-default-testimonial:hover .btn-icon {
    transform: translateX(5px);
}

/* Footer */
footer { 
    background: linear-gradient(135deg, #1d1d1d 0%, #2a2a2a 100%);
    padding: 0;
    color: #fff;
    margin-top: 60px;
    width: 100%;
    display: block; /* Garante que se comporte como bloco */
}

#footer_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-description {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(233, 162, 9, 0.1);
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0px 10px 25px rgba(233, 162, 9, 0.3);
}

.social-icon.whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: #e6683c;
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
}

.contact-item a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    height: 10px; /* Ajuste aqui se quiser mais ou menos altura interna */
    text-align: center;
    position: relative;
    bottom: 1200px solid rgba(27, 26, 23, 0.2);;
    width: 100%;
    margin: 0; /* Remove qualquer margem que cause o espaço branco */
}

#copyright {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
    display: flex; /* Evita comportamentos inesperados de elementos inline */
}

/* Responsive */
@media (max-width: 992px) {
    #home, #testimonials { flex-direction: column; text-align: center; }
    #cta_buttons { justify-content: center; }
    #testimonial_chef { display: none; }
    .testimonials_content { width: 100%; }
    #nav_list { display: none; }
    #mobile_btn_lateral { display: block; background: none; border: none; font-size: 1.5rem; color: var(--primary); }
    #feedbacks { grid-template-columns: 1fr; }
    .btn-default-testimonial {
        width: 100%;
        justify-content: center;
    }
    
    #footer_content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
}

/* Estilização do Botão Mobile */
#mobile_btn_lateral {
    display: none; /* Escondido por padrão no desktop */
    background: #fff;
    color: var(--primary); /* Usando sua variável #e9a209 */
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile_btn_lateral:hover {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

#mobile_btn_lateral:active {
    transform: scale(0.95);
}

/* Ajuste na navegação mobile para o efeito de abrir/fechar */
#mobile_navegacao {
    display: none; /* Começa fechado */
    position: absolute;
    top: 90px; /* Logo abaixo do header */
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Classe que o JS vai adicionar para mostrar o menu */
#mobile_navegacao.active {
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mostrar o botão apenas em telas menores */
@media screen and (max-width: 1170px) {
    #mobile_btn_lateral {
        display: flex;
    }
}

#mobile_menu_container {
    display: none; /* Escondido por padrão */
    position: absolute;
    top: 80px; /* Ajuste conforme a altura do seu header */
    right: 20px;
    background-color: #fff;
    width: 250px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

/* Quando o menu estiver ativo */
#mobile_menu_container.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

#mobile_nav_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#mobile_nav_list .nav_item a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 600;
    display: block;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

#mobile_nav_list .nav_item a:hover {
    background-color: #ffe8b4;
    color: #e9a209;
}

/* Animação de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}