/* ===== Reset e Configurações Globais =====*/
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background-color: #1a1a1a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Tipografia =====*/
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1.1rem; margin-bottom: 1rem; color: #cccccc; }

/* ===== Header Centralizado =====*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: background 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-central {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-central img {
    height: 50px;
    transition: transform 0.3s ease;
}
.logo-central:hover img {
    transform: scale(1.1);
}

/* ===== Hero com Slideshow =====*/
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    animation: zoom-out 20s infinite;
}
.slideshow-container .slide.active {
    opacity: 1;
}

@keyframes zoom-out {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-subtitle {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 2rem;
}
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===== Botão Dourado =====*/
.btn-dourado {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #d4af37;
    color: #1a1a1a;
    border: 2px solid #d4af37;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-dourado:hover {
    background: transparent;
    color: #d4af37;
    transform: scale(1.05);
}

/* ===== Seções Gerais =====*/
.section { padding: 5rem 0; }
.about { background: #222; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 { color: #d4af37; }
.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* ===== Galeria com Links =====*/
.gallery { background: #1a1a1a; text-align: center;}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20, 20, 20, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}
.gallery-overlay h3 {
    color: #d4af37;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* ===== Seção de Contato =====*/
.contact { background: #222; text-align: center; }
.contact-buttons { display: flex; gap: 2rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #d4af37;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: #f0c340;
}
.contact-btn i { font-size: 1.5rem; }

/* ===== Footer =====*/
.footer { background: #0a0a0a; padding: 2rem 0; text-align: center; border-top: 1px solid #333; }
.footer p { color: #666; font-size: 0.9rem; margin: 0; }

/* ===== Animações =====*/
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== EFEITO DE FUMAÇA SUBINDO REALISTA =====*/
.smoke-container {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.smoke-particle-rising {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(220,220,220,0.2) 25%, rgba(180,180,180,0.1) 50%, transparent 70%);
    animation: smokeRising 5s infinite ease-out;
    opacity: 0;
    --direction: 0;
}

/* CORREÇÃO APLICADA AQUI */
@keyframes smokeRising {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.2);
        filter: blur(2px);
    }
    20% {
        opacity: 0.7;
        transform: translateY(-150px) translateX(var(--direction)) scale(0.8);
        filter: blur(1px);
    }
    80% {
        opacity: 0.2;
        transform: translateY(-450px) translateX(calc(var(--direction) * 2)) scale(1.5);
        filter: blur(3px);
    }
    100% {
        opacity: 0;
        transform: translateY(-600px) translateX(calc(var(--direction) * 2.5)) scale(2);
        filter: blur(5px);
    }
}

/* ===== ESTILOS PARA PÁGINAS DE DETALHES (COM BOX FOSCO) =====*/
.page-detail-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.page-detail-hero .hero-overlay {
    background: rgba(0,0,0,0.6); 
}
.page-detail-content {
    max-width: 800px;
    z-index: 2;
    color: white;
    animation: fadeInUp 1s ease-out;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px); 
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-detail-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
    text-shadow: none;
}
.page-detail-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f0f0f0;
    text-shadow: none;
}

/* Estilo específico para página de sanduíches */
.sanduiches-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
}
.sanduiche-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
}
.sanduiche-item img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.sanduiche-item .gallery-overlay h3 {
    font-size: 1.2rem;
}
.page-detail-hero video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}


/* ===== Responsividade =====*/
@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .page-detail-content { padding: 2rem; }
}