:root {
    --primary-color: #0c1c38;
    --secondary-color: #a38c64;
    --accent-color: #f3f3f3;
    --text-color: #333;
    --white: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #29A71A;
    color: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
}

/* Seção Principal (Hero) - COM IMAGEM ESTÁTICA */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    
    /* Imagem de fundo estática */
    background-image: url('img/capa.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Sobreposição escura para legibilidade do texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Conteúdo acima da sobreposição */
.hero-content {
    position: relative;
    z-index: 2; 
    padding: 20px;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Regra do Logo */
.hero-logo {
    max-width: 200px; 
    width: 80%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

#subtitle2{
    font-size: 1.3rem;
    font-weight: 600;
    color: #a0e6a0; /* Verde claro para destaque */
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #bfa886;
    transform: translateY(-3px);
}

/* Seções Padrão */
section {
    padding: 80px 5%;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Seção de Benefícios */
.benefits-section {
    background-color: var(--accent-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

/* Estilo do Ícone FontAwesome */
.benefit-icon {
    font-size: 50px; 
    color: var(--secondary-color);
    
    height: 80px;
    width: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
}

/* Seção do Carrossel Secundário - Empreendimento */
.photo-carousel-section {
    background-color: var(--white);
    padding: 80px 5% 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}

.main-photo-container {
    width: 100%;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9; 
    overflow: hidden; 
}

#main-photo {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease-in-out;
}

.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
}

.thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s, border 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover, .thumbnail.active-thumbnail {
    opacity: 1;
    transform: translateY(-3px);
    border: 3px solid var(--secondary-color);
}

/* Botões de Navegação do Carrossel */
.carousel-nav {
    position: absolute;
    top: 50%; 
    transform: translateY(-100%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-container .prev-button {
    left: 10px;
}

.carousel-container .next-button {
    right: 10px;
}


/* Seção de Localização */
.location-section {
    background-color: var(--accent-color);
}

.location-content p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Seção de Plantas */
.plants-section {
    background-color: var(--white);
    position: relative;
}

.plants-carousel-container {
    position: relative;
    max-width: 1200px; 
    margin: 0 auto 2rem;
    overflow-x: hidden; 
    overflow-y: hidden; 
}

.plants-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 5px; 
    
    overflow-x: scroll;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    
    scroll-behavior: smooth; 
    margin-bottom: 2rem;
}

.plants-grid::-webkit-scrollbar {
    display: none;
}

.plant-item {
    flex: 0 0 280px; 
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer; 
}

.plant-item:hover {
    transform: scale(1.05);
}

.plant-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.plant-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.plant-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Botões de Navegação do Carrossel de Plantas */
.plants-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 28, 56, 0.7); 
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plants-nav:hover {
    background-color: var(--primary-color);
}

.plants-carousel-container .prev-button.plants-nav {
    left: 5px;
}

.plants-carousel-container .next-button.plants-nav {
    right: 5px;
}


/* LIGHTBOX (MODAL) */
.lightbox-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.lightbox-content, .lightbox-caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Seção Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 5%;
}

.final-cta-section .section-title, .final-cta-section p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.large-cta {
    font-size: 1.2rem;
    padding: 20px 40px;
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 5%;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        margin-bottom: 1.5rem; 
        max-width: 150px;
    }

    .hero-title {
        font-size: 2.2rem; 
        word-break: break-word; 
        margin-bottom: 1.5rem; 
    }

    .hero-subtitle {
        font-size: 0.9rem; 
        word-break: break-word; 
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 40px;
        left: 20px;
        right: auto;
        width: 60px;
        height: 60px;
    }

    .whatsapp-icon {
        width: 60px;
        height: 60px;
    }
    .thumbnail {
        width: 100px;
        height: 70px;
    }

    .plants-grid {
        justify-content: flex-start;
        overflow-x: scroll; 
    }
    .plants-nav {
        display: none; 
    }
    .carousel-nav {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}

/* Animações de Scroll */
.benefit-item, .plant-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.benefit-item.visible, .plant-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.plant-item:hover {
    transform: scale(1.05);
}