/* Estilos globales */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #333;
    margin: 0;
}

/* Hero section */
.hero {
    min-height: 80vh; /* ocupa gran parte de la pantalla */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centrado vertical */
    align-items: center;     /* centrado horizontal */
    text-align: center;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); /* degradado azul */
    color: #fff; /* texto blanco */
    padding: 4rem 0;
    transition: all 0.5s ease-in-out; /* transición suave */
}

/* Hero compacto para usuarios logueados */
.hero.hero-compact {
    min-height: 100px;       /* más pequeño */
    padding: 1rem 2rem;
    justify-content: flex-start; /* se mueve hacia arriba */
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(135deg, #2a7ae2 0%, #00c6fb 100%); /* degradado más oscuro */
}

/* Títulos y subtítulos del hero */
.hero-title {
    font-size: 3rem;
    transition: all 0.5s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    transition: all 0.5s ease;
}

/* Hero compacto */
.hero.hero-compact .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero.hero-compact .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
}

/* General section */
.section {
    padding: 4rem 0;
}

/* Buttons personalizados */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

/* Navbar personalizado */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
}

/* Ajustes responsive para hero */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero.hero-compact {
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero.hero-compact .hero-title {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero.hero-compact .hero-subtitle {
        font-size: 0.875rem;
    }
}
