/* Estilos para Hero Section y Logo Mejorado de Infosoft */

/* Hero Section con Gradiente */
.hero-section {
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 50%, #004085 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Logo Container */
.logo-container {
    animation: fadeInUp 0.8s ease-out;
}

.logo-icon {
    position: relative;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007BFF, #FFC107, #007BFF);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.logo-circle:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.logo-circle i {
    color: #007BFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

/* Logo Text */
.logo-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.logo-title span:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-title span:last-child {
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.logo-subtitle {
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

/* Hero Content */
.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Features Badges */
.features-badges {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.features-badges .badge {
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.features-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* System Status */
.system-status {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInLeft 0.8s ease-out 0.6s both;
}

.status-indicator {
    animation: fadeIn 1s ease-out 0.8s both;
}

.status-indicator i {
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .logo-circle i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .logo-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .features-badges .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem !important;
    }
}

/* Logo del Drawer - Versión compacta para menú lateral */
.drawer-logo-container {
    transition: all 0.3s ease;
}

.drawer-logo-container:hover {
    transform: scale(1.02);
}

.drawer-logo-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.drawer-logo-circle::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #007BFF, #FFC107, #007BFF);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.drawer-logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.drawer-logo-circle i {
    font-size: 0.9rem !important;
    animation: pulse 3s ease-in-out infinite;
}

.drawer-logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.drawer-logo-title span:first-child {
    color: #007BFF !important;
}

.drawer-logo-title span:last-child {
    color: #FFC107 !important;
}

.drawer-logo-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.8;
    line-height: 1;
}

/* Hover effect para el link completo */
.mud-drawer-header .mud-link:hover .drawer-logo-title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Utilidades de color personalizadas */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 50%, #004085 100%) !important;
}
