/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Zapobiega przewijaniu poziomemu */
}

h1, h2 {
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh; /* Pełna wysokość ekranu */
    background: url('bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Półprzezroczystość */
    backdrop-filter: blur(8px); /* Efekt rozmycia */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    width: 40%; /* Zwiększono szerokość do 40% */
    max-width: 400px; /* Maksymalna szerokość */
    height: auto;
    margin-bottom: 20px;
}

/* Tytuł i podtytuł */
.hero-title {
    font-size: 3.5rem;
    opacity: 0;
    transform: translateY(100px);
    animation: slideIn 2s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(100px);
    animation: slideIn 2s ease-out forwards 1s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Powiększenie do 110% */
    }
    100% {
        transform: scale(1);
    }
}

.animate-text {
    display: inline-block;
    animation: pulse 2s infinite; /* Animacja trwa 2 sekundy i powtarza się w nieskończoność */
    transition: transform 0.3s ease-in-out;
}

/* Organizatorzy - Styl kart */
.organizer-card {
    border: none;
    background-color: #f8f9fa; /* Jasne tło dla kart organizatorów */
    color: #000; /* Czarna czcionka */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.organizer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Efekt hover: cień i uniesienie karty */
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000; /* Czarny kolor tytułów */
}

.card-text {
    font-size: 1rem;
    color: #333; /* Ciemnoszary tekst */
}

/* Creators Section */
.creators-bg {
    position: relative;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.creators-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(15px); /* Zwiększono rozmycie tła */
    z-index: 1;
    opacity: 0.9; /* Przezroczystość tła */
}

.creators-bg .container {
    position: relative;
    z-index: 2; /* Elementy w kontenerze są nad tłem */
}

.creators-bg .card {
    background-color: white; /* Białe tło dla kart */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Dodanie cienia dla kart */
    border-radius: 10px; /* Zaokrąglone rogi */
}

.creators-bg .card-body {
    color: #333; /* Ciemnoszary tekst */
}

/* Footer */
footer {
    background-color: #111;
    padding: 20px;
}

social-media a {
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-media a:hover {
    text-decoration: underline;
}

/* Dostosowanie dla mniejszych ekranów */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo {
        width: 50%;
    }
}
