/* sezon: veterans */
/* Group 312 Chicago - Veterans Day / Dzień Weterana (wersja angielska) (sezonowy nagłówek)
   Wczytywany automatycznie przez /css/sezon.php według kalendarza. */

header {
    background: linear-gradient(135deg, #0a1f44 0%, #13306b 55%, #1e3a8a 100%) !important;
    border-bottom: 3px solid #b22234 !important;
    box-shadow: 0 2px 18px rgba(30, 58, 138, 0.35) !important;
}
header { box-shadow: inset 0 -6px 0 #ffffff, 0 2px 18px rgba(30, 58, 138, 0.35) !important; }

/* animowane dekoracje: tylko ozdoba, nie łapią kliknięć */
header::before,
header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-repeat: repeat-x;
}
header::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='80' viewBox='0 0 520 80'%3E%3Cg transform='translate(40 12) scale(0.7)'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.5l7.1-.6z' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.35;1;0.35' dur='3.0s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3Cg transform='translate(170 46) scale(0.5)'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.5l7.1-.6z' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.35;1;0.35' dur='2.4s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3Cg transform='translate(300 18) scale(0.6)'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.5l7.1-.6z' fill='%23fca5a5'%3E%3Canimate attributeName='opacity' values='0.35;1;0.35' dur='3.4s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3Cg transform='translate(430 50) scale(0.55)'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.5l7.1-.6z' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.35;1;0.35' dur='2.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-size: auto 80px;
    opacity: 0.9;
}
header::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='80' viewBox='0 0 300 80'%3E%3Ccircle cx='30' cy='20' r='1.2' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.2;1;0.2' dur='2.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='120' cy='64' r='1.0' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.2;1;0.2' dur='3.0s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='210' cy='12' r='1.4' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.2;1;0.2' dur='2.7s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='280' cy='46' r='1.0' fill='%23ffffff'%3E%3Canimate attributeName='opacity' values='0.2;1;0.2' dur='3.3s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-size: auto 80px;
    opacity: 0.8;
}

/* menu i logo nad dekoracjami */
header > nav { position: relative; z-index: 1; }

.logo a::before {
    content: "🇺🇸";
    display: inline-block;
    margin-right: 0.4rem;
    animation: g312-wave 3.4s ease-in-out infinite; transform-origin: 20% 80%;
}
@keyframes g312-wave {
    0%, 100% { transform: rotate(-6deg); }
    50%      { transform: rotate(6deg); }
}

/* akcenty w menu */
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fecaca !important; }
.nav-links a::after { background: #ffffff !important; }

.lang-switcher a { border-color: #ffffff !important; }
.lang-switcher a:hover { background: rgba(255, 255, 255, 0.18) !important; }

/* menu mobilne */
@media (max-width: 1279px) {
    .nav-links { background: #0a1f44 !important; }
    .hamburger span { background: #ffffff !important; }
}

/* osoby z ograniczonym ruchem w systemie: bez animacji */
@media (prefers-reduced-motion: reduce) {
    header::before, header::after { display: none; }
    .logo a::before { animation: none; }
}

/* stopka w kolorach motywu */
footer {
    background: linear-gradient(315deg, #0a1f44 0%, #13306b 55%, #1e3a8a 100%) !important;
    border-top: 3px solid #b22234 !important;
    color: #fff !important;
}
footer a { color: #fecaca !important; }
footer a:hover { color: #fff !important; }
