/* landing.css - Estilos para la nueva página de inicio de Atenea */

:root {
    --dark-bg: #1a202c; /* Un azul muy oscuro, casi negro */
    --primary-accent: #f12711; /* Naranja de tu logo */
    --secondary-accent: #f5af19; /* Amarillo/Dorado para gradientes */
    --text-light: #f7fafc;
    --text-medium: #a0aec0;
    --card-bg: #2d3748;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Fondo de gradiente animado */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 39, 17, 0.1), rgba(29, 38, 54, 0.1) 50%, rgba(245, 175, 25, 0.1));
    background-size: 200% 200%;
    animation: gradient-animation 15s ease infinite;
    z-index: -1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header y Navegación */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo-container img {
    height: 60px; /* Aumentado de 50px para mayor notoriedad */
    transition: transform 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-btn {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 39, 17, 0.3);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 175, 25, 0.4);
}

/* Estilo para el selector de idioma */
.bootstrap-select .btn {
    background-color: transparent;
    border: 1px solid var(--text-medium);
    color: var(--text-light);
}

.bootstrap-select.open .dropdown-menu {
    background-color: var(--card-bg);
}

.bootstrap-select .dropdown-menu li a {
    color: var(--text-light);
}

.bootstrap-select .dropdown-menu li a:hover {
    background-color: var(--primary-accent);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .highlight {
    background: -webkit-linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: -webkit-linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    text-align: left;
}

.feature-text h3 {
    font-size: 2rem; /* Aumentado de 1.5rem */
    font-weight: 700; /* Hacemos el título más audaz */
    margin-bottom: 1rem; /* Más espacio debajo del título */
    line-height: 1.3;
    background: -webkit-linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-text p {
    color: var(--text-medium);
    font-size: 1.2rem; /* Aumentado de 1.1rem */
    line-height: 1.7; /* Mejoramos la legibilidad */
}

.feature-image {
    flex: 1.2; /* Damos un poco más de espacio a la imagen */
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.landing-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #2d3748;
    color: var(--text-medium);
}

.landing-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-footer a:hover {
    color: var(--primary-accent);
}

/* Modal de Login */
.modal-content {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid #4a5568;
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid #4a5568;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-body .form-control {
    background-color: var(--dark-bg);
    border: 1px solid #4a5568;
    color: var(--text-light);
}

.modal-body .form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.2rem rgba(241, 39, 17, 0.25);
}

.modal-footer {
    border-top: 1px solid #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .landing-header {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item, .feature-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* Recovery Page Section */
.recovery-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem; /* Add padding top to account for header */
}

.recovery-panel {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid #4a5568;
    border-radius: 10px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.recovery-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.recovery-panel p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.recovery-panel .form-control {
    background-color: var(--dark-bg);
    border: 1px solid #4a5568;
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
}

.recovery-panel .form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.2rem rgba(241, 39, 17, 0.25);
}

.recovery-panel .btn {
    margin-top: 1rem;
}

.recovery-panel .back-link a {
    color: var(--text-medium);
    text-decoration: none;
}

/* Register Page Section */
.register-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem; /* More padding top for longer form */
}

.register-panel {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid #4a5568;
    border-radius: 10px;
    padding: 2.5rem;
    max-width: 800px; /* Wider for the registration form */
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

.register-panel h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.register-panel p.intro-text {
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
}

.register-panel .form-horizontal .control-label {
    color: var(--text-medium);
    text-align: right;
    padding-top: 7px;
}

.register-panel .form-control {
    background-color: var(--dark-bg);
    border: 1px solid #4a5568;
    color: var(--text-light);
}

.register-panel .form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.2rem rgba(241, 39, 17, 0.25);
}

.register-panel .privacy-link {
    color: var(--text-medium);
}

.register-panel .privacy-link a {
    color: var(--primary-accent);
    text-decoration: none;
}

.register-panel .privacy-link a:hover {
    text-decoration: underline;
}

/* Popover Customization for dark theme */
.popover {
    background-color: var(--dark-bg);
    border: 1px solid var(--primary-accent);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.popover-title {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--primary-accent);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: bold;
}
.popover.right > .arrow:after {
    border-right-color: var(--dark-bg);
}
.popover > .arrow {
    border-color: transparent;
}
.popover.right > .arrow {
    border-right-color: var(--primary-accent);
}
.popover-content a {
    color: var(--secondary-accent);
    font-weight: bold;
}
.popover-content a:hover {
    color: var(--primary-accent);
}

.register-panel .control-label .glyphicon-info-sign {
    cursor: pointer;
    color: var(--text-medium);
    margin-left: 5px;
}
.register-panel .control-label .glyphicon-info-sign:hover {
    color: var(--text-light);
}

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