
/* === STYLE GLOBALNE === */
body {
    background-color: #1a1a1a;          /* Domyślne ciemne tło */
    color: #f0f0f0;                    /* Domyślny kolor tekstu */
    font-family: 'Poppins', sans-serif;   /* NOWA, NOWOCZESNA CZCIONKA */
    margin: 0;
    line-height: 1.6;
}

/* Style globalne dla nagłówków */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0 0 15px 0; /* Ujednolicenie marginesów */
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
/* === ZAKTUALIZOWANY STYL NAGŁÓWKA === */


.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: #111;
    border-bottom: 1px solid #333;
    font-family: 'Poppins', sans-serif; /* DODAJ TĘ LINIJKĘ */

}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

/* Nawigacja na desktopy z animacją */
.desktop-nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 20px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff4136;
    transition: width 0.3s ease-in-out;
}

.desktop-nav a:hover {
    color: #fff;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Przełącznik języków */
.lang-switcher a {
    color: #a0a0a0;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: #fff;
}

.lang-switcher a.active {
    color: #ff4136;
}

/* === KLUCZOWA POPRAWKA === */
/* Domyślnie ukryj przycisk hamburgera i menu mobilne na dużych ekranach */
.hamburger, .mobile-menu {
    display: none;
}


/* === RESPONSIVE - WIDOK MOBILNY === */
@media (max-width: 900px) {
    /* Ukryj menu desktopowe i języki na mobilkach */
    .desktop-nav, .lang-switcher { 
        display: none;
    }

    /* Pokaż przycisk hamburgera na mobilkach */
    .hamburger {
        display: flex; /* Ta reguła nadpisuje "display: none" na mniejszych ekranach */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    /* Animacja hamburgera do X */
    .hamburger.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Pokaż panel menu mobilnego po aktywacji */
    .mobile-menu.is-active {
        display: flex; /* Ta reguła pokazuje menu, gdy jest aktywne */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu a {
        color: #fff;
        font-size: 28px;
        text-decoration: none;
        margin: 20px 0;
    }
}

/* === STYLE STOPKI === */
.site-footer {
    background-color: #111111; /* Ciemniejsze tło dla wyróżnienia stopki */
    color: #a0a0a0;
    padding: 40px 20px;
    border-top: 1px solid #333; /* Subtelna linia oddzielająca */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Nawigacja w stopce */
.footer-nav {
    margin-bottom: 30px;
}

.footer-nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ff4136; /* Nasz czerwony akcent */
}

/* Ikony social media */
.social-links {
    margin-bottom: 30px;
}

.social-links a {
    color: #f0f0f0;
    font-size: 24px; /* Większe ikony dla lepszej widoczności */
    margin: 0 12px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff4136; /* Czerwony akcent na hover */
}

/* Dolna część stopki (prawa autorskie, język) */
.footer-meta {
    display: flex;
    justify-content: center; /* ZMIANA TUTAJ */
    align-items: center;
    font-size: 14px;
    border-top: 1px solid #333;
    padding-top: 20px;
    flex-wrap: wrap;
}

.legal-links a, .legal-links span {
    color: #a0a0a0;
    text-decoration: none;
    margin-right: 15px;
}

.legal-links a:hover {
    color: #ff4136;
}

.lang-switcher a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: bold;
}

.lang-switcher a.active {
    color: #ff4136; /* Aktywny język na czerwono */
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .footer-meta {
        flex-direction: column;
        gap: 20px; /* Odstęp między elementami w kolumnie */
    }

    .legal-links {
        order: 2; /* Kolejność na mobilkach: język, potem copyright */
    }

    .lang-switcher {
        order: 1;
    }
}


/* === STYLE GLOBALNE DLA SEKCJI === */
.page-section {
    padding: 80px 0;
    border-bottom: 1px solid #222; /* Linia oddzielająca sekcje */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Czerwone podkreślenie dla tytułów sekcji */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff4136; /* Czerwony akcent */
}

.section-subtitle {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* === SEKCJA PORTFOLIO === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 20px 20px 20px;
    color: #fff;
    text-align: left;
}

.portfolio-caption h3 {
    margin: 0 0 5px 0;
}

.portfolio-caption p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

/* === ZAKTUALIZOWANA SEKCJA HERO === */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center; /* Wyrównanie w pionie */
    padding: 0 20px;
    background-color: #111;
    
     /* --- POPRAWIONA ŚCIEŻKA DO TŁA --- */
    background-image: url('/img/123.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Dodaje efekt paralaksy */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lepszy gradient dla czytelności tekstu po lewej */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    /* --- ZMIANA TUTAJ --- */
    text-align: left; /* Wyrównanie tekstu do lewej */
    margin-left: 10%; /* Odsunięcie od lewej krawędzi */
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

/* Styl dla wyróżnionego słowa */
.hero-content h1 span {
    color: #ff4136; /* Czerwony akcent */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px; /* Większy odstęp */
    max-width: 550px; /* Ograniczenie szerokości dla czytelności */
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 0; /* Wyśrodkowanie na mobilkach */
        text-align: center;
    }

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

    .hero-content p {
        font-size: 18px;
        max-width: 100%;
    }
}

/* === SEKCJA WIDEO === */
.video-section {
    background-color: #111; /* Ciemniejsze tło dla wyróżnienia */
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    color: #fff;
    font-size: 20px;
    border: 2px solid #333;
}

/* Ikonka "play" dla wideo */
.video-placeholder::after {
    content: '\f04b'; /* Ikona play z Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 60px;
    color: #fff;
    position: absolute;
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-placeholder:hover::after {
    transform: scale(1.2);
    color: #ff4136; /* Czerwony akcent */
}


/* === SEKCJA OFERTA === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.offer-card {
    background-color: #222;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.offer-card h3 {
    font-size: 24px;
    color: #fff;
}

.offer-card .price {
    font-size: 36px;
    font-weight: bold;
    color: #ff4136; /* Czerwony akcent */
    margin: 10px 0;
}

.offer-card ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    color: #ccc;
    flex-grow: 1; /* Wypycha przycisk na dół */
}

.offer-card ul li {
    padding: 8px 0 8px 25px;
    position: relative;
}

/* "Checkmark" przy liście w ofercie */
.offer-card ul li::before {
    content: '\f00c'; /* Ikona check z Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff4136;
    position: absolute;
    left: 0;
    top: 10px;
}

/* Styl dla popularnej oferty */
.offer-card.popular {
    border-color: #ff4136;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4136;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}


/* === SEKCJA KONTAKT === */
.contact-section {
    background-color: #111;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 16px;
    box-sizing: border-box; /* DODAJ TĘ LINIJKĘ */
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff4136; /* Czerwony akcent */
}

.contact-form button {
    cursor: pointer;
    width: auto;
    align-self: center; /* Wyśrodkowanie przycisku */
}


/* === STYL PRZYCISKÓW (CALL TO ACTION) === */
.cta-button {
    display: inline-block;
    background-color: #ff4136; /* Główny czerwony kolor */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px; /* Zaokrąglone rogi */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Efekt głębi */
    transition: all 0.3s ease;
}

/* Efekt "unoszenia się" przycisku po najechaniu myszką */
.cta-button:hover {
    background-color: #e03026;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 65, 54, 0.4);
}

/* Efekt "wciśnięcia" przycisku po kliknięciu */
.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Styl dla przycisku z ikoną (jeśli jest używana) */
.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}


/* === STYLE DLA STRON PRAWNYCH (RODO, POLITYKA PRYWATNOŚCI) === */
.legal-page-content .section-container {
    max-width: 800px;
    text-align: left; /* KLUCZOWA REGULA: Wyrównanie tekstu do lewej */
}

.legal-page-content .section-title {
    font-size: 36px;
    text-align: center; /* Tytuł pozostaje na środku */
}

.legal-page-content .section-title::after {
    display: none;
}

.legal-page-content .section-subtitle {
    text-align: left; /* ZMIANA TUTAJ */
    margin-bottom: 60px;
}

.legal-page-content h2 {
    font-size: 24px;
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-top: 40px;
}

.legal-page-content p, 
.legal-page-content li {
    color: #ccc;
    line-height: 1.8;
}

.legal-page-content ul {
    padding-left: 20px;
}
