* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    --bg-dark: #0c0c0c;
    --bg-light-dark: #121212;
    --gold: #c5a880;
    --text-white: #ffffff;
    --text-gray: #a5a5a5;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(12, 12, 12, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }

.btn-reservation {
    background-color: var(--gold);
    color: #000;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-reservation:hover { background-color: #b3956b; }

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* HERO */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1544025162-d76694265947?q=80&w=1469&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-content { max-width: 600px; }

.hero-content .subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 35px;
    margin-bottom: 5px;
}

.hero-content .title {
    font-family: var(--font-serif);
    font-size: 65px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .description {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold);
    color: #000;
}

/* ABOUT */
.about-section {
    background-color: #fcfbfa; 
    color: #121212; 
    padding: 100px 8%;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content { flex: 1; }

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 42px;
    color: #0c0c0c;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin-bottom: 25px;
}

.about-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    margin-bottom: 0;
}

.more-text.show {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 30px;
}

.btn-secondary {
    background-color: #0c0c0c;
    color: var(--text-white);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: #000;
}

.about-image { flex: 1; }

.about-image img {
    width: 100%;
    border-radius: 15px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* CARDÁPIO DINÂMICO UNIFICADO */
.menu-section {
    padding: 120px 8%;
    background-color: var(--bg-dark); 
    text-align: center;
}

.text-light {
    color: var(--text-white) !important;
    font-family: var(--font-serif);
    font-size: 48px;
}

.divider.center {
    width: 80px;
    height: 1px;
    background-color: var(--gold);
    margin: 15px auto 50px auto;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.category-btn {
    background-color: transparent;
    color: var(--text-gray);
    border: none;
    border-bottom: 1px solid transparent;
    padding: 8px 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.category-btn:hover, .category-btn.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

/* CONFIGURAÇÃO E COMPORTAMENTO DAS ABAS */
/* CONFIGURAÇÃO E COMPORTAMENTO DAS ABAS (CORRIGIDO) */
.menu-grid {
    display: none; /* Mantido para garantir o padrão inicial */
    opacity: 0;
    max-width: 1200px;
    margin: 0 auto;
    gap: 140px;
    padding: 40px 0;
    pointer-events: none; /* Impede cliques em itens invisíveis */
}

/* Quando o grid estiver ativo, ele assume o formato flex em coluna e se torna visível */
.menu-grid.active {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1;
    pointer-events: auto; /* Reativa os cliques */
    transition: opacity 0.4s ease-in-out;
}

.floating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    text-align: left;
    width: 100%;
}

.floating-item.invert { flex-direction: row-reverse; }

/* ==========================================================================
   SISTEMA DE GRID PARA CENTRALIZAÇÃO ABSOLUTA (COMIDAS E PRATOS)
   ========================================================================== */

.food-plate-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: grid;
    place-items: center; /* Trava tudo no ponto central exato X e Y do quadrado */
    flex-shrink: 0;
}

/* Camada Inferior: Prato Escuro Vazio */
.background-particles {
    grid-area: 1 / 1;    /* Faz as imagens dividirem a exata mesma célula */
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Camada Superior: Comida Transparente Isolada */
.floating-plate {
    grid-area: 1 / 1;    /* Sobrepõe no mesmo grid */
    width: 80%;          /* Encaixa sem transbordar as bordas do prato */
    height: 80%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Animação suave combinada de Hover (Apenas cresce, sem rotação no prato) */
.floating-item:hover .floating-plate {
    transform: scale(1.05);
}

.floating-item:hover .background-particles {
    transform: scale(1.02);
}

/* ==========================================================================
   ESTRUTURA DE BEBIDAS (NÃO GIRAM / SEM PRATO / CORREÇÃO TOTAL)
   ========================================================================== */
.drink-wrapper {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drink-image {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

/* Efeito suave de aproximação nas bebidas sem rotação */
.floating-item:hover .drink-image {
    transform: scale(1.03);
}

/* DETALHES DO PRODUTO */
.food-details { flex: 1; }

.food-details h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.food-description {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.food-details .price {
    display: block;
    color: var(--gold);
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 25px;
}

.btn-order-line {
    background-color: transparent;
    color: var(--text-white);
    border: none;
    border-bottom: 1px solid var(--gold);
    padding: 5px 0;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-order-line:hover { color: var(--gold); }

/* CONTATO & FOOTER */
.contact-section {
    background-color: var(--bg-light-dark);
    padding: 80px 8% 30px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.contact-info, .contact-hours, .contact-map { flex: 1; }

.contact-section h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-section p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn-delivery {
    display: inline-block;
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-delivery:hover {
    background-color: var(--gold);
    color: #000;
}

.map-placeholder {
    width: 100%;
    height: 180px;
    background-color: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: #555;
    font-size: 13px;
}

/* DESIGN RESPONSIVO (MOBILE) */
@media (max-width: 768px) {
    .btn-reservation { display: none; }
    .menu-toggle { display: block; z-index: 1001; }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(12, 12, 12, 0.98);
        transition: top 0.4s ease;
    }

    .nav-links.active { top: 0; }
    .nav-links a { font-size: 24px; }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content .title { font-size: 45px; }
    .hero-content .subtitle { font-size: 28px; }

    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .divider { margin: 0 auto 25px auto; }

    .menu-grid.active { gap: 80px; }

    .floating-item, .floating-item.invert {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .food-plate-wrapper, .drink-wrapper {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }
}