/* Definição de Cores */
:root {
    --primary: #79220F;
    --secondary: #D7B475;
    --text-dark: #382405;
    --accent-1: #8F4E26;
    --accent-2: #582103;
    --accent-3: #EADEDD;
    --accent-4: #F8F8F8;
    --background: #F8F8F8;
    --light-text: white;
}

/* Base e Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background);
    color: var(--text-dark);
}

h1,
h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* HEADER & HERO SECTION */
.hero-section {
    background-color: var(--accent-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* NOVO: Cabeçalho Fixo */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--accent-2);
    padding: 20px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
}

.logo h1 {
    font-size: 1.5em;
    color: var(--light-text);
    margin: 0;
}

.hamburger-btn.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease-in-out;
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}

/* Menu Lateral */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--accent-2);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;

    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;

    padding-top: 60px;
}

/* Estado "Aberto" do Menu */
.main-nav.is-open {
    transform: translateX(0);
}

.main-nav ul {
    list-style: none;
}

.main-nav ul li {
    display: block;
    margin: 0;
}

.main-nav ul li a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;

    display: block;
    padding: 20px 30px;
    font-size: 1.2em;
}

.main-nav ul li a:hover {
    color: var(--light-text);
    background-color: var(--accent-1);
}

/* Botão de Fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
}

/* Ícones de Redes Sociais */
.social-links {
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.hero-main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
    padding-bottom: 80px;

    margin-top: 100px;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-text {
    flex-basis: 50%;
    text-align: center;
}

.hero-text h2 {
    font-size: 2em;
    color: var(--light-text);
    margin-bottom: 10px;
}

.hero-side-img {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light-text);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary);
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--accent-1);
    border-color: var(--light-text);
}

/* SECTION: SOBRE NÓS */
section {
    padding: 80px 10%;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    text-align: center;
    color: var(--text-dark);
}

.sobre-nos {
    background-color: var(--accent-3);
}

.historia-content {
    max-width: 800px;
    margin: 0 auto;
}

.business-description {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-dark);
    margin-top: 20px;
    border-left: 5px solid var(--secondary);
    padding-left: 20px;
    text-align: left;
}

/* SECTION: MENU */
.menu-destaque {
    background-color: white;
    padding: 80px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.menu-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--accent-1);
    text-align: center;
}

.menu-category {
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.menu-category h3 {
    font-size: 1.8em;
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.menu-item-card {
    background-color: var(--background);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: auto;
    width: 320px;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.menu-item-card h4 {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 0;
}

.menu-item-card .item-desc {
    font-size: 0.95em;
    color: var(--accent-1);
    flex-grow: 1;
    margin-bottom: 0;
    padding-top: 0;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* FOOTER */
footer {
    background-color: var(--accent-2);
    color: var(--light-text);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

footer p a,
footer p a:visited {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer p a:hover {
    color: var(--light-text);
}

.endereco-footer {
    margin: 5px 0 10px 0;
    color: var(--secondary);
    font-size: 1em;
}

/* ---------------------------------
FEED DO INSTAGRAM
--------------------------------- */
.insta-feed {
    background-color: var(--accent-4);
    padding-top: 50px;
    padding-bottom: 80px;
}

.insta-feed h2 {
    color: var(--text-dark); 
}

.embedsocial-hashtag {
    margin: 40px auto 40px auto; 
    max-width: 900px;
    text-align: center;
}

.insta-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ---------------------------------
ESTILOS DE RESPONSIVIDADE (MOBILE-FIRST)
--------------------------------- */
@media (max-width: 768px) {

    /* HEADER & HERO SECTION */
    .header-content {
        gap: 15px;
        margin-bottom: 20px;
    }

    .logo {
        margin: 0 auto;
    }

    .hero-main-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-bottom: 40px;
        margin-top: 100px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-text {
        text-align: center;
        flex-basis: auto;
    }

    .hero-text h2 {
        font-size: 2.5em;
    }

    .hero-side-img {
        height: 300px;
        max-width: 80%;
    }

    .cta-button {
        padding: 10px 20px;
    }

    /* SEÇÕES GERAIS */
    section {
        padding: 40px 5%;
    }

    h2 {
        font-size: 2em;
    }

    /* MENU SECTION */
    .menu-category h3 {
        font-size: 1.5em;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-card {
        min-height: auto;
        padding: 15px;
        width: 100%;
    }

    .item-header {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .item-details {
        text-align: center;
        width: 100%;
    }

    .item-img {
        max-width: 200px;
        height: 120px;
        width: 100%;
        margin-bottom: 10px;
    }

    .menu-item-card .item-desc {
        text-align: center;
    }

    .business-description {
        font-size: 1em;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo h1 {
        font-size: 1.2em;
    }

    /* Footer */
    footer p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2em;
    }

    .cta-button {
        font-size: 0.9em;
    }
}