/* AAU Brand Styles - matching shorturl.its.aau.dk */

/* CSS Variables */
:root {
    --aau-primary: #201952;
    --aau-primary-rgb: 32, 25, 82;
    --aau-primary-hover: #160f3a;
    --aau-white: #ffffff;
    --aau-gray: #f8f9fa;
    --aau-text: #333333;
    --aau-border: #dee2e6;
}

/* Body and Layout */
body {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Navbar Styling */
.navbar-custom {
    background: var(--aau-primary);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-custom .navbar-brand:hover {
    color: white;
}

.navbar-custom .navbar-brand img {
    height: 30px;
    width: auto;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .nav-link {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background 0.3s;
}

.navbar-custom .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.navbar-custom .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.navbar-custom .user-info {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

/* Language switcher */
.lang-switcher {
    color: white;
}

.lang-switcher a {
    color: white;
    text-decoration: none;
}

.lang-switcher a:hover {
    color: white;
    text-decoration: underline;
}

/* Sub-navigation for page tabs */
.aau-subnav {
    background: rgba(32, 25, 82, 0.9);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.aau-subnav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.aau-subnav .nav-link:hover {
    color: var(--aau-white);
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.aau-subnav .nav-link.active {
    color: var(--aau-white);
    border-bottom-color: var(--aau-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Button Styles */
.btn-primary {
    background: var(--aau-primary);
    border-color: var(--aau-primary);
}

.btn-primary:hover {
    background: var(--aau-primary-hover);
    border-color: var(--aau-primary-hover);
}

/* Footer */
.aau-footer {
    background-color: var(--aau-gray);
    border-top: 1px solid var(--aau-border);
    margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .navbar-custom .navbar-brand img {
        height: 24px;
    }

    .aau-subnav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .aau-subnav .nav-link.active {
        border-bottom: none;
        border-left-color: var(--aau-white);
    }
}
