:root{
    --primary:#2563eb;
    --primary-dark:#1e40af;
    --bg:#eef2f7;
    --card:#ffffff;
    --text:#1a202c;
}

*{box-sizing:border-box}

body{
    margin:0;
    font-family:'Inter','Segoe UI',sans-serif;
    background:var(--bg);
    color:var(--text);
}

.container{
    max-width:1100px;
    margin:5px auto;
    background:var(--card);
    border-radius:5px;
    overflow:hidden;
    box-shadow:0 15px 20px rgba(0,0,0,0.08);
}

/* ===============================
   HEADER PREMIUM
================================ */

.site-header{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#1e3a8a 0%, #2563eb 100%);
    padding:15px 15px;
    color:white;
}

/* PANORAMA ZE SKOŚNYM PRZEJŚCIEM */
.header-photo{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:30%;
    z-index:1;

    background-image:url("uploads/panorama.jpg");
    background-size:cover;
    background-position:center;

    /* maska skośna */
    clip-path:polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    
    animation:photoFade 1.4s ease-out forwards;
    opacity:0;
}

/* miękkie przejście koloru */
.header-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,
        rgba(30,58,138,0) 40%,
        rgba(37,99,235,0.9) 85%,
        rgba(37,99,235,1) 100%);
}

/* REFLEKSY – MOCNIEJSZE */
.site-header::before{
    content:"";
    position:absolute;
    top:-20%;
    right:-10%;
    width:700px;
    height:700px;
    background:radial-gradient(circle,
        rgba(255,255,255,0.35) 0%,
        rgba(255,255,255,0.2) 25%,
        transparent 70%);
    filter:blur(25px);
    animation:lightMove 10s ease-in-out infinite alternate;
    z-index:2;
}

.site-header::after{
    content:"";
    position:absolute;
    bottom:-20%;
    left:30%;
    width:500px;
    height:500px;
    background:radial-gradient(circle,
        rgba(255,255,255,0.25) 0%,
        transparent 70%);
    filter:blur(30px);
    animation:lightMove2 14s ease-in-out infinite alternate;
    z-index:2;
}

/* TREŚĆ */
.header-inner{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    z-index:3;
}

/* TEKST – przesunięty w prawo */
.header-text{
    margin-left:32%;
    animation:textSlide 1.2s ease-out forwards;
    opacity:0;
}

.header-text h1{
    margin:0;
    font-size:40px;
    font-weight:700;
}

.header-text h2{
    margin:2px 0 0;
    font-size:35px;
    font-weight:700;
    opacity:0.95;
}

/* LOGO */
.logo-wrapper{
    width:110px;
    height:110px;
}

.logo-wrapper img{
    width:100%;
    height:100%;
    object-fit:contain;
    animation:photoFade 1.3s ease-out forwards;

}

/* ===============================
   ANIMACJE WEJŚCIA
================================ */

@keyframes photoFade{
    to{
        opacity:1;
    }
}

@keyframes textSlide{
    from{
        transform:translateX(60px);
        opacity:0;
    }
    to{
        transform:translateX(0);
        opacity:1;
    }
}

@keyframes lightMove{
    from{
        transform:translateX(0) translateY(0);
    }
    to{
        transform:translateX(-100px) translateY(70px);
    }
}

@keyframes lightMove2{
    from{
        transform:translateX(0) translateY(0);
    }
    to{
        transform:translateX(90px) translateY(-60px);
    }
}

/* MOBILE */
@media(max-width:900px){

    .header-inner{
        flex-direction:column;
        text-align:center;
    }

    .school-logo{
        height:90px;
    }

    .header-text h1{
        font-size:24px;
    }

    .header-text h2{
        font-size:16px;
    }

}

.site-alert{
    background:#dc2626;
    color:white;
    padding:6px 20px;
    font-size:14px;
    text-align:center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.site-alert p{
    margin:0;
}

.layout{
    display:flex;
    gap:30px;
    padding:20px 30px;
}

.sidebar{
    width:25%;
    background:#f1f5f9;
    padding:20px;
    border-radius:12px;
}

.main-area{
    width:75%;
    display:flex;
    flex-direction:column;
}

/* ===============================
   MENU PREMIUM
================================ */

/* ===============================
   MENU – WERSJA ELEGANCKA SZARA
================================ */

nav{
    position:relative;
    z-index:1000;
    background:#2f343a;
    border-radius:12px;
    margin-top:5px;
}

nav ul{
    display:flex;
    list-style:none;
    margin:0;
    padding:0 20px;
    gap:6px;
}

nav li{
    position:relative;
}

nav a{
    display:block;
    padding:12px 16px;
    color:#e5e7eb;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    white-space:nowrap; /* zawsze jedna linia */
    border-radius:8px;
    transition:0.2s ease;
}

nav a:hover{
    background:#3b4046;
}

/* AKTYWNA STRONA */
nav a.active{
    background:#4b5563;
    color:white;
    font-weight:600;
}

/* PODMENU */
nav ul ul{
    position:absolute;
    top:100%; /* bez dużego odstępu */
    left:0;
    margin-top:0px;
    min-width:200px;
    background:#ffffff;
    border-radius:12px;
    padding:8px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    display:none;
    flex-direction:column;
    gap:4px;
}
nav li{
    padding-bottom:1px; /* tworzy bezpieczną strefę */
}

nav ul ul li a{
    color:#374151;
    padding:8px 12px;
    font-size:13px;
    border-radius:8px;
}

nav ul ul li a:hover{
    background:#f3f4f6;
}

/* Desktop hover */
@media(min-width:901px){
    nav li:hover > ul{
        display:flex;
    }
}

/* animacja */
@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
main{
    line-height:1.7;
}

.album-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:25px;
    margin-top:30px;
}

.album-card{
    background:white;
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:.3s;
}

.album-card:hover{
    transform:translateY(-6px);
}

.album-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.album-title{
    padding:15px;
    text-align:center;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:20px;
    margin-top:25px;
}

.gallery img{
    width:100%;
    height:180px;
    object-fit:cover;


    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}


footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:1px;
    text-align:center;
line-height: 1;
}
 .link {
            color: #818181; /* Kolor niebieski */
            text-decoration: none; /* Usuwa podkreślenie */
            transition: color 0.3s ease; /* Płynna zmiana koloru */
        }

        .link:hover {
            color: #cdcdcd /* Kolor po najechaniu (pomarańczowy) */
            text-decoration: underline; /* Podkreślenie po najechaniu */
        }
@media(max-width:900px){
    .layout{
        flex-direction:column;
    }
    .sidebar,
    .main-area{
        width:100%;
    }
}
#lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999; /* bardzo wysoki */
    flex-direction:column;
}

#lightbox img{
    max-width:90%;
    max-height:80vh;
}

.lightbox-controls{
    margin-top:20px;
}
.home-row{
    display:flex;
    gap:10px;
    margin-top:10px;
    align-items:flex-start;
}

.home-left{
    flex:1;
}

.home-right{
    width:220px; /* mały slider */
    background:#f8fafc;
    padding:10px;
    border-radius:5px;
padding-bottom:0px;
}

.side-img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:8px;
}
/* ===============================
   MOBILE PREMIUM
================================ */
@media(max-width:900px){

    main{
        padding:25px;
    }

    nav ul{
        flex-direction:column;
        display:none;
        padding:0;
    }

    nav ul.active{
        display:flex;
    }

    .menu-toggle{
        display:block;
        padding:15px;
        background:#1e293b;
        color:white;
        cursor:pointer;
    }

    .sidebar{
        display:none;
        width:100%;
        margin-top:15px;
    }

    .sidebar.show{
        display:block;
    }

    .sidebar-toggle{
        display:block;
        background:#2563eb;
        color:white;
        padding:12px;
        text-align:center;
        cursor:pointer;
        border-radius:8px;
        margin:15px 0;
    }

    .home-row{
        flex-direction:column;
    }

    .home-right{
        width:100%;
        margin-top:25px;
    }

    .side-img{
        height:200px;
    }
}
/* ===== DESKTOP ===== */
.menu-toggle{
    display:none;
}

.sidebar-toggle{
    display:none;
}

/* ===== MOBILE ===== */
@media(max-width:900px){

    .menu-toggle{
        display:block;
        padding:15px;
        background:#1e293b;
        color:white;
        cursor:pointer;
    }

    nav ul{
        display:none;
        flex-direction:column;
    }

    nav ul.active{
        display:flex;
    }

    .sidebar-toggle{
        display:block;
        background:#2563eb;
        color:white;
        padding:12px;
        text-align:center;
        cursor:pointer;
        border-radius:8px;
        margin:15px 0;
    }

    .sidebar{
        display:none;
    }

    .sidebar.show{
        display:block;
    }

}
@media(max-width:900px){

    nav ul ul{
        display:none;
        flex-direction:column;
        position:static;
        background:#334155;
    }

    nav ul ul li a{
        color:white;
    }

    nav ul ul.open{
        display:flex;
    }

}
@media(max-width:900px){

    .home-right .side-img{
        display:none;
    }

    .home-right .side-img:first-child{
        display:block;
    }

}
@media (max-width:900px){

.home-row{
    flex-direction:column;
}

.home-left,
.home-right{
    width:100%;
}

}
/* ===== NAPRAWA LOGO DEFINITYWNA ===== */

.logo-wrapper{
    width:200px;
    height:200px;
    flex-shrink:0;
}

.logo-wrapper img{
    width:100%;
    height:100%;
    object-fit:contain;
    animation:photoFade 1.3s ease-out forwards;

}
/* ===============================
   NOWOCZESNE PRZYCISKI SIDEBAR
================================ */

.sidebar-buttons{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:20px;
}

.side-btn{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:14px;
    text-decoration:none;
    font-weight:580;
    background:#f3f4f6;
    color:#1f2937;
    transition:all 0.3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.side-btn img{
    width:32px;
    height:32px;
    object-fit:contain;
}

.side-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(0,0,0,0.12);
}

/* delikatne akcenty kolorystyczne */

.side-btn.vulcan:hover{
    background:#e6f0ff;
}

.side-btn.plan:hover{
    background:#eefdf4;
}

.side-btn.bus:hover{
    background:#f0f9ff;
}

.side-btn.kuratorium:hover{
    background:#ffff99;
}

.side-btn.bip:hover{
    background:#ffebee;
}

.side-btn.gmina:hover{
    background:#fef2f2;
}
.side-btn.oke:hover{
    background:#f0f9ff;
}
.menu-parent{
cursor:default;
}

nav li:has(ul) > a::after{
content:" ▾";
font-size:12px;
}
/* ===============================
   PLIKI DO POBRANIA
================================ */

.downloads{
margin-top:40px;
}

.downloads-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:18px;
margin-top:20px;
}

.download-card{
display:flex;
align-items:center;
justify-content:space-between;
padding:16px 18px;
background:#f8fafc;
border-radius:10px;
border:1px solid #e5e7eb;
transition:.2s;
}

.download-card:hover{
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.download-icon{
font-size:26px;
margin-right:10px;
}

.download-info{
flex:1;
}

.download-name{
font-weight:500;
font-size:14px;
color:#1f2937;
}

.download-btn{
background:#2563eb;
color:white;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
font-size:13px;
}

.download-btn:hover{
background:#1e40af;
}
/* PLAN LEKCJI */

.plan-tabs{
display:flex;
flex-wrap:wrap;
gap:10px;
margin:20px 0;
}

.plan-tab{
background:#2563eb;
color:white;
border:none;
padding:8px 14px;
border-radius:6px;
cursor:pointer;
}

.plan-tab:hover{
background:#1e40af;
}

.plan-class{
display:none;
}

.schedule-table{
width:100%;
border-collapse:collapse;
margin-top:15px;
}

.schedule-table th{
background:#1e3a8a;
color:white;
padding:8px;
}

.schedule-table td{
border:1px solid #e5e7eb;
padding:8px;
text-align:center;
}

.schedule-table tr:nth-child(even){
background:#f8fafc;
}
.plan-tab{
background:#e2e8f0;
color:#1e293b;
border:none;
padding:8px 14px;
border-radius:6px;
cursor:pointer;
transition:.2s;
}

.plan-tab:hover{
background:#cbd5f5;
}

.plan-tab.active{
background:#2563eb;
color:white;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
/* ===============================
 /* ===============================

/* ===============================
   PLAN LEKCJI MOBILE
================================ */

.schedule-wrapper{
width:100%;
overflow-x:auto;
}

.schedule-table{
min-width:600px;
}

@media(max-width:900px){

.schedule-table{
font-size:12px;
}

.schedule-table th,
.schedule-table td{
padding:6px;
}

}
/* ===============================
   SIDEBAR MOBILE
================================ */

.sidebar-toggle{
display:none;
background:#1e293b;
color:white;
padding:10px 15px;
cursor:pointer;
text-align:center;
margin-bottom:10px;
border-radius:6px;
}

@media(max-width:900px){

.sidebar-buttons{
display:none;
flex-direction:column;
gap:10px;
}

.sidebar-buttons.active{
display:flex;
}

.sidebar-toggle{
display:block;
}

}
/* ===============================
   COOKIE BAR
================================ */

.cookie-bar{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#1f2937;
color:white;
padding:18px 20px;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
z-index:999999;
box-shadow:0 -6px 20px rgba(0,0,0,0.25);
animation:cookieSlide .5s ease;
}

.cookie-text{
font-size:14px;
max-width:800px;
}

.cookie-text a{
color:#60a5fa;
text-decoration:none;
}

.cookie-bar button{
background:#2563eb;
border:none;
color:white;
padding:10px 18px;
border-radius:8px;
cursor:pointer;
font-weight:600;
transition:.2s;
}

.cookie-bar button:hover{
background:#1e40af;
}

/* animacja */

@keyframes cookieSlide{
from{
transform:translateY(100%);
opacity:0;
}
to{
transform:translateY(0);
opacity:1;
}
}

/* ===============================
   COOKIE MOBILE
================================ */

@media(max-width:900px){

.cookie-bar{
flex-direction:column;
text-align:center;
padding:20px;
}

.cookie-bar button{
width:100%;
max-width:250px;
}

}
/* ===============================
   PAGINACJA TREŚCI
================================ */

.content-pagination{
margin-top:40px;
display:flex;
gap:8px;
flex-wrap:wrap;
align-items:center;
justify-content:center;
}

.content-pagination a{
padding:6px 12px;
background:#e2e8f0;
border-radius:6px;
text-decoration:none;
color:#1e293b;
font-size:14px;
}

.content-pagination a:hover{
background:#cbd5f5;
}

.content-pagination a.active{
background:#2563eb;
color:white;
}

.content-pagination a.nav{
font-weight:bold;
}
/* ===============================
   RODO POPUP
================================ */

.rodo-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
display:none;
justify-content:center;
align-items:center;
z-index:999999;
padding:20px;
}

.rodo-box{
background:white;
max-width:700px;
width:100%;
border-radius:12px;
padding:30px;
box-shadow:0 20px 50px rgba(0,0,0,0.25);
position:relative;
animation:rodoFade .3s ease;
}

.rodo-close{
position:absolute;
top:10px;
right:15px;
border:none;
background:none;
font-size:22px;
cursor:pointer;
}

.rodo-content{
margin-top:15px;
line-height:1.6;
max-height:60vh;
overflow:auto;
}

@keyframes rodoFade{
from{
opacity:0;
transform:scale(0.9);
}
to{
opacity:1;
transform:scale(1);
}
}
.teachers-tabs{
margin-top:10px;
border-top:1px solid #ddd;
padding-top:10px;
}
.gallery-pagination{
margin-top:25px;
text-align:center;
}

.gallery-pagination a{
display:inline-block;
padding:8px 12px;
margin:4px;
background:#f1f5f9;
border-radius:6px;
text-decoration:none;
color:#333;
}

.gallery-pagination a.active{
background:#2563eb;
color:white;
}
.gallery-pagination{
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
gap:8px;
margin-top:35px;
}

.gallery-pagination a{
text-decoration:none;
font-weight:500;
transition:all .2s ease;
}

.page-btn{
padding:8px 12px;
background:#f1f5f9;
border-radius:8px;
color:#334155;
min-width:34px;
text-align:center;
}

.page-btn:hover{
background:#e2e8f0;
transform:translateY(-1px);
}

.page-btn.active{
background:#2563eb;
color:#fff;
box-shadow:0 3px 8px rgba(37,99,235,0.3);
}

.nav-btn{
padding:8px 14px;
background:#2563eb;
color:#fff;
border-radius:8px;
font-size:15px;
}

.nav-btn:hover{
background:#1d4ed8;
transform:translateY(-1px);
}
.fb-feed{
display:flex;
flex-direction:column;
gap:15px;
}

.fb-post{
background:#fff;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
padding:12px;
}

.fb-post-img{
width:100%;
border-radius:8px;
margin-bottom:8px;
}

.fb-post p{
font-size:14px;
line-height:1.4;
margin-bottom:8px;
}

.fb-meta{
display:flex;
justify-content:space-between;
font-size:12px;
color:#64748b;
}

.fb-meta a{
color:#2563eb;
text-decoration:none;
font-weight:500;
}
   FACEBOOK
================================ */

.facebook-section{
    width:100%;
    margin:0 auto;
    height:600px;

}

.facebook-wrapper{
    width:100%;
    border:none;
    height:600px;
}

.facebook-section .fb-page{
    width:100% !important;
}

.facebook-section iframe{
    width:100% !important;
}

.facebook-section{
    position:relative;
    z-index:1;
}


@media (max-width:768px){

.facebook-section{
    width:600px;
    margin:0 auto;
padding:0px;
    height:350px;

.facebook-wrapper{
    transform:scale(0.59);
    transform-origin:top left;
    width:600px;
    height:800px;
    border:none;
    margin:0 auto;
padding:0px;

}

}
@media (max-width:900px){

.site-alert{
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    padding:10px 12px;
    font-size:12px;
}

}
.news-section{
margin-top:25px;
display:flex;
flex-direction:column;
gap:18px;
}

.news-card{
display:flex;
gap:18px;
background:white;
padding:15px;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.news-thumb{
width:120px;
height:90px;
object-fit:cover;
border-radius:8px;
}

.news-content{
flex:1;
}

.news-date{
font-size:12px;
color:#64748b;
margin-bottom:6px;
}

.news-more{
display:inline-block;
margin-top:8px;
color:#2563eb;
text-decoration:none;
font-weight:500;
}

.news-more:hover{
text-decoration:underline;
}

.news-single{
max-width:800px;
margin:auto;
}

.news-image{
width:100%;
margin:15px 0;
border-radius:10px;
}
.events-box{
margin-top:40px;
}

.events-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.event-card{

background:white;

border-radius:12px;

padding:20px;

box-shadow:0 8px 25px rgba(0,0,0,0.08);

text-align:center;

}

.event-date{
font-size:26px;
font-weight:700;
color:#2563eb;
margin-bottom:8px;
}

.event-title{
font-size:16px;
font-weight:600;
margin-bottom:6px;
}

.event-count{
font-size:14px;
color:#64748b;
}
/* =========================
EVENTS SECTION
========================= */

.events-section{
margin:60px 0;
}

.events-title{
font-size:28px;
margin-bottom:25px;
}

/* GRID */

.events-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:22px;
}

/* CARD */

.event-card{

border-radius:14px;

padding:24px;

color:white;

box-shadow:0 10px 30px rgba(0,0,0,0.15);

transition:0.2s;

position:relative;

overflow:hidden;

}

.event-card:hover{
transform:translateY(-4px);
}

/* gradienty */

.event-card:nth-child(1){
background:linear-gradient(135deg,#2563eb,#3b82f6);
}

.event-card:nth-child(2){
background:linear-gradient(135deg,#9333ea,#a855f7);
}

.event-card:nth-child(3){
background:linear-gradient(135deg,#16a34a,#22c55e);
}

/* DATA */

.event-date{
font-size:32px;
font-weight:700;
margin-bottom:8px;
}

/* NAZWA */

.event-name{
font-size:18px;
font-weight:600;
margin-bottom:10px;
}

/* ODLICZANIE */

.event-countdown{
font-size:14px;
opacity:0.9;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width:700px){

.events-title{
font-size:22px;
}

.event-card{
padding:18px;
}

.event-date{
font-size:26px;
}

}
/* =====================
SIDEBAR EVENTS
===================== */

.events-section{
margin-top:15px;
display:flex;
flex-direction:column;
gap:10px;
}

.events-title{
font-size:14px;
font-weight:600;
margin-bottom:5px;
color:#333;
}

/* kafelek wydarzenia */

.event-card{

display:flex;
flex-direction:column;

background:#ffffff;

border-radius:8px;

padding:10px 12px;

border-left:4px solid #2563eb;

box-shadow:0 3px 8px rgba(0,0,0,0.05);

font-size:13px;

}

.event-card:nth-child(2){
border-left-color:#9333ea;
}

.event-card:nth-child(3){
border-left-color:#16a34a;
}

/* data */

.event-date{
font-weight:700;
font-size:14px;
color:#2563eb;
}

/* nazwa wydarzenia */

.event-name{
margin:2px 0;
font-weight:600;
}

/* odliczanie */

.event-countdown{
font-size:12px;
color:#64748b;
}
/* =====================
WYDARZENIA – SIDEBAR
===================== */

.events-section{
margin-top:15px;
display:flex;
flex-direction:column;
gap:12px;
}

.events-title{
font-size:14px;
font-weight:600;
color:#1e293b;
margin:6px 0 2px 0;
}

/* kafelek */

.event-card{

background:#ffffff;

border-radius:10px;

padding:10px 12px;

box-shadow:0 4px 10px rgba(0,0,0,0.08);

border:1px solid #e5e7eb;

display:flex;
flex-direction:column;

transition:0.2s;

}

.event-card:hover{
transform:translateY(-2px);
box-shadow:0 6px 14px rgba(0,0,0,0.12);
}

/* data */

.event-date{

font-weight:700;

font-size:15px;

color:#2563eb;

margin-bottom:2px;

}

/* nazwa */

.event-name{

font-size:13px;

font-weight:600;

color:#111827;

margin-bottom:4px;

}

/* odliczanie */

.event-countdown{

font-size:12px;

color:#64748b;

}
/* =========================
LOGO ANIMACJA
========================= */

.logo-wrapper{
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

/* logo */

.logo-wrapper img{

width:120px;

border-radius:50%;

background:white;

padding:6px;

position:relative;

z-index:2;

animation:logoFloat 4s ease-in-out infinite;

transition:transform .3s ease, box-shadow .3s ease;

}

/* hover */

.logo-wrapper img:hover{

transform:scale(1.08);

box-shadow:
0 0 25px rgba(37,99,235,0.7),
0 0 50px rgba(147,51,234,0.5);

}

/* ring */

.logo-ring{

position:absolute;

width:150px;
height:150px;

border-radius:50%;

background:conic-gradient(
#2563eb,
#22c55e,
#9333ea,
#2563eb
);

animation:logoSpin 6s linear infinite;

filter:blur(10px);

z-index:1;

}

/* maska */

.logo-mask{

position:absolute;

width:130px;
height:130px;

border-radius:50%;

background:white;

z-index:1;

}

/* animacje */

@keyframes logoSpin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}

@keyframes logoFloat{
0%{transform:translateY(0px);}
50%{transform:translateY(-6px);}
100%{transform:translateY(0px);}
}
.home-news{
margin-top:25px;
}

.news-list{
display:flex;
flex-direction:column;
gap:20px;
margin-top:20px;
}

.news-card{
display:flex;
gap:5px;
background:white;
padding:5px;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.news-thumb{
width:140px;
height:100px;
object-fit:cover;
border-radius:8px;
}

.news-info{
flex:1;
}

.news-date{
font-size:12px;
color:#64748b;
margin-bottom:6px;
}

.news-btn{
display:inline-block;
margin-top:8px;
color:#2563eb;
text-decoration:none;
font-weight:500;
}

.news-btn:hover{
text-decoration:underline;
}

.news-more-all{
margin-top:15px;
text-align:right;
}

.news-image{
width:100%;
border-radius:10px;
margin:15px 0;
}