/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e7d32; /* Verde Floresta */
    --accent-color: #fbc02d;  /* Amarelo Sol (para botões/detalhes) */
    --text-color: #3e2723;    /* Marrom Café (texto mais suave que preto) */
    --light-bg: #f1f8e9;      /* Verde bem clarinho (quase branco) */
    --white: #ffffff;
    --pool-blue: #0288d1;     /* Azul Piscina para destaques */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

ul { list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* Utilitários */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #5d4037;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo{
    width: 80px;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    width: 42px;
    height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: var(--text-color);
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover { color: var(--primary-color); }

/* Hero Section (Capa) */
.hero {
    /* O segredo está nesta linha aqui: */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/ambiente/capa.jpg');
    
    /* Essas linhas garantem que a imagem cubra tudo sem distorcer */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* O resto do alinhamento */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: -80px;
    padding-top: 80px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.4rem; margin-bottom: 30px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

.btn {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: inline-block;
    margin: 8px 6px;
}
.btn:hover { background: #f9a825; transform: translateY(-2px); }

/* Nova Seção: Experiências (Ícones) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid var(--primary-color);
}

.feature-card:hover { transform: translateY(-5px); }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 { color: var(--primary-color); margin-bottom: 10px; }

/* Carrossel (Ajustes Visuais) */
.carousel {
    position: relative;
    height: 500px; /* Aumentei um pouco para valorizar as fotos da natureza */
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.carousel-track-container {
    height: 100%;
    position: relative;
}

.carousel-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease-in-out;
}
.carousel-slide.current-slide { opacity: 1; }

.carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    color: var(--primary-color);
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: 0.3s;
}
.carousel-btn:hover { background: var(--white); }
.prev { left: 20px; }
.next { right: 20px; }

/* Location & Footer */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Mapa maior que o texto */
    gap: 40px;
    align-items: center;
}

.address-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
}
.address-box h3 { color: var(--accent-color); margin-bottom: 20px; }
.address-box p { margin-bottom: 10px; }
.map-box iframe { width: 100%; }

footer {
    background: #1b5e20; /* Verde bem escuro */
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 30px;
}

/* Tablet */
@media (max-width: 992px) {
    nav ul { gap: 14px; }
    .hero h1 { font-size: 2.8rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 56px 0; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 32px; }

    .header-content {
        height: 80px;
        position: relative;
    }

    .menu-toggle { display: inline-flex; }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.is-open { max-height: 450px; }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 20px;
    }

    nav li {
        border-bottom: 1px solid rgba(46, 125, 50, 0.15);
    }

    nav li:last-child { border-bottom: 0; }

    nav a {
        display: block;
        text-align: center;
        padding: 12px 8px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1.1rem; margin-bottom: 20px; }

    .carousel { height: 280px; border-radius: 16px; }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .prev { left: 10px; }
    .next { right: 10px; }

    .location-grid { grid-template-columns: 1fr; gap: 24px; }
    .address-box { padding: 24px; }
    .map-box iframe { min-height: 280px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 10px auto 0;
        padding: 13px 20px;
        text-align: center;
    }
    .carousel { height: 220px; }
}
