/*
 * Valecom - Sector Agriculture CSS
 * Estilos específicos para la página de Agricultura Inteligente (AgroTech)
 */

:root {
    --agriculture-primary: #4CAF50;
    --agriculture-primary-hover: #388E3C;
    --agriculture-secondary: #0F4C81;
    --agriculture-accent: #8BC34A;
    --agriculture-light: #F1F8E9;
    --agriculture-dark: #2E7D32;
}

.btn-agriculture {
    background-color: var(--agriculture-primary);
    border-color: var(--agriculture-primary);
    color: white;
}
.btn-agriculture:hover, .btn-agriculture:focus {
    background-color: var(--agriculture-primary-hover);
    border-color: var(--agriculture-primary-hover);
    color: white;
}
.btn-outline-agriculture {
    color: var(--agriculture-primary);
    border-color: var(--agriculture-primary);
}
.btn-outline-agriculture:hover, .btn-outline-agriculture:focus {
    background-color: var(--agriculture-primary);
    border-color: var(--agriculture-primary);
    color: white;
}

.agriculture-hero {
    background: linear-gradient(135deg, var(--agriculture-light) 0%, #F8F9FC 100%);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.agriculture-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40%;
    background: url('../img/patterns/agriculture-pattern.svg') repeat;
    opacity: 0.04;
    z-index: 0;
}

.sector-logo-hero {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--agriculture-primary), var(--agriculture-accent));
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(76,175,80,.3);
}
.sector-logo-hero i { font-size: 2.5rem; color: white; }

.agriculture-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border-top: 4px solid var(--agriculture-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.agriculture-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(76,175,80,.15);
}
.agriculture-feature-card .feature-icon {
    width: 52px; height: 52px;
    background: var(--agriculture-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.agriculture-feature-card .feature-icon i {
    font-size: 1.4rem;
    color: var(--agriculture-primary);
}

.agriculture-stat {
    text-align: center;
    padding: 2rem 1rem;
}
.agriculture-stat .stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--agriculture-primary);
    line-height: 1;
}
.agriculture-stat .stat-label {
    font-size: .85rem;
    color: #52616B;
    margin-top: .35rem;
}

.agriculture-cta {
    background: linear-gradient(135deg, var(--agriculture-primary), var(--agriculture-dark));
    border-radius: 24px;
    padding: 4rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.agriculture-cta::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
