/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    --color-primary: #AD8B73; /* Um tom de madeira/bronze */
    --color-dark: #222;
    --color-light: #F4F4F4;
    --color-text: #333;
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2 {
    font-family: var(--font-headings);
    color: var(--color-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

/* --- CABEÇALHO (HEADER) --- */
header {
    background-color: #000;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-dark);
}

header nav a {
    text-decoration: none;
    color: white;
    margin-left: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--color-primary);
}

.btn-reservar-nav {
    background-color: var(--color-primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-reservar-nav:hover {
    background-color: #8a6d58;
    color: white !important;
}


/* --- SEÇÃO PRINCIPAL (HERO) --- */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/nova-fachada-blackpine.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #8a6d58;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #128C7E; /* Um verde elegante, inspirado no WhatsApp */
    border: 2px solid #128C7E; /* Borda da mesma cor para consistência */
}

.btn-secondary:hover {
    background-color: #075E54; /* Um tom mais escuro para o efeito hover */
    border-color: #075E54;
    color: white;
}

/* --- SEÇÕES DE TEXTO --- */
.text-section {
    background-color: var(--color-light);
    text-align: center;
}

.text-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- COMODIDADES --- */
#comodidades {
    background-color: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.amenity-item {
    font-size: 1.1rem;
}

.amenity-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

/* --- GALERIA --- */
#galeria {
    background-color: var(--color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- RODAPÉ --- */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    padding: 2rem 0;
}

.social-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Espaçamento extra no CTA Final */
#final-cta .cta-buttons {
    margin-top: 2.5rem; /* Ajuste este valor conforme sua preferência */
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    header nav {
        margin-top: 1rem;
    }
    header nav a {
        margin: 0 0.5rem;
    }
}
/* --- Estilo do Logotipo --- */
.logo img {
    height: 110px; /* Ajuste essa altura conforme sua preferência */
    width: auto;  /* Mantém a proporção da imagem */
    display: block; /* Remove espaços extras abaixo da imagem */
}
/* --- ESTILOS PARA O MENU MOBILE --- */

/* Esconde o botão hambúrguer em telas grandes */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- AJUSTES DENTRO DA REGRA DE RESPONSIVIDADE --- */

@media (max-width: 768px) {
    /* Altera o layout do container do header para alinhar logo e menu */
    header .container {
        flex-direction: row; /* Mantém logo e ícone na mesma linha */
        justify-content: space-between;
        height: 110px; /* Altura original restaurada */
        padding: 0 2rem; /* Adiciona padding lateral */
    }

    /* Mostra o botão hambúrguer em telas pequenas */
    #menu-toggle {
        display: block;
        position: relative; 
        z-index: 1002;      
    }

    /* Estiliza o menu de navegação para mobile */
    header nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem; /* Espaçamento entre os links */
        
        position: fixed;
        top: 0;
        right: -100%; /* Começa escondido fora da tela */
        width: 100%;
        height: 100vh;
        z-index: 1001;
        
        background-color: var(--color-dark);
        margin-top: 0; /* Remove a margem anterior */
        transition: right 0.4s ease-in-out;
    }

    /* Classe que será adicionada via JavaScript para mostrar o menu */
    header nav.active {
        right: 0;
    }

    /* Estiliza os links dentro do menu mobile */
    header nav a {
        font-size: 1.5rem;
        margin-left: 0; /* Remove a margem anterior */
    }
}