/* Podstawowe style */
:root {
    --primary-color: rgb(40, 40, 40);
    --secondary-color: rgb(60, 60, 60);
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --background-color: rgb(20, 20, 20);
}

.light-theme {
    --primary-color: #f5f5f5;
    --secondary-color: #e0e0e0;
    --accent-color: #000000;
    --text-color: #000000;
    --background-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hero section - usunięto zbędny margin-top */
.hero {
    height: 100vh;
    min-height: 500px;
    background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.hero-main-content {
    width: 100%;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.cta-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
    animation: pulse 1s infinite;
}

/* Sekcje ogólne */
section {
    padding: 5rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Features section */
.features {
    background-color: var(--background-color);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Join Us section */
.join-us {
    background-color: var(--primary-color);
}

.join-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.join-text {
    flex: 1;
}

.join-text h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.join-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.join-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.join-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.join-image:hover img {
    transform: scale(1.05);
}

.join-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
}

.join-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.join-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.join-button:hover i {
    transform: translateX(5px);
    animation: pulse 1s infinite;
}

/* Recruitment section */
.recruitment {
    background-color: var(--background-color);
}

.recruitment-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 300px;
    background: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.step:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.step p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Stats section */
.stats {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
}

/* Partners section */
.partners {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-container img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.partners-container img:hover {
    filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}
/* ================= FOOTER ================= */
footer {
    background-color: var(--primary-color);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/footer-pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

.social-links a:hover::before {
    opacity: 1;
}

.fa-discord {
    font-size: 1.1em;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-color);
    position: relative;
    z-index: 1;
}
/* Footer Contact - identyczny jak w index.html */
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-item i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.05rem;
}
@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 769px) {
    .footer-contact {
        text-align: left;
    }
    
    .contact-item {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .contact-item i {
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* BMS Section */
.bms-section {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.bms-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bms-text {
    flex: 1;
}

.bms-images {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.bms-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.bms-image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    max-width: 80%;
}

.bms-image-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-5deg);
}

.bms-image-2 {
    top: 20px;
    left: 20px;
    z-index: 2;
    transform: rotate(2deg);
    opacity: 0.9;
}

.bms-image-3 {
    top: 40px;
    left: 40px;
    z-index: 1;
    transform: rotate(5deg);
    opacity: 0.8;
}

.bms-image:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 4;
    opacity: 1;
}

.bms-features {
    margin: 2rem 0;
}

.bms-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.bms-feature i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Historia sekcji */
.history-section {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.history-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.history-slide {
    width: 80%;
    max-width: 800px;
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.history-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.history-image {
    height: 300px;
    overflow: hidden;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-slide:hover .history-image img {
    transform: scale(1.05);
}

.history-text {
    padding: 2rem;
    flex: 1;
}

.history-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.history-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--accent-color);
}

.swiper-pagination-bullet {
    background: var(--text-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* Typing text */
.typing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--accent-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes erase {
    from { width: 100% }
    to { width: 0 }
}

/* Eco logo */
.eco-logo-container {
    position: absolute;
    right: 60px;
    top: 38%;
    transform: translateY(-50%);
    animation: fadeInRight 1s ease 0.5s both;
}

.eco-logo {
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

/* Header eco logo */
.header-eco-logo {
    margin-left: auto;
    padding-left: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-eco-logo img {
    width: 70px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.header-eco-logo:hover img {
    opacity: 1;
    transform: scale(1.1) rotate(-5deg);
}

/* Feature eco logo */
.feature-eco-logo {
    width: 50px;
    height: auto;
    margin-left: 10px;
    vertical-align: middle;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.bms-feature:hover .feature-eco-logo {
    opacity: 1;
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.bms-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Discord icon */
.fa-discord {
    font-size: 1.1em;
}

/* Sekcja Zarządu */
.management-section {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.management-card {
    background: var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.management-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.management-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.management-card:hover .management-image img {
    transform: scale(1.05);
}

.management-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.management-card:hover .management-overlay {
    opacity: 1;
}

.management-info {
    padding: 2rem;
}

.management-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.position {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.management-info p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Sekcja Rekruterów */
.recruiters-section {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.recruiters-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.recruiter-slide {
    padding: 1rem;
}

.recruiter-card {
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recruiter-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.recruiter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recruiter-card:hover .recruiter-image img {
    transform: scale(1.05);
}

.recruiter-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.recruiter-card:hover .recruiter-badge {
    transform: scale(1.1) translateY(-10px);
}

.recruiter-info {
    padding: 2rem;
    flex: 1;
}

.recruiter-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.recruiter-info .position {
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 500;
}

.recruiter-info p {
    color: var(--text-color);
    margin: 1rem 0;
    line-height: 1.6;
}

/* Sekcja Lini Czasu - kompaktowa wersja desktopowa */
.timeline-section {
    background-color: var(--background-color);
    padding: 5rem 1rem;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-event {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
    z-index: 2;
}

.timeline-event:nth-child(odd) {
    left: 0;
}

.timeline-event:nth-child(even) {
    left: 50%;
}

.event-dot {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.timeline-event:nth-child(odd) .event-dot {
    right: -10px;
}

.timeline-event:nth-child(even) .event-dot {
    left: -10px;
}

.event-content {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 200px;
}

.event-image {
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.event-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Wersja mobilna */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-event {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-event:nth-child(even) {
        left: 0;
    }
    
    .event-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .event-content {
        min-height: auto;
    }
    
    .event-image {
        height: 100px;
    }
}

/* Sekcja Mapy */
.map-section {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.europe-map {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.marker-dot {
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.map-marker:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.4);
}

.marker-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 250px;
    text-align: center;
}

.map-marker:hover .marker-label {
    opacity: 1;
    visibility: visible;
    top: 30px;
}

/* Legenda mapy */
.map-legend {
    max-width: 800px;
    margin: 2rem auto 0;
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-legend h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 3px;
}

.legend-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Sekcja Certyfikatów */
.certificates-section {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Why Us section */
.why-us-section {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.why-us-section .feature-card {
    background-color: var(--background-color);
}

.why-us-section .feature-card h3,
.why-us-section .feature-card i {
    color: var(--accent-color);
}

.why-us-section .feature-card p {
    color: var(--text-color);
}

/* Responsywność */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-container,
    .bms-container {
        flex-direction: column;
    }
    
    .join-image,
    .bms-images {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .history-slide {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .step {
        min-width: 100%;
    }
    
    .bms-image {
        max-width: 90%;
    }
    
    .history-slide {
        width: 90%;
    }
    
    .history-image {
        height: 250px;
    }
    
    .eco-logo-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 1.5rem 0 0 0;
    }
    
    .eco-logo {
        max-width: 70px;
    }
    
    .feature-eco-logo {
        width: 35px;
    }
    
    /* Timeline na mobile - układ pionowy */
    .timeline-container {
        height: auto;
        padding-left: 50px;
    }
    
    .timeline-line {
        left: 25px;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--accent-color), transparent);
        transform: none;
        top: 0;
    }
    
    .timeline-truck {
        display: none;
    }
    
    .timeline-event {
        margin-bottom: 3rem;
    }
    
    .event-dot {
        left: 25px;
        transform: translate(-50%, 0);
    }
    
    .event-content {
        margin-left: 30px;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .cta-button,
    .join-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .history-text {
        padding: 1.5rem;
    }
    
    .history-text h3 {
        font-size: 1.5rem;
    }
    
    .marker-label {
        font-size: 0.8rem;
        max-width: 200px;
    }
    
    .legend-items {
        grid-template-columns: 1fr;
    }
}
