/* Reset basic margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle, #1a0f0f 0%, #000000 100%); /* Charcoal Black */
    font-family: 'Georgia', serif; /* Classic Serif for luxury */
    color: white;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between; /* Logo na esquerda, Menu na direita */
    align-items: center;
    background: transparent;
    z-index: 100;
    transition: background 0.3s ease;
}

/* Se quiser que o header ganhe fundo ao rolar (opcional) */
.main-header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 8%;
    border-bottom: 1px solid rgba(204, 85, 0, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CC5500;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #CC5500;
}

/* Container do hambúrguer */
.menu-toggle {
    display: none; /* Escondido no desktop */
    flex-direction: column;
    justify-content: space-between; /* Garante o "espaço entre" as linhas */
    width: 30px;
    height: 21px; /* Altura fixa para o justify-content funcionar */
    cursor: pointer;
    z-index: 110;
    transition: transform 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #CC5500;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); /* Curva suave */
}

/* --- ESTADO ATIVO (X) --- */

/* A primeira linha gira 45 graus e desce */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

/* A segunda linha (meio) desaparece */
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Dá um efeito de deslize ao sair */
}

/* A terceira linha gira -45 graus e sobe */
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Media Query para Mobile (menos de 768px) */
@media screen and (max-width: 768px) {
    .main-header{
        justify-content: space-between;
    }
    .menu-toggle {
        display: flex; /* Mostra o hambúrguer */
        z-index: 101;
    }
    

    .nav-links {
        position: fixed;
        right: -100%; /* Escondido fora da tela */
        top: 0;
        height: 100vh;
        width: 70%;
        background: #1a0f0f;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0; /* Desliza para dentro */
    }
}

/* Hero Line - A nice design touch */
.hero-line {
    width: 0; /* Starts at 0 for animation */
    height: 1px;
    background: #CC5500;
    margin: 20px auto;
}

.hero {
    height: 100vh; /* Full screen height */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -2px;
    z-index: 10; /* Keep text above embers */
    position: relative;
    opacity: 0; /* Hide initially for GSAP */
}

.highlight {
    color: #CC5500; /* Burnt Orange */
}

.hero-subtitle {
    font-family: 'Arial', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.5rem);
    color: rgba(255, 200, 150, 0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0; /* Hide initially */
}

.cta-button {
    margin-top: 40px;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #CC5500;
    color: #CC5500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0; /* Hide initially */
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #CC5500;
    color: white;
}

/* Ember styling */
.ember {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #CC5500;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none; /* Let clicks pass through */
}

.experience {
    background-color: #0a0a0a;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    gap: 150px; /* Muito espaço entre os itens para rolar bastante */
}

.showcase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.showcase-item.reverse {
    flex-direction: row-reverse; /* Inverte a ordem para o segundo item */
}

.showcase-text {
    width: 40%;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.showcase-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

/* O Container da Imagem (A Janela) */
.showcase-image-wrapper {
    width: 50%;
    height: 400px; /* Altura fixa */
    overflow: hidden; /* O SEGREDO: Esconde o que sai da borda */
    position: relative;
    border-radius: 4px;
}

/* A Imagem em si (O Cenário) */
.parallax-img {
    width: 100%;
    height: 140%; /* 140% da altura do pai - sobra espaço para mover! */
    object-fit: cover;
    position: absolute;
    top: -20%; /* Começa um pouco para cima para podermos descer */
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .showcase-item, .showcase-item.reverse {
        flex-direction: column;
    }
    .showcase-text, .showcase-image-wrapper {
        width: 100%;
    }
}

.atmosphere-section {
    width: 100%;
    height: 100vh; /* Ocupa a tela toda */
    overflow: hidden; /* Esconde o que está fora da tela */
    position: relative;
}

.horizontal-wrapper {
    display: flex; /* Coloca os painéis lado a lado */
    width: 300%; /* 3 painéis = 300% */
    height: 100%;
}

.panel {
    width: 100vw; /* Cada painel tem a largura da tela */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Vamos usar fundos diferentes para ver o efeito (podes trocar por imagens depois) */
.panel-1 {
    background-image: url(https://images.unsplash.com/photo-1667388969250-1c7220bf3f37?q=80&w=910&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
}
.panel-2 {
     background-image: url(https://images.unsplash.com/photo-1714583357209-5371d908a33f?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
}
.panel-3 {
    background-image: url(https://images.unsplash.com/photo-1572116469696-31de0f17cc34?q=80&w=774&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
}

.panel-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
    background: rgba(0,0,0,0.4); /* Leve fundo para leitura */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.panel-content h3 {
    font-size: 4rem;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
}

.panel-content p {
    font-size: 1.2rem;
    color: #ccc;
}

/* --- Seção de Reservas --- */
.reservation-section {
    background-color: #0f0a0a; /* Quase preto */
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.reservation-container h2 {
    font-size: 3rem;
    font-family: 'Georgia', serif;
    color: #CC5500;
    margin-bottom: 10px;
}

.reservation-container p {
    color: #888;
    margin-bottom: 40px;
}

/* Estilo do Formulário "Invisible" */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

/* Inputs sem borda, só linha em baixo */
input, select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

/* Ajuste para o calendário do input date ficar branco (hackzinho) */
input[type="date"] {
    color-scheme: dark;
}

input:focus, select:focus {
    border-bottom-color: #CC5500;
}
select option {
    background-color: #CC5500; /* Cor de Destaque */
    color: white;              /* Texto Branco */
    padding: 10px;             /* Um pouco de espaço (alguns navegadores ignoram isso) */
}

.submit-btn {
    margin-top: 20px;
    padding: 15px;
    background: #CC5500;
    border: none;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: scale(1.02);
    background: #e06000;
}

/* --- Footer --- */
.main-footer {
    background: #050303;
    padding: 60px 8% 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    color: #666;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #CC5500;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 20px;
    color: #444;
    font-size: 0.8rem;
}


/* --- Página de Eventos --- */

.events-hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, #1a0f0f 0%, #000000 100%);
    padding-top: 60px;
}

.scroll-indicator {
    margin-top: 40px;
    color: #CC5500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* O Layout Sticky */
.sticky-container {
    display: flex;
    position: relative;
    background: #0a0a0a;
}

/* Coluna Esquerda (Imagem Fixa) */
.sticky-visual {
    width: 50%;
    height: 100vh;
    position: sticky; /* O Segredo! */
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.visual-frame {
    width: 80%;
    height: 80%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.event-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Escondido por padrão */
    transition: opacity 0.8s ease-in-out, transform 1.2s ease;
    transform: scale(1.1); /* Zoom leve para efeito */
}

.event-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Coluna Direita (Texto Rolante) */
.scroll-content {
    width: 50%;
    padding-bottom: 20vh; /* Espaço extra no final */
}

.content-block {
    min-height: 100vh; /* Cada bloco ocupa pelo menos uma tela inteira */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    border-left: 1px solid #222;
}

.content-block h2 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.content-block p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.event-details {
    list-style: none;
    margin-bottom: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.event-details li {
    color: #CC5500;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-event {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #CC5500;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: fit-content;
    transition: 0.3s;
}

.btn-event:hover {
    background: #CC5500;
    color: white;
}

/* Responsividade Mobile */
@media (max-width: 900px) {
    .sticky-container {
        flex-direction: column;
    }
    
    .sticky-visual {
        width: 100%;
        height: 50vh; /* Imagem fica menor no topo */
        position: relative; /* Deixa de ser sticky */
        top: auto;
    }

    .scroll-content {
        width: 100%;
    }

    .content-block {
        min-height: auto; /* Remove altura forçada */
        padding: 40px 20px;
        border-left: none;
        border-bottom: 1px solid #222;
    }
    
    /* No mobile, vamos mostrar apenas a imagem do bloco ativo via JS ou deixar estático.
       Neste caso, simplificamos: */
    .visual-frame {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* --- Página do Menu --- */

.menu-page {
    background-color: #0e0e0e; /* Fundo ligeiramente diferente para destacar */
    min-height: 100vh;
}

.menu-container {
    max-width: 800px; /* Menu estreito como uma folha de papel */
    margin: 0 auto;
    padding: 120px 20px 80px; /* Padding top para compensar o header fixo */
}

.menu-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 2px solid #CC5500;
    padding-bottom: 30px;
}

.menu-title {
    font-family: 'Georgia', serif;
    font-size: 4rem;
    color: #CC5500;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.menu-subtitle {
    font-family: 'Dancing Script', cursive; /* Fonte manuscrita */
    font-size: 1.5rem;
    color: #888;
}

/* Seções do Menu */
.menu-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Linha decorativa depois do título */
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

.badge {
    font-size: 0.7rem;
    background: #CC5500;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    letter-spacing: 1px;
    font-family: sans-serif;
}

/* Item Individual */
.menu-item {
    margin-bottom: 25px;
}

.item-header {
    display: flex;
    align-items: baseline; /* Alinha o texto pela base das letras */
    justify-content: space-between;
    margin-bottom: 5px;
}

.item-name {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: bold;
    font-family: 'Georgia', serif;
}

/* O Efeito de Pontinhos Mágico */
.dots {
    flex: 1; /* Ocupa todo o espaço disponível */
    border-bottom: 1px dotted #444; /* Os pontinhos */
    margin: 0 10px;
}

.item-price {
    font-size: 1.1rem;
    color: #CC5500;
    font-weight: bold;
    white-space: nowrap; /* Impede que o preço quebre linha */
}

.item-desc {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    max-width: 90%;
}

/* Destaque para itens especiais */
.highlight-item .item-name {
    color: #CC5500; /* Nome laranja */
}

.highlight-item .item-desc {
    color: #aaa; /* Descrição mais clara */
}

/* Grid para Acompanhamentos (Items Pequenos) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Colunas */
    gap: 20px;
}

.menu-item-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.menu-item-small h4 {
    color: #ccc;
    font-weight: normal;
}

.menu-item-small span {
    color: #CC5500;
}

/* Footer do Menu */
.menu-footer {
    text-align: center;
    margin-top: 80px;
    font-size: 0.8rem;
    color: #444;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* Responsividade */
@media (max-width: 600px) {
    .menu-title {
        font-size: 3rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr; /* 1 Coluna no mobile */
    }

    .item-header {
        flex-direction: column; /* Preço vai para baixo do nome se não couber */
        gap: 5px;
    }
    
    .dots {
        display: none; /* Remove pontinhos no mobile para layout limpo */
    }
}