/* --- RESET I STYLE PODSTAWOWE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0; 
    background-color: #0b0b0b;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- NAGŁÓWEK --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
    transition: all 0.4s ease;
    color: #fff;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    transition: padding 0.4s ease;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    opacity: 1;
}

.header-logos img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.88rem;
    color: #ccc;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #e74c3c;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 20px;
}

.nav-icons a {
    color: #ccc;
    font-size: 1.2rem;
    transition: transform 0.2s, color 0.3s;
    display: flex;
    align-items: center;
}

.nav-icons a:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.lang-flag {
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

header.scrolled {
    background: rgba(11, 11, 11, 0.95);
    border-bottom: 1px solid rgba(220, 20, 60, 0.5);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.15);
}

header.scrolled .nav-container {
    padding: 8px 30px;
}

header.scrolled .header-logos img {
    height: 45px;
}

/* --- SEKCJA HERO --- */
.hero {
    height: 100vh; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    overflow: hidden;
    background-image: url('images/background_powstanie_dla_koni_1280x720.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; 
    z-index: -1; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: -2; 
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
    letter-spacing: 1px;
}

.hero h1 span {
    color: #e74c3c;
}

.hero p {
    font-size: 1.4rem;
    max-width: 750px;
    margin-bottom: 30px;
    color: #d1d1d1;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.btn {
    background-color: #e74c3c;
    color: white;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* --- GŁÓWNA TREŚĆ --- */
.main-content {
    background-color: #121212; 
    padding: 80px 0;
    position: relative;
    z-index: 10; 
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8); 
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    border-left: 4px solid #e74c3c;
    padding-left: 15px;
}

.content-text p {
    color: #b5b5b5;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.highlight-box {
    background: rgba(231, 76, 60, 0.08);
    border-left: 3px solid #e74c3c;
    padding: 12px 15px;
    margin-top: 15px;
    font-weight: 500;
    color: #e0e0e0;
    border-radius: 0 4px 4px 0;
}

.highlight-box a {
    color: #e74c3c;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s;
}

.highlight-box a:hover {
    color: #ff5252;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    filter: brightness(0.95);
}

/* --- SEKCJA FAQ --- */
.faq-section {
    background-color: rgba(22, 22, 22, 0.85); /* Tutaj regulujesz przezroczystość całej sekcji */
    padding: 70px 0;
    border-top: 1px solid #222;
    position: relative;
    z-index: 10;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
}

.faq-section h2 span {
    color: #e74c3c;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1f1f1f;
    border: 1px solid #2a2a2a;
    padding: 25px;
    border-radius: 6px;
}

.faq-item h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: 'Q:';
    color: #e74c3c;
    font-weight: bold;
}

.faq-item p {
    color: #aaa;
    font-size: 1rem;
    padding-left: 28px;
}

/* --- STOPKA --- */
footer {
    background-color: #080808;
    color: #888;
    padding: 50px 20px;
    position: relative;
    z-index: 10;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #999;
}

.footer-info a {
    color: #e74c3c;
    transition: color 0.3s;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logos img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* --- RWD (WERSJA MOBILNA) --- */
@media (max-width: 992px) {
    .nav-container {
        padding: 10px 15px;
    }
    .header-logos {
        gap: 10px;
    }
    .header-logos img {
        height: 45px;
    }
    .nav-right {
        gap: 12px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 11, 0.98);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(220, 20, 60, 0.3);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        text-align: center;
        gap: 15px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        font-size: 1.1rem;
        padding: 5px 0;
    }
    .menu-toggle {
        display: block;
    }
    .nav-icons {
        border-left: none;
        padding-left: 0;
        gap: 10px;
    }
    .nav-icons a {
        font-size: 1.1rem;
    }
    .lang-flag {
        font-size: 1.1rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-logos img {
        height: 60px;
    }
    .content-block, .content-block.reverse {
        flex-direction: column;
    }
}
