/* bdni Web Hub: styles shared by every page */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}
.logo-text {
    color: #3b82f6;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.logo-smiley {
    width: 60px;
    height: 30px;
    position: relative;
    margin-top: 5px;
}
.smiley-face {
    width: 100%;
    height: 100%;
    position: relative;
}
.smiley-face::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 25px;
    border: 3px solid #3b82f6;
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    top: 0;
    left: 5px;
    animation: bounce 2s infinite;
}
.smiley-face::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 20px;
    border-bottom: 3px solid #3b82f6;
    border-radius: 0 0 20px 20px;
    bottom: 0;
    left: 10px;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.smiley-eyes {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 30px;
    height: 10px;
    display: flex;
    justify-content: space-between;
}
.smiley-eye {
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 50%;
    animation: blink 4s infinite;
}
@keyframes blink {
    0%, 40%, 44%, 100% { transform: scaleY(1); }
    42% { transform: scaleY(0.1); }
}
.logo-subtitle {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px;
    letter-spacing: 1px;
}
.nav-bar {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.nav-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    background: rgba(59,130,246,0.1);
    border: 1px solid transparent;
}
.nav-link:hover {
    background: rgba(59,130,246,0.2);
    transform: translateY(-2px);
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}


@media (max-width: 480px) {
    .logo-text { font-size: 36px; }
    .logo-subtitle { font-size: 24px; }
}

/* Visible keyboard focus everywhere */
:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
