/* css/styles.css */

/* Estilos generales */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Cards de características */
.features .card {
    transition: transform 0.3s ease;
}

.features .card:hover {
    transform: translateY(-5px);
}

/* Estilos para tareas */
.task-item {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.task-item:hover {
    background-color: #f8f9fa;
}

.task-item.importante {
    border-left-color: var(--danger-color);
}

.task-item.completada {
    opacity: 0.7;
    text-decoration: line-through;
}

/* Categorías en la barra lateral */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-item:hover {
    background-color: #e9ecef;
}

.category-item.active {
    background-color: var(--primary-color);
    color: white;
}

.category-item .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Responsive para mobile según diseño */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    /* Adaptación para diseño mobile */
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .task-item .task-time {
        font-size: 0.8rem;
    }
    
    /* Simular el diseño de 9:41 del mobile */
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Estilo para el contador de tareas */
.tasks-progress {
    background-color: #e9ecef;
    border-radius: 4px;
    height: 4px;
    margin: 10px 0;
}

.tasks-progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Footer */
footer {
    margin-top: auto;
}