/*
    Horizon Ethos Design System
    Custom Styles for Politécnico Nafoem
*/

/* Base Scrollbar Styling for a more modern feel */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f7f9fb;
}
::-webkit-scrollbar-thumb {
    background: #c6c6cd;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c839b;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.glass-panel-floating {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0px 10px 30px rgba(15, 23, 42, 0.08);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #131b2e 0%, #1f2b48 100%);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(19, 27, 46, 0.39);
    display: inline-block;
}

.btn-primary:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 27, 46, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #131b2e;
    color: #131b2e;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(135deg, #131b2e 0%, #006c4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #131b2e; /* Fallback */
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Input Fields */
.input-glow {
    background-color: #ffffff !important;
    color: #131b2e !important;
    border: 1px solid #9ca3af !important; /* Darker border for contrast */
    transition: all 0.3s ease;
}

.input-glow:focus {
    background-color: #ffffff !important;
    border-color: #131b2e !important;
    box-shadow: 0 0 0 3px rgba(19, 27, 46, 0.2) !important;
    outline: none;
}

