/* Layout Styles */

:root {
    /* GTK Farbpalette (falls noch nicht definiert) */
    --gtk-100: #ccf2fb;
    --gtk-200: #99e5f7;
    --gtk-300: #66d8f3;
    --gtk-400: #00a8d7;
    --gtk-500: #008cbf;
    --gtk-600: #00719f;
    --gtk-700: #00587f;
    --gtk-800: #003f5f;
    --gtk-900: #00263f;
}

/* Moderner Header mit Glassmorphism und Tiefe */
.gradient-header {
    background: linear-gradient(135deg, var(--gtk-500) 0%, var(--gtk-600) 50%, var(--gtk-700) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 88, 127, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Subtiler Glanz-Effekt am oberen Rand */
.gradient-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
}

/* Navigation Links mit Hover-Effekt */
.nav-link-modern {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.nav-link-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link-modern:hover::after {
    width: 80%;
}

/* Logo Container mit Glow-Effekt */
.logo-container {
    background: white;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(0, 168, 215, 0.2);
    transition: all 0.3s ease;
}

.logo-container:hover {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(0, 168, 215, 0.3);
    transform: scale(1.02);
}

/* User Menu Styling */
.user-menu-trigger {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.user-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Animierter Trenner */
.nav-divider {
    height: 1.5rem;
    width: 1px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
}

/* Mobile Menu mit Glassmorphism */
.mobile-menu-glass {
    background: rgba(0, 88, 127, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sanfte Einblend-Animation */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-slide-down {
    animation: fadeSlideDown 0.3s ease-out;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.875rem;
    background-color: var(--gtk-400);
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--gtk-500);
}

.btn-primary:active {
    background-color: var(--gtk-600);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.875rem;
    background-color: var(--gtk-100);
    color: var(--gtk-700);
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--gtk-200);
}

.card {
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 168, 215, 0.15);
}
