:root{
    --accent: rgb(255,125,25);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    background-image:url('../images/Tlo.jpeg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    color:#ffffff;

}

/* Przyciemnienie tła */

body::before{

    content:"";

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

    z-index:-1;

}

/*********************************
MENU
*********************************/

nav{

     position:sticky;
    top:0;
    left:0;

    width:100%;
    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 50px;

    background:transparent;

    backdrop-filter:none;

    border-bottom:1px solid rgba(255,255,255,.15);

    z-index:1000;
}

.logo img{

    height:65px;

    width:auto;

    display:block;

}

nav ul{

    list-style:none;

    display:flex;

    align-items:center;

    gap:30px;

}

nav ul li{

    list-style:none;

}

nav ul li a{

    color:var(--accent);

    text-decoration:none;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

nav ul li a:hover{

    color:var(--accent);

}

/*********************************
HERO
*********************************/
.hero {
    min-height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.hero h1{

    font-size:68px;

    margin-bottom:20px;

    color:var(--accent);

    text-shadow:0 0 25px rgba(0,0,0,.9);

}

.hero p{

    font-size:24px;

    max-width:900px;

    margin:auto;

    line-height:1.7;

}

.button{

    display:inline-block;

    margin-top:45px;

    padding:18px 45px;

    background:var(--accent);

    color:#111;

    border-radius:50px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.button:hover{

    transform:scale(1.05);

}

/*********************************
SEKCJE
*********************************/

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:90px 0;

}

section h2{

    color:var(--accent);

    font-size:42px;

    margin-bottom:30px;

}

section p{

    line-height:1.8;

    font-size:18px;

}

/*********************************
STATYSTYKI
*********************************/

.row{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:30px;

}

.col-md-3{

    flex:1;

    min-width:220px;

    max-width:260px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(6px);

    border-radius:15px;

    padding:35px;

    text-align:center;

}

.col-md-3 h2{

    font-size:46px;

    color:var(--accent);

}

.col-md-3 p{

    margin-top:10px;

    font-size:18px;

}
/*********************************
HERO
*********************************/

.hero-content{

    text-align:center;

}

.hero-logo{

    width:360px;

    max-width:80%;

    margin-bottom:35px;

    filter:drop-shadow(0 0 35px rgba(255,191,0,.45));

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

}

@keyframes logoFloat{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:40px;

}

.button-outline{

    background:transparent;

    color:white;

    border:2px solid var(--accent);

}

.button-outline:hover{

    background:var(--accent);

    color:#111;

}

.scroll-down{
    margin-top:25px;
    font-size:28px;
    line-height:1;
    animation:arrow 1.5s infinite;
    color:var(--accent);
}

@keyframes arrow{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(12px);
    }

    100%{
        transform:translateY(0);
    }

}
/*********************************
STATYSTYKI
*********************************/

.statistics{

    padding:100px 0;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:20px;

    padding:45px 20px;

    text-align:center;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

    box-shadow:0 0 35px rgba(255,191,0,.35);

}

.counter{

    font-size:56px;

    font-weight:700;

    color:var(--accent);

    margin-bottom:15px;

}

.stat-card h3{

    font-size:22px;

    font-weight:500;

}
/* ===========================
   Główna zawartość strony
=========================== */

.page-content{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:20px 30px 60px;
    min-height:70vh;
    box-sizing:border-box;
}

/* ===========================
   PANEL ADMINISTRATORA
=========================== */

.admin-card{
    display:block;
    padding:25px;
    border-radius:16px;
    background:#1d1d1d;
    color:#fff;
    text-decoration:none;
    transition:.25s;
    min-height:170px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
}

.admin-card:hover{
    transform:translateY(-5px);
    background:#ffb400;
    color:#000;
    text-decoration:none;
}

.admin-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.admin-card.logout{
    background:#b30000;
}

.admin-card.logout:hover{
    background:#ff0000;
    color:#fff;
}
/* ===== PANEL ADMINISTRATORA ===== */

.admin-dashboard{
    max-width:1400px;
    margin:40px auto;
    padding:20px;
}

.admin-dashboard h1{
    color:#fff;
    margin-bottom:30px;
    text-align:center;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.admin-card{
    background:#202020;
    border-radius:18px;
    padding:30px;
    color:#fff;
    text-decoration:none;
    text-align:center;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.admin-card:hover{
    background:#f5b400;
    color:#000;
    transform:translateY(-6px);
}

.admin-card h3{
    margin:15px 0;
    font-size:24px;
}

.admin-card p{
    opacity:.8;
}

.admin-card.logout{
    background:#8b0000;
}

.admin-card.logout:hover{
    background:#d40000;
    color:#fff;
}


/* ===== Modernizacja ===== */



nav{
    background:rgba(10,10,15,.35);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--glass-border);
    transition:.3s;
}

nav ul li a{
    position:relative;
    color:var(--accent);
    letter-spacing:.4px;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:.3s;
}

nav ul li a:hover::after{
    width:100%;
}

.hero h1{
    text-shadow:0 0 20px rgba(255,125,25,.35),0 0 40px rgba(0,0,0,.8);
}

.button{
    background:linear-gradient(135deg,rgb(255,125,25),rgb(255,165,70));
    color:#fff;
    box-shadow:0 12px 30px rgba(255,125,25,.35);
}

.button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(255,125,25,.45);
}

.button-outline{
    border-color:var(--accent);
    color:var(--accent);
}

.button-outline:hover{
    color:#fff;
}

.stat-card,
.col-md-3{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    transition:.35s;
}

.stat-card:hover,
.col-md-3:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(255,125,25,.22);
    border-color:rgba(255,125,25,.45);
}

section h2{
    text-shadow:0 0 12px rgba(255,125,25,.3);
}

::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:#111;
}
::-webkit-scrollbar-thumb{
    background:var(--accent);
    border-radius:10px;
}
/* ===== DO POBRANIA ===== */

.downloads-list{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    margin:30px auto;
}

.download-card{
    width:100%;
    max-width:700px;          /* około połowy ekranu na monitorze */
    min-height:72px;

    display:flex;
    align-items:center;

    padding:10px 16px;

    background:#1b2430;
    border:1px solid #2d3748;
    border-radius:10px;

    transition:.2s;
}

.download-card:hover{
    border-color:#f5b301;
    background:#243041;
}

.download-icon{
    width:42px;
    height:42px;
    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.5rem;

    margin-right:14px;
}

.download-content{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.download-content h3{
    margin:0;
    color:#f5b301;
    font-size:1rem;
}

.download-content p{
    margin:2px 0 0;
    color:#cbd5e1;
    font-size:.85rem;
    line-height:1.3;
}

.download-content .button{
    white-space:nowrap;
    padding:7px 16px;
    font-size:.85rem;
}

.download-content > div{
    flex:1;
}

@media (max-width:768px){

    .download-card{
        max-width:100%;
    }

    .download-content{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .download-content .button{
        width:100%;
        text-align:center;
    }

}
.downloads-list{
    color:#E67E23;
}

.downloads-list + *,
.container h1,
.container > p{
    color:#E67E23;
}
/* =================================
   PARTNERZY PREMIUM
================================= */
/* =========================================
   PARTNERZY PREMIUM
========================================= */


.partners-section{

    padding:60px 0;

}



.partners-section h2{

    text-align:center;

    font-size:34px;

    font-weight:700;

    color:#111827;

    margin-bottom:40px;

}



/* GRID */

.partners-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    align-items:stretch;

}



/* KARTA PARTNERA */

.partner-card{

    background:rgba(0,0,0,0.1);

    border-radius:20px;

    padding:25px;

    min-height:190px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border:1px solid rgba(255,255,255,.1);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);

    transition:.35s ease;

    overflow:hidden;

}



.partner-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 50px rgba(0,0,0,1);

}



/* LOGO */

.partner-card img{

    width:160px;

    height:90px;

    max-width:100%;

    object-fit:contain;

    margin-bottom:20px;

    filter:grayscale(100%);

    opacity:.85;

    transition:.35s ease;

}



.partner-card:hover img{

    filter:grayscale(0);

    opacity:1;

}



/* NAZWA */

.partner-card h3{

    font-size:18px;

    font-weight:600;

    color:#ffffff;

    margin:10px 0;

}



/* LINK */

.partner-card a{

    color:#ffb000;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}



.partner-card a:hover{

    color:#ffffff;

}



/* BRAK LOGO */

.partner-card .cover-empty{

    width:160px;

    height:90px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    border-radius:12px;

    font-size:40px;

    margin-bottom:20px;

}



/* RESPONSIVE */

@media(max-width:768px){


    .partners-grid{

        grid-template-columns:repeat(2,1fr);

    }


}



@media(max-width:480px){


    .partners-grid{

        grid-template-columns:1fr;

    }


    .partner-card img{

        width:140px;

        height:80px;

    }


}
/* NAGŁÓWEK PARTNERZY */

.partners-section h2{

    color:#111827 !important;

    opacity:1 !important;

    background:none !important;

    text-shadow:none !important;

}

/* ===== GALERIA ===== */

.gallery-page{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.gallery-description{
    margin:20px 0 35px;
    line-height:1.7;
}

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

.gallery-item{
    display:block;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
    transition:.25s;
}

.gallery-item:hover{
    transform:translateY(-4px);
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    transition:.3s;
}

.gallery-item:hover img{
    transform:scale(1.05);
}
/* ===== LISTA GALERII ===== */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:30px;
}

.gallery-card{
    display:block;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.12);
    transition:.25s;
}

.gallery-card:hover{
    transform:translateY(-5px);
}

.gallery-cover{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
}

.gallery-body{
    padding:20px;
}

.gallery-body h2{
    margin:0 0 12px;
}

.gallery-body p{
    margin:0 0 16px;
    color:#666;
    line-height:1.6;
}

.gallery-body span{
    font-size:.9rem;
    color:#999;
}

/* ===== POPRAWKI 2026 ===== */

.page-header{
    padding-top:20px;
    margin-bottom:20px;
}

.page-header h1,
.page-content > h1{
    margin:0 0 20px;
    color:var(--accent);
}

section:first-child{
    padding-top:40px;
}

nav{
    background:rgba(10,10,15,.55);
}

.gallery-card,
.partner-card,
.stat-card,
.admin-card{
    border:1px solid rgba(255,255,255,.12);
}

@media (max-width:768px){
    nav{
        padding:0 20px;
        height:80px;
    }

    .page-content{
        padding:100px 20px 40px;
    }

    .hero h1{
        font-size:42px;
    }

    section h2{
        font-size:32px;
    }
}
.contact-form-wrapper{
    margin-top:50px;
}

.contact-form-wrapper form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:6px;
    font-weight:600;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    font-size:16px;
}

.form-group textarea{
    resize:vertical;
    min-height:180px;
}

.alert-success{
    margin-bottom:25px;
    padding:14px 18px;
    border-radius:8px;
    background:#dff6e4;
    color:#166534;
}
.contact-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
    margin-top:35px;
}

.contact-content{
    font-size:17px;
    line-height:1.8;
}

.contact-form-wrapper{
    background:#111827;          /* granat */
    border:1px solid rgba(255,255,255,.12);
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.contact-form-wrapper form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:6px;
    font-weight:600;
}

.form-group input,
.form-group textarea{
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.form-group textarea{
    min-height:170px;
    resize:vertical;
}

@media (max-width:900px){

    .contact-layout{
        grid-template-columns:1fr;
        gap:35px;
    }

}
.events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:35px;
}

.event-card{
    background:#fff;
    border-radius:16px;
    padding:28px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.25s;
}

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

.event-card h3{
    margin-bottom:15px;
}

.event-card p{
    margin-bottom:12px;
}
.event-card img.event-cover{
    width:30%;
    height:auto;
    display:block;
    margin:15px auto;
    border-radius:8px;
}

.event-card .cover-empty{
    width:100%;
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3f3f3;
    font-size:70px;
}
.event-card{
    background:transparent;
}

.event-card img.event-cover{
    display:block;
    width:30%;
    height:auto;
    margin:15px auto;
    background:transparent;
}
.event-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.event-card img.event-cover{
    width:30%;
    height:auto;
    display:block;
    margin:15px auto;
    background:transparent;
    border-radius:8px;
}

.event-card h3,
.event-card p{
    width:100%;
}
.hero-content{
    position:relative;
    min-height:650px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-left{
    flex:1;
}

.hero-counter{
    margin-bottom:35px;
    text-align:left;
}

.hero-counter-title{
    display:block;
    margin-top:8px;
    font-size:1.3rem;
    color:#ffb000 !important;
}

.hero-counter .counter{
    color:#ff8c00;
}

.hero-counter-subtitle{
    display:block;
    margin-top:8px;
    font-size:1.3rem;
    color:#ffb000 !important;
}
.hero-counter{
    position:absolute;
    left:0;
    top:90px;
}

.hero-counter-title{
    display:block;
    font-size:1rem;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#d4af37;
    margin-bottom:10px;
}

.hero-counter{
    position:absolute;
    left:-150px;   /* dopasuj: -80, -120 lub -150 */
    top:90px;
    text-align:center;
    z-index:10;
}

.hero-counter-subtitle{
    display:block;
    margin-top:8px;
    font-size:1.3rem;
    color:#fff;
}

.hero-logo{
    margin-bottom:30px;
}

.hero-text{
    max-width:900px;
}
/* ===== Aktualności ===== */

.news-grid{
    display:flex;
    flex-direction:column;
    gap:35px;
	    color:#E67E23;
}

.news-card{
    margin:0;
	    color:#E67E23;
}
.hero-text p{
	    color:#E67E23;
}
/* ===== AKTUALNOŚCI ===== */

.news-section{
    text-align:center;
}

.news-section h2{
    margin-bottom:12px;
    text-align:left;
}

.news-section > p{
    max-width:750px;
    margin:0 auto 40px;
    text-align:center;
}

.news-grid{
    margin-top:40px;
}
/*.hero-title{
    position:relative;
    display:inline-block;
    color:#fff;
    overflow:hidden;
}
*/

/* ===== PREMIUM SHINE - tylko litery ===== */

.hero-title{
    display:inline-block;
    font-weight:800;
    color:#E67E23;

    background-image:linear-gradient(
        110deg,
        #E67E23 0%,
        #E67E23 44%,
        #ffd77a 49%,
        #ffffff 50%,
        #ffd77a 51%,
        #E67E23 56%,
        #E67E23 100%
    );

    background-size:300% 100%;
    background-position:-300% 0;

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:heroShine 8s linear infinite;
}

@keyframes heroShine{

    0%{
        background-position:100% 0;
    }

    45%{
        background-position:-200% 0;
    }

    100%{
        background-position:-200% 0;
    }

}

/* ===== visit ===== */
.visitpage-section{
    padding:60px 0;
    text-align:center;
}

.visit-counter{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:baseline;
    gap:12px;
    flex-wrap:nowrap;
}

.visit-counter .hero-counter-title,
.visit-counter .hero-counter-subtitle{
    font-size:1.3rem;
    font-weight:700;
}

.visit-counter .counter{
    display:inline-block;
    font-size:2.5rem;
    font-weight:800;
    color:#E67E23;
    line-height:1;
}