/* ==========================================================================
   1. VARIÁVEIS DE CORES (Baseadas na Logo)
   ========================================================================== */
:root {
    --primary-color: #4A1E08;      /* Marrom escuro da marca */
    --secondary-color: #F0A828;    /* Amarelo/Dourado do sol */
    --accent-color: #D87D20;       /* Laranja aterrado */
    --bg-light: #FDF8EE;           /* Creme claro para fundos */
    --text-color: #2D1407;         /* Marrom escuro para texto */
    --white: #ffffff;
    --gray-light: #f4f4f4;
}

/* ==========================================================================
   2. ESTILOS GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.text-white {
    color: var(--white);
}

/* ==========================================================================
   3. CABEÇALHO E NAVEGAÇÃO
   ========================================================================== */
.header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px; /* Reduzido levemente para acomodar a altura do SVG */
}

/* Estilização da Logo em SVG */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 125px; 
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold !important;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white, #ffffff);
    font-size: 26px;
    cursor: pointer;
    padding: 5px 10px;
}

/* ==========================================================================
   4. HERO (BANNER PRINCIPAL)
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(74, 30, 8, 0.85), rgba(216, 125, 32, 0.8)), url('../img/hero.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. SEÇÃO SOBRE NÓS
   ========================================================================== */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* ==========================================================================
   6. GALERIA / CARROSSEL DE FOTOS
   ========================================================================== */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-track .gallery-item {
    min-width: 100%;
    aspect-ratio: 16/9;
}

/* Regra para redimensionar e enquadrar as imagens corretamente */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--gray-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
    gap: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 30, 8, 0.8);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
}

.carousel-btn.prev { left: -15px; }
.carousel-btn.next { right: -15px; }

/* ==========================================================================
   7. PLANOS E TARIFAS
   ========================================================================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.plan-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.plan-card.featured {
    border: 2px solid var(--accent-color);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.plan-header h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.plan-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:last-child {
    border-bottom: none;
}
/* ==========================================================================
   ESTILOS DO FORMULÁRIO DE RESERVA 
   ========================================================================== */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}


/* Destaque para pré-visualização de preço */
.price-preview-box {
    background-color: #f9f6f0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    text-align: center;
}

.price-display {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 5px 0;
}

.price-detail {
    color: #666;
    font-size: 14px;
}

.pix-amount-summary {
    background: #eef9f2;
    border: 1px solid #25D366;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}

.sinal-highlight {
    font-size: 18px;
    color: #1ebc57;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Aviso de Datas Especiais no Formulário */
.special-dates-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 5px solid #e67e22;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #856404;
}

.special-dates-notice i.fa-circle-exclamation {
    font-size: 1.5rem;
    color: #e67e22;
    margin-top: 2px;
}

.special-dates-notice strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #533f03;
}

.special-dates-notice p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.btn-notice-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #25d366;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-notice-wa:hover {
    background-color: #1ebc57;
}
/* ==========================================================================
   8. LOCALIZAÇÃO E CONTATO
   ========================================================================== */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-section {
    color: var(--white);
    background-color: var(--primary-color);
    text-align: center;
}

.contact-card {
    margin-top: 20px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
    color: #ffffff;
}

/* ==========================================================================
   9. RODAPÉ
   ========================================================================== */
.footer {
    background-color: #2a1104;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* ==========================================================================
   10. RESPONSIVIDADE (MOBILE)
   ========================================================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Evita que o ícone interno capture o clique em vez do botão */
    .menu-toggle i {
        pointer-events: none;
    }

    /* Estrutura do container do cabeçalho */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
    }

    /* Estilo do container de navegação */
    .nav {
        display: none;
        width: 100%;
        background-color: #5c2406; /* Cor escura de fundo da sua pousada */
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Quando ativado pelo JS */
    .nav.active {
        display: block !important;
        margin-top: 10px;
    }

    /* Estilização dos links para ficarem bem visíveis */
    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .nav ul li a {
        color: #ffffff !important; /* Força a cor branca visível */
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        display: block;
        padding: 8px 0;
    }

    .nav ul li a:hover {
        color: #f39c12 !important; /* Destaque ao passar o cursor/toque */
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 100px; 
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
}