/* ===== AGRI CIRCULAR-PM ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

/* ---- Header ---- */
header {
    background-color: #2c5f2d;
    color: white;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

header h1 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 4px;
}

header .subtitle {
    font-size: 0.95em;
    font-weight: 400;
    opacity: 0.85;
}

/* ---- Main / Hero ---- */
main {
    flex: 1;
    display: flex;
}

.hero-img {
    flex: 1;
    background: url('agricultira.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ---- Button (original style) ---- */
.button {
    background-color: #2c5f2d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #388e3c;
    transform: scale(1.05);
}

/* ---- Footer ---- */
footer {
    background-color: #2c5f2d;
    color: white;
    text-align: center;
    padding: 14px 0;
    flex-shrink: 0;
    font-size: 0.85em;
}

/* ---- Responsivo ---- */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6em;
    }
    header .subtitle {
        font-size: 0.82em;
    }
    .hero-content h2 {
        font-size: 2em;
    }
    .button {
        padding: 12px 24px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.3em;
    }
    header .subtitle {
        font-size: 0.75em;
    }
    header {
        padding: 12px 16px;
    }
    .hero-content h2 {
        font-size: 1.6em;
    }
    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    footer {
        padding: 10px 0;
        font-size: 0.78em;
    }
}
