/* --- 
  PALETA: Quente, com personalidade e aconchegante
--- */
:root {
    --cor-fundo-claro: #fcfaf6;
    --cor-fundo-escuro: #3A5A40;
    --cor-acento-vibrante: #D95F3B;
    --cor-branca: #ffffff;
    --cor-texto-claro: #fcfaf6;
    --cor-texto-escuro: #2d2d2d;

    --fonte-titulo: 'Playfair Display', serif;
    --fonte-corpo: 'Lato', sans-serif;
}

/* --- Reset Global e Fontes --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    line-height: 1.7;
    color: var(--cor-texto-escuro);
    background-color: var(--cor-branca);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 500;
    color: var(--cor-fundo-escuro);
}


/* --- Seção Hero (Com 3 Fotos) --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--cor-branca);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-photo-grid {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.photo-col {
    flex: 1;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}

.photo-col:hover {
    filter: brightness(0.8);
}


/* --- Navegação (Sem Logo) --- */
.navbar {
    display: flex;
    justify-content: flex-end; /* Alinha os links à direita */
    align-items: center;
    padding: 2rem 3rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 10;
}

.navbar nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--cor-branca);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.navbar nav a:hover {
    border-bottom-color: var(--cor-branca);
}

.hero-content {
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--cor-branca);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* --- Layout: Seção em Duas Colunas --- */
main {
    position: relative;
    z-index: 5;
}

.content-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background-color: var(--cor-fundo-claro);
}

.split-image {
    background-color: #ccc;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.split-video {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}


.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
}


/* --- Seção de Galeria --- */
.content-section {
    padding: 4rem 2rem;
    background-color: var(--cor-fundo-claro);
    text-align: center;
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas no PC */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 520px; /* Caixas verticais no PC */
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- CTA (Cor Vibrante) --- */
.cta-section {
    background-color: var(--cor-acento-vibrante); /* Terracota */
    color: var(--cor-branca);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--cor-branca);
    font-size: 2.8rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--cor-branca);
}

.cta-button {
    font-family: var(--fonte-corpo);
    background-color: var(--cor-branca);
    color: var(--cor-acento-vibrante);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 0.5rem;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--cor-fundo-claro);
    color: var(--cor-acento-vibrante);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* --- Seção Localização --- */
#localizacao {
    background-color: var(--cor-branca);
}

.map-container {
    max-width: 1000px;
    margin: 2rem auto 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* --- Manual do Hóspede (Página QR Code) --- */
.manual-grid {
    display: grid;
    /* Desktop: 3 Colunas fixas (3x3) */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.video-item h3 {
    font-family: var(--fonte-corpo);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-align: center;
    color: var(--cor-fundo-escuro);
}

.video-item video {
    width: 100%;      /* Ocupa 100% da largura da caixa */
    height: auto;     /* Altura automática para NÃO cortar */
    display: block;
    border-radius: 8px;
    object-fit: contain; /* Garante que o vídeo inteiro apareça */
}

#contato-manual {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}


/* --- Footer (Rodapé Principal) --- */
.logo-footer-section {
    background-color: var(--cor-branca);
    text-align: center;
    padding: 4rem 2rem 0 2rem;
}

.footer-logo-img {
    height: 360px;
    width: auto;
    margin-bottom: 0;
}

footer {
    background-color: var(--cor-fundo-escuro);
    color: var(--cor-texto-claro);
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-content .whatsapp-link {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cor-branca);
    margin-bottom: 2rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}


/* --- 
  RESPONSIVIDADE (CELULAR)
--- */
@media (max-width: 768px) {
    
    .hero-photo-grid {
        flex-direction: row;
    }
    
    .photo-col:nth-child(1),
    .photo-col:nth-child(3) {
        display: none;
    }

    .content-section-split {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 400px;
        order: 1;
    }
    .split-video {
        max-width: 90%;
        max-height: 90%;
    }

    .split-content {
        order: 2;
        padding: 2.5rem;
    }

    .navbar {
        padding: 1rem;
        justify-content: center;
    }
    .navbar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar nav a {
        margin: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }

    /* --- Galeria Principal (Home) no Celular --- */
    .gallery-grid {
        grid-template-columns: 1fr; /* <-- 1 COLUNA */
        gap: 1.5rem; 
    }
    .gallery-grid img {
        aspect-ratio: 3 / 4; 
    }

    /* --- Manual Grid (Celular) --- */
    .manual-grid {
        grid-template-columns: 1fr; /* 1 vídeo por linha */
        gap: 1.5rem;
        max-width: 100%;
    }
    .video-item {
        padding: 0.5rem;
    }
    .video-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Footer Logo */
    .footer-logo-img {
        height: 250px;
    }
}


/* --- Estilos do Login do Staff --- */
.login-box h2 {
    font-family: var(--fonte-titulo);
    color: var(--cor-fundo-escuro);
}
.login-box button {
    background-color: var(--cor-acento-vibrante);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--fonte-corpo);
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 700;
}
.login-box button:hover {
    background-color: #b34a2e;
}