/* Estilos modernos para Flora Argentina 2025 */

:root {
    /* Mantenemos las variables de color existentes */
    --primary-color: #3D8361;
    --secondary-color: #EEF2E6;
    --accent-color: #D6CDA4;
    --text-color: #1C3D36;
    --light-text: #4F6F52;
    --border-color: #D6CDA4;
    --white: #FFFFFF;
    --light-bg: #F5F5F5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* Nuevas variables para el diseño moderno */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(255, 255, 255, 0.8);
    --glass-effect: rgba(255, 255, 255, 0.15);
    --button-hover: #2a6e4d;
    --button-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Base y resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
}

/* Layout principal */
.page-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slider de fondo fijo */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--overlay-dark), transparent 30%, transparent 70%, var(--overlay-dark));
    z-index: 1;
}

/* Contenido scrolleable */
.scrollable-content {
    position: relative;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    z-index: 2;
}

/* Header moderno */
.modern-header {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-container {
    margin-right: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.title-container {
    flex: 1;
    min-width: 300px;
}

.title-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor de botones */
.button-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

/* Botones de acción */
.action-button {
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-button:hover {
    transform: translateY(-5px);
}

.contador {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--glass-effect);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--glass-effect);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: var(--primary-color);
    box-shadow: var(--button-shadow);
}

.btn-action i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-action span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.btn-action .subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer moderno */
.modern-footer {
    padding: 2rem 0;
    margin-top: 3rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: var(--white);
}

.plantnet-attribution {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.plantnet-logo {
    width: 150px;
    height: auto;
}

.plantnet-attribution a {
    color: var(--accent-color);
    text-decoration: none;
}

.plantnet-attribution a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .title-container h1 {
        font-size: 2.5rem;
    }
    
    .logo-container {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    .btn-action {
        padding: 1.5rem;
    }
    
    .btn-action i {
        font-size: 2rem;
    }
    
    .btn-action span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .title-container h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .btn-action {
        padding: 1.2rem;
    }
    
    .btn-action i {
        font-size: 1.5rem;
    }
    
    .btn-action span {
        font-size: 1.1rem;
    }
}