/* public/css/landing.css */

:root {
    --primary-green: #2d8a4e;
    --dark-green: #1d6736;
    --accent-lime: #a3d9a5;
    --text-dark: #2d3748;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    background-color: #fcfcfc;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
}

/* --- NAV BAR --- */
.navbar {
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

/* Classe adicionada via JS ao rolar */
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important; /* Branco no topo */
    transition: color 0.3s;
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-green) !important; /* Verde ao rolar */
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.btn-nav {
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 700;
    transition: all 0.3s;
    background: white;
    color: var(--dark-green);
    border: none;
}

.navbar.scrolled .btn-nav {
    background: var(--primary-green);
    color: white;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 90vh; /* Ocupa quase toda a tela */
    min-height: 600px;
    /* Substitua pela sua imagem de fundo preferida */
    background: url('https://images.unsplash.com/photo-1625246333195-5848c428218e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente verde escuro semi-transparente */
    background: linear-gradient(135deg, rgba(20, 80, 40, 0.85) 0%, rgba(45, 138, 78, 0.70) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- DATAS FLUTUANTES --- */
.date-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin: 10px;
    transition: transform 0.3s;
}

.date-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

/* --- CARDS DE ACESSO --- */
.access-section {
    margin-top: -100px; /* Sobe por cima do Hero */
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.access-card {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 5px solid transparent;
}

.access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(45, 138, 78, 0.15);
}

.card-participante:hover { border-bottom-color: #3182ce; }
.card-embrapa:hover { border-bottom-color: var(--primary-green); }

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.card-participante .icon-circle { background-color: #ebf8ff; color: #3182ce; }
.card-embrapa .icon-circle { background-color: #f0fff4; color: var(--primary-green); }

.btn-access {
    border-radius: 50px;
    padding: 12px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* --- GALERIA --- */
.gallery-section {
    padding: 80px 0 100px;
}

.gallery-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    height: 280px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 70px 0 30px;
    position: relative;
}