/* =========================================
   1. VARIÁVEIS E RESET
   ========================================= */
:root {
    /* Paleta de Cores */
    --cor-principal: #2E5D38;    /* Verde elegante */
    --cor-principal-escuro: #1F4226;
    --cor-secundaria: #D9A404;   /* Amarelo dourado */
    --cor-texto-titulo: #1A1A1A;
    --cor-texto-corpo: #555555;
    --cor-fundo-site: #FAFAF5;   /* Off-white */
    --cor-fundo-branco: #FFFFFF;
    --cor-borda: #E5E5E5;

    /* Fontes */
    --fonte-titulo: 'Lora', serif;
    --fonte-corpo: 'Poppins', sans-serif;

    --header-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--fonte-corpo);
    background-color: var(--cor-fundo-site);
    color: var(--cor-texto-corpo);
    line-height: 1.6;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =========================================
   2. CLASSES GERAIS E LAYOUT
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.bg-light { background-color: var(--cor-fundo-branco); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
    font-family: var(--fonte-titulo);
    font-size: 2.5rem;
    color: var(--cor-principal);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    display: block;
    color: var(--cor-secundaria);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   3. HEADER FIXO (COM PADDING LATERAL)
   ========================================= */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex; align-items: center;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* PADDING SOLICITADO */
    padding-left: 5%;
    padding-right: 5%;
}

.logo img {
    height: 80px;      /* altura desejada */
    width: auto;       /* mantém proporção */
    max-width: 100%;
}

.nav-list { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    font-weight: 500;
    color: var(--cor-texto-titulo);
    transition: 0.3s;
}
.nav-link:hover { color: var(--cor-secundaria); }

/* Botão Reservar no Menu */
.btn-header-reservar {
    background-color: var(--cor-secundaria);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
}
.btn-header-reservar:hover {
    background-color: #bfa003;
}

.nav-toggle, .nav-close { display: none; cursor: pointer; font-size: 1.5rem; color: var(--cor-principal); }

/* =========================================
   4. INÍCIO (HERO SLIDER)
   ========================================= */
.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
    /* Imagem de fundo inicial */
    background-size: cover; background-position: center;
    transition: background-image 1s ease-in-out;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; padding: 20px; }
.hero-content h1 {
    font-family: var(--fonte-titulo); font-size: 3.5rem; margin-bottom: 20px;
}
.hero-content p { font-size: 1.25rem; font-weight: 300; }

/* =========================================
   5. A POUSADA (SPLIT LAYOUT)
   ========================================= */
.split-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.features-list { margin-top: 1.5rem; }
.features-list li {
    margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500;
}
.features-list i { color: var(--cor-principal); }
.image-block img {
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================================
   6. CARDS (ACOMODAÇÕES E LAZER)
   ========================================= */
.grid-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.1); }
.card-content { padding: 1.5rem; text-align: center; }
.card-content h3 {
    font-family: var(--fonte-titulo); font-size: 1.25rem;
    color: var(--cor-principal); margin-bottom: 0.5rem;
}
.card-icons { color: var(--cor-secundaria); font-size: 1.1rem; margin-bottom: 1rem; }
.card-icons i { margin: 0 5px; }
.btn-more {
    font-size: 0.85rem; font-weight: 600; color: var(--cor-principal);
    text-transform: uppercase; border-bottom: 2px solid var(--cor-secundaria);
}

/* =========================================
   7. DESTINO (SLIDER COM TEXTO)
   ========================================= */
.destination-section { background-color: var(--cor-principal-escuro); color: #fff; }
.destination-section .section-title { color: #fff; }
.destination-section .section-subtitle { color: var(--cor-secundaria); }

.destination-slider-container {
    position: relative; max-width: 900px; margin: 0 auto;
}
.destination-slide {
    display: grid; grid-template-columns: 1.2fr 0.8fr; background: #fff;
    border-radius: 8px; overflow: hidden; color: var(--cor-texto-corpo);
}
.dest-image {
    height: 400px; background-size: cover; background-position: center; transition: 0.5s;
}
.dest-content {
    padding: 2rem; display: flex; flex-direction: column; justify-content: center;
}
.dest-content h3 {
    font-family: var(--fonte-titulo); color: var(--cor-principal);
    font-size: 1.8rem; margin-bottom: 1rem;
}

/* =========================================
   8. RESERVAR (CTA)
   ========================================= */
.reserve-cta {
    background-color: var(--cor-secundaria); color: #fff; text-align: center;
}
.reserve-content h2 {
    font-family: var(--fonte-titulo); font-size: 2.5rem; margin-bottom: 1rem;
}
.btn-big-reserve {
    display: inline-block; background-color: var(--cor-principal); color: #fff;
    padding: 15px 40px; border-radius: 50px; font-weight: 700;
    font-size: 1.2rem; margin-top: 2rem; transition: 0.3s;
}
.btn-big-reserve:hover { background-color: var(--cor-principal-escuro); transform: scale(1.05); }

/* =========================================
   9. FOOTER
   ========================================= */
.footer { background-color: #222; color: #fff; padding: 3rem 0; margin-top: 0; }
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; margin-bottom: 2rem;
}
.footer-info h3 { font-family: var(--fonte-titulo); color: var(--cor-secundaria); margin-bottom: 5px; }
.footer-socials a { color: #fff; font-size: 1.5rem; margin-left: 20px; transition: 0.3s; }
.footer-socials a:hover { color: var(--cor-secundaria); }
.footer-copy { text-align: center; font-size: 0.85rem; opacity: 0.7; }

/* =========================================
   10. MODAL
   ========================================= */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
    background: #fff; width: 90%; max-width: 800px; border-radius: 8px;
    position: relative; overflow: hidden;
}
.close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 2rem;
    color: #fff; cursor: pointer; z-index: 10; text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.modal-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; }
.modal-slider-wrapper { position: relative; height: 400px; background: #000; }
.modal-slider-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.slider-controls {
    position: absolute; top: 50%; width: 100%; display: flex;
    justify-content: space-between; transform: translateY(-50%);
}
.slider-controls button {
    background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 1.5rem;
    padding: 10px; cursor: pointer;
}
.modal-text { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.modal-text h3 { font-family: var(--fonte-titulo); color: var(--cor-principal); font-size: 1.8rem; margin-bottom: 1rem; }
.btn-modal-reserve {
    display: inline-block; background-color: var(--cor-secundaria); color: #fff;
    padding: 10px 20px; border-radius: 4px; text-align: center; margin-top: 1rem;
}

/* =========================================
   11. RESPONSIVO (MOBILE)
   ========================================= */
@media screen and (max-width: 768px) {
    .header-container { padding-left: 20px; padding-right: 20px; }
    
    .nav-menu {
        position: fixed; top: -100%; left: 0; width: 100%; background: #fff;
        padding: 4rem 0; transition: 0.4s; flex-direction: column; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .show-menu { top: 0; }
    .nav-list { flex-direction: column; gap: 1.5rem; }
    .nav-toggle { display: block; }
    .nav-close { display: block; position: absolute; top: 1.5rem; right: 20px; font-size: 1.5rem; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .split-layout, .destination-slide, .modal-grid { grid-template-columns: 1fr; }
    .image-block { order: -1; }
    .modal-slider-wrapper { height: 250px; }
    .dest-image { height: 250px; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-socials a { margin: 0 10px; }
}