/* --- 1. ZMIENNE GLOBALNE I RESET --- */
:root {
    --primary-font: 'Montserrat', sans-serif;
    --secondary-font: 'Oswald', sans-serif;
    
    --black: #222222;
    --black-soft: #333333;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    
    /* Kolory akcentujące */
    --light-blue-main: #4A90E2; 
    --light-blue-soft: #eaf1fa; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--primary-font);
    color: var(--black-soft);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: var(--secondary-font);
    color: var(--black);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: var(--black-soft);
    transition: color 0.3s;
}

/* --- 2. NAGŁÓWEK GŁÓWNY (HEADER) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.8); 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-family: var(--secondary-font);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.main-header nav ul {
    list-style: none;
    display: flex;
}

.main-header nav ul li a {
    color: var(--white);
    margin-left: 25px;
    font-weight: 500;
    text-transform: uppercase;
}

.main-header nav ul li a:hover,
.main-header nav ul li a.active-link {
    color: var(--light-blue-main);
}

/* --- 3. SEKCJA HERO --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* POPRAWIONA ŚCIEŻKA DLA TŁA HERO */
    background: url('hero.jpg') center/cover no-repeat; 
    
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); 
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Przycisk CTA (Call to Action) - Używany wielokrotnie */
.cta-button {
    display: inline-block;
    background-color: var(--light-blue-main);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
}

.cta-button:hover {
    background-color: #3870b9;
}

/* --- 4. STYLE OGÓLNE SEKCJI --- */
section {
    padding: 80px 5%;
}

.section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 15px;
    color: var(--black);
}

.section-subtitle {
    font-size: 1.1em;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--black-soft);
}

/* Nagłówek dla stron podrzędnych (oferta.html, o-nas.html) */
.page-header {
    padding-top: 150px; 
    padding-bottom: 50px;
    text-align: center;
    background-color: var(--gray-light);
}
.page-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 1.2em;
}


/* --- 5. SEKCJA OSTATNIE HISTORIE (KARTY) --- */
.recent-stories-section {
    background-color: var(--white);
}

.story-card-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.story-card-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 30%; 
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.3s;
    background-color: #555; 
    
    background-size: cover;
    background-position: center;
}

/* Specyficzne obrazy dla kart: UŻYWAMY TWOICH PLIKÓW */
.story-card-1 { 
    background-image: url('ludzie.jpg'); 
}
.story-card-2 { 
    background-image: url('rece.jpg');
}
.story-card-3 { 
    background-image: url('stol.jpg');
}


.story-card-item:hover {
    transform: translateY(-5px);
}

.story-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white);
}

.story-card-content h3 {
    color: var(--white);
    font-size: 1.4em;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--light-blue-main); 
    padding-bottom: 5px;
    line-height: 1.2;
}

.story-card-content p {
    font-size: 0.9em;
    font-weight: 300;
}

/* --- 6. SEKCJA NASZ STYL / KINOWE PODEJŚCIE (Na index i o-nas) --- */
.style-section {
    background-color: var(--gray-light);
}

.style-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.style-item {
    flex: 1;
    max-width: 300px;
    padding: 20px;
}

.style-item i {
    font-size: 3em;
    color: var(--light-blue-main);
    margin-bottom: 20px;
}

.style-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.style-item p {
    font-size: 0.95em;
    font-weight: 300;
}

/* --- 7. SEKCJA CTA (PAKIETY) --- */
.packages-cta-section {
    background-color: var(--light-blue-soft);
    text-align: center;
}
.packages-cta-section .section-title {
    margin-bottom: 10px;
}
.packages-cta-section .section-subtitle {
    margin-bottom: 30px;
}

/* --- 8. STOPKA --- */
.main-footer {
    background-color: var(--black-soft);
    color: var(--gray-light);
    text-align: center;
    padding: 40px 5%;
}

.social-links a {
    color: var(--white);
    font-size: 1.5em;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--light-blue-main);
}

.main-footer p {
    margin-top: 20px;
    font-size: 0.9em;
}


/* -------------------------------------------------------------------------- */
/* STYLE OFERTY (oferta.html)                   */
/* -------------------------------------------------------------------------- */

.packages-section {
    background-color: var(--white);
    padding: 80px 5%;
}

.packages-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.package-card {
    flex: 1;
    max-width: 350px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
    font-size: 1em;
    color: var(--light-blue-main);
    margin-bottom: 5px;
    font-weight: 500;
}

.package-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.package-description {
    min-height: 40px; 
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 300;
}

.package-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.package-card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    font-size: 1em;
}

.package-card ul li i {
    color: var(--light-blue-main);
    margin-right: 10px;
    font-size: 1.1em;
}

/* Pakiet wyróżniony */
.package-card.highlighted {
    background-color: var(--light-blue-soft);
    border-color: var(--light-blue-main);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); 
}
.package-card.highlighted h3,
.package-card.highlighted h2 {
    color: var(--black);
}

.after-grid-text {
    text-align: center;
    font-size: 1.1em;
}
.after-grid-text a {
    color: var(--light-blue-main);
    font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* STYLE O NAS (o-nas.html)                     */
/* -------------------------------------------------------------------------- */

.about-us-content {
    padding: 80px 5%;
}

.about-grid {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image-container {
    flex: 1;
    max-width: 500px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text-container {
    flex: 1.5;
}

.about-title {
    font-size: 2em;
    margin-bottom: 15px;
    text-align: left;
}

.about-subtitle {
    font-family: var(--primary-font);
    font-size: 1.3em;
    color: var(--light-blue-main);
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: none;
}

.about-text-container p {
    margin-bottom: 15px;
}


/* -------------------------------------------------------------------------- */
/* STYLE KONTAKTU (kontakt.html)                */
/* -------------------------------------------------------------------------- */

/* Główny kontener strony kontakt */
.contact-page-content {
    padding-top: 150px; 
    padding-bottom: 80px;
    background-color: var(--light-blue-soft);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 3em;
}
.contact-header p {
    font-size: 1.2em;
    margin-top: 10px;
    color: var(--black-soft);
}

.contact-faq-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Nowy kontener grupy: Lewa kolumna na desktopie */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-title, .faq-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: var(--black);
}

/* Kontenery elementów wewnątrz wrapper */
.form-container, .faq-container, .contact-info-container {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Style formularza */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px); /* 2 kolumny na desktopie */
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: var(--primary-font);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
}

.privacy-info {
    font-size: 0.8em;
    margin-top: 15px;
    text-align: center;
    color: #666;
}

/* --- STYLE DLA AKORDEONU FAQ (NOWE) --- */
.faq-item {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.faq-pytanie {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: 700;
    font-family: var(--primary-font);
    font-size: 1em;
    color: var(--black-soft);
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
    cursor: pointer;
}

.faq-pytanie:hover,
.faq-pytanie.aktywny {
    color: var(--light-blue-main);
}

.faq-pytanie i.fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.faq-pytanie.aktywny i.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-odpowiedz {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-odpowiedz p {
    padding: 5px 0 15px 0; 
    font-size: 0.9em;
}

/* --- STYLE DLA OKNA INFORMACJI KONTAKTOWYCH --- */

.contact-info-title {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.5em;
    border-bottom: 2px solid var(--light-blue-soft);
    padding-bottom: 10px;
    font-family: var(--secondary-font);
    text-transform: uppercase;
    color: var(--black);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--black-soft);
    font-size: 1.1em;
    font-weight: 500;
}

.info-item i {
    color: var(--light-blue-main);
    font-size: 1.5em;
    margin-right: 15px;
}

.social-links-standalone {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    align-items: flex-start;
}

.social-links-standalone a {
    display: block;
    margin: 8px 0;
    padding: 5px 0;
    font-size: 1em;
    font-weight: 700;
    color: var(--black-soft); 
}

.social-links-standalone a:hover {
    color: var(--light-blue-main);
}

.social-links-standalone a i {
    color: var(--light-blue-main);
    font-size: 1.2em;
    margin-right: 10px;
}


/* -------------------------------------------------------------------------- */
/* MEDIA QUERIES (DESKTOP)                      */
/* -------------------------------------------------------------------------- */

@media (min-width: 993px) {
    /* Kontakt - Układ na 2 kolumny dla desktopa */
    .contact-faq-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr; 
        gap: 30px;
        align-items: flex-start;
    }

    .left-column {
        grid-column: 1 / 2;
    }
    
    .faq-container {
        grid-column: 2 / 3;
    }

    /* O Nas - Układ na 2 kolumny dla desktopa */
    .about-grid {
        display: flex;
    }
    
    /* Index i Oferta - Układ kart */
    .story-card-item {
        width: 30%;
    }
    .packages-grid {
        display: flex; 
        gap: 30px;
    }
    .package-card {
        flex: 1;
        max-width: 350px;
    }
}


@media (max-width: 992px) {
    /* Ogólne */
    .main-header {
        flex-direction: column;
        align-items: center;
    }
    .main-header nav ul {
        margin-top: 10px;
    }
    
    /* Historie (Karty) */
    .story-card-grid {
        flex-direction: column;
        align-items: center;
    }
    .story-card-item {
        width: 100%;
        max-width: 450px;
    }

    /* Style Item */
    .style-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    /* Oferta */
    .packages-grid {
        flex-direction: column;
        align-items: center;
    }
    .package-card, .package-card.highlighted {
        width: 100%;
        max-width: 400px;
        transform: none;
    }

    /* O Nas */
    .about-grid {
        flex-direction: column;
    }
    .about-image-container {
        order: -1; 
    }
    .about-title {
        text-align: center;
    }

    /* Kontakt */
    .form-group {
        flex: 1 1 100%; 
    }
    .contact-faq-wrapper {
        flex-direction: column;
    }
}