:root {
    --bg: #0a0a0a;
    --card: #111111;
    --text: #eeeeee;
    --text-muted: rgba(171, 182, 193, 0.75) !important;;
    --red: #ff0033;
    --border: #222;
}
.text-muted {
    color: var(--text-muted) !important;
}
a {
    color: var(--red);
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

/* ======================== */
/* NAVBAR */
/* ======================== */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(10,10,10,0.55) !important;
    border-bottom: 1px solid var(--border);
    transition: all .35s ease;
}
.bigbtn {
    padding: 1rem 3rem !important;

}
.navbar.scrolled {
    background: rgba(10,10,10,0.95) !important;
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    transition: .3s;
}

.nav-link:hover {
    color: var(--red) !important;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--red) !important;
}

.ter {
    font-size: 3rem !important;
}

.btn-more {
    background: #111111 !important;
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
}
/* ======================== */
/* BUTTON – czerwony primary */
/* ======================== */
.btn-red {
    background: var(--red);
    color: #fff;
    padding: .7rem 2rem;
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .3s ease;
    box-shadow: 0 8px 25px rgba(255,0,51,0.25);
    border: none;
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,0,51,0.45);
    color: #fff;
} 
.btn{
  border-radius: 50px  !important;
   padding: .7rem 2rem !important;
}
.btn-outline-primary {
  --bs-btn-color:  var(--red) !important;
  padding: .7rem 2rem !important;
  border-radius: 50px  !important;
  --bs-btn-border-color:  var(--red) !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background-color: var(--red) !important;
  border-color: var(--red) !important;
}

/* ======================== */
/* SEKCJE */
/* ======================== */
section {
    padding-top: 80px;
    padding-bottom: 80px;
     scroll-margin-top: 45px; 
    border-top: 1px solid var(--border);
}

.black {
    background: #000;
}

h2 {
    font-weight: 800;
    letter-spacing: -.5px;
}


/* ======================== */
/* PROGRAMY – CARDY */
/* ======================== */
.program-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all .4s ease;
    height: 100%;
}

.program-card i {
    font-size: 3rem;
    margin-bottom: .8rem;
    color: var(--red);
}



.program-card.active {
    border-color: var(--red);
    box-shadow: 0 18px 40px rgba(255,0,51,0.18);
}


/* ======================== */
/* ANIMACJE SCROLL */
/* ======================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ======================== */
/* FOOTER */
/* ======================== */
footer {
    border-top: 1px solid var(--border);
}

footer h4 {
    color: var(--red);
    font-weight: 700;
}


/* ===== LOADER ===== */

#loader {
    position: fixed;
    inset: 0;
    background: #000; /* ciemne tło */
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .7s ease, visibility .7s ease;
}
.red {
    background: var(--red);
}
#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeIn 1.2s ease;
}

.loader-logo {
    width: 160px; 
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top-color: var(--red);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.9s linear infinite;
}

/* Animacje */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: .7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* NOWY BLOG */
#nowy-blog h2 {
    color: #fff;
}

#nowy-blog .program-card h4 {
    color: #fff;
    font-weight: 700;
}

#nowy-blog .program-card p {
    color: var(--text-muted);
}

#nowy-blog .program-card a.btn-red {
    font-size: 0.9rem;
}
#kontakt h2 {
    color: #fff;
}
.icont {  
    color: var(--red) !important; 
}
/* FORMULARZ PREMIUM */
#kontakt .form-control {
    background: linear-gradient(145deg, #111111, #1a1a1a) !important; 
    color: #fff !important;;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;;
    padding: .75rem 1rem !important;;
    font-size: 1rem;
    transition: all .3s ease;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3),
                inset -2px -2px 5px rgba(255,255,255,0.05);
}

#kontakt .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

#kontakt .form-control:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 12px rgba(255,0,51,0.4),
                inset 2px 2px 5px rgba(0,0,0,0.3),
                inset -2px -2px 5px rgba(255,255,255,0.05);
    background: linear-gradient(145deg, #111111, #1f0f0f);
}


#kontakt .btn-red {
    font-weight: 600;
    padding: .7rem 2rem;
    border-radius: 50px;
}
/* Strzałka zachęcająca do scrollowania */
.scroll-down {
    position: absolute;
    bottom: 20px; /* odległość od dołu hero */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-size: 2rem;
    color: #fff;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Animacja bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Dodatkowo fade-in po załadowaniu */
.scroll-down {
    opacity: 0;
    animation: fadeBounce 2s 1s infinite;
}

@keyframes fadeBounce {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    20% { opacity: 1; transform: translateX(-50%) translateY(-5px); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
    80%, 100% { transform: translateX(-50%) translateY(0); }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIDEO */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* OVERLAY / GRADIENT */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.3)
    );
    z-index: 2;
}

/* CONTENT */
.hero .container,
.hero h1,
.hero p,
.hero .btn-red,
.scroll-down {
    position: relative;
    z-index: 3;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Gradient od przezroczystego do czarnego od dołu */
    background: linear-gradient(to top, rgb(0, 0, 0), rgba(0,0,0,0.1));
    z-index: 2;
}


/* Teksty */
.hero h1 {
    position: relative;
    z-index: 3;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(50px);
    animation: textSlide 2s 0.5s forwards;
}

.hero p {
    position: relative;
    z-index: 3;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: textSlide 2s 1.2s forwards;
}

/* Przyciski */
.hero .btn-red {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: textSlide 2s 1.8s forwards;
}

/* Animacje */
@keyframes kenburns {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.1) translateY(-10px); }
}

@keyframes textSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenburns {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.1) translateY(-10px); }
}

@keyframes textSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* SOCIAL BUTTONS */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.5rem;
    transition: all .3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-btn:hover {
    
    color: #fff;
    background: var(--red);
  
}

/* Opcjonalnie różne kolory dla każdej sieci */
.facebook:hover { background: #3b5998; }
.instagram:hover { background: #e1306c; }
.twitter:hover { background: #1da1f2; }
.youtube:hover { background: #ff0000; }

/* Fade-up animacja */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all .9s ease;
}
    /* GALERIA STRIP */
#galeria-strip {
    background: #000;
    overflow: hidden;
}

.galeria-strip-container {
    display: flex;
    flex-wrap: nowrap;
}

.galeria-strip-container img {
    width: 25%; /* 4 zdjęcia w linii, równo */
    height: 250px; /* wysokość galerii */
    object-fit: cover;
    display: block;
}
