/* Variables de color */
:root {
    --primary-color: #00741D;
    --secondary-color: #21D200;
    --white-color: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.75);
}

/* Estilos de la página principal */
.home-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Overlay oscuro para mejorar legibilidad */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 116, 29, 0.85) 0%, rgba(33, 210, 0, 0.85) 100%);
    z-index: 1;
}

/* Contenedor principal */
.home-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Logo y título */
.logo-container {
    animation: fadeInDown 1s ease-out;
}

.logo-home {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo-home:hover {
    transform: scale(1.05);
}

.company-title {
    color: var(--white-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.company-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Contenedor de botones */
.buttons-container {
    margin: 4rem 0;
}

/* Estilos de los botones principales */
.btn-option {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-reportar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 255, 240, 0.98) 100%);
}

.btn-consultar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 250, 230, 0.98) 100%);
}

/* Icono wrapper */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: var(--white-color);
}

.btn-option:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 116, 29, 0.3);
}

/* Contenido de los botones */
.btn-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-action {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-action i {
    transition: transform 0.3s ease;
}

.btn-option:hover .btn-action i {
    transform: translateX(8px);
}

.btn-consultar .btn-action {
    color: var(--primary-color);
}

/* Footer */
.home-footer {
    margin-top: 4rem;
    padding: 2rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.home-footer p {
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.home-footer small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-option {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.btn-option:first-child {
    animation-delay: 0.2s;
}

.btn-option:last-child {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .company-title {
        font-size: 1.8rem;
    }
    
    .company-subtitle {
        font-size: 1rem;
    }
    
    .btn-option {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .btn-content h2 {
        font-size: 1.4rem;
    }
    
    .btn-content p {
        font-size: 0.9rem;
    }
    
    .home-footer {
        margin-top: 2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .buttons-container {
        margin: 2rem 0;
    }
    
    .btn-option {
        padding: 1rem;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .icon-wrapper i {
        font-size: 1.5rem;
    }
}