/* =========================================
   1. ZMIENNE I RESET
   ========================================= */
:root {
    font-size: 16px;
    
    /* Kolory */
    --main_cream: #EBEAE5;
    --main_black: #3d3225;
    --border-color: #1C1C1C;
    
    /* Fonty */
    --font-heading: 'DM Sans', sans-serif;       /* Nagłówki, Menu */
    --font-body: 'Space Grotesk', sans-serif;    /* Teksty, Ceny, Dane */
    --font-logo: 'Playfair Display', serif;      /* Logo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset dla sticky header */
}

body {
    background-color: var(--main_cream);
    color: var(--main_black);
    font-family: var(--font-body);
    width: 100%;
    overflow-x: hidden;
}

/* =========================================
   2. HEADER (STICKY)
   ========================================= */
.site-header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--main_cream);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--main_black);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--main_black);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.desktop-nav a:hover {
    opacity: 0.6;
}

/* =========================================
   3. GŁÓWNY LAYOUT (SPLIT SECTIONS)
   ========================================= */
.split-section {
    display: flex;
    width: 100%;
    min-height: 85vh; /* Wysokie sekcje na desktopie */
    border-bottom: 1px solid var(--border-color);
}

/* --- LEWA KOLUMNA: ZDJĘCIE --- */
.image-container {
    width: 40%;
    border-right: 1px solid var(--border-color);
    
    /* Styl Galerii (ramka powietrza) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem; 
    background-color: var(--main_cream);
}

/* --- ZDJĘCIE (Scroll Reveal) --- */
.image-container img {
    width: 100%;
    height: auto;
    max-height: 80vh; 
    object-fit: contain;
    display: block;
    
    /* Startujemy z czarno-białym */
    filter: grayscale(100%);
    
    /* Wydłużony czas (0.8s) dla płynniejszego, "kinowego" efektu */
    transition: filter 0.8s ease-in-out; 
    
    /* Opcjonalnie: Delikatna przezroczystość na start */
    opacity: 0.9; 
}

/* Tę klasę doda JavaScript, gdy zdjęcie wjedzie na ekran */
.image-container img.active {
    filter: grayscale(0%);
    opacity: 1;
}

/* UWAGA: Usuń sekcję .image-container img:hover */

/* --- PRAWA KOLUMNA: TREŚĆ --- */
.content-container {
    width: 60%;
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Treść na dole */
}

.content-wrapper {
    max-width: 600px; 
    width: 100%;
}

/* TYPOGRAFIA SEKCJI */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.text-block {
    font-family: var(--font-body);
    font-weight: 300; /* Cienki Space Grotesk */
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--main_black);
}

.text-block p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Listy w sekcji O Mnie */
.detail-list {
    list-style: none;
    margin-top: 2rem;
    padding-left: 0;
}

.detail-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 1px;
    background-color: var(--main_black);
}

/* =========================================
   4. CENNIK (OFERTA)
   ========================================= */
.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
    padding-bottom: 2rem;
}

.pricing-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.pricing-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.pricing-desc em {
    font-style: normal;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}

.pricing-target {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    color: #444;
}

.pricing-target .label {
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 5px;
    border: 1px solid var(--main_black);
    padding: 2px 6px;
    font-size: 0.7rem;
    display: inline-block;
}

/* =========================================
   5. FAQ (ANIMACJA GRID)
   ========================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(28,28,28, 0.1);
}

.faq-accordion {
    border-bottom: 1px solid rgba(28,28,28, 0.1);
    padding: 1.2rem 0;
}

.faq-accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--main_black);
    transition: color 0.3s ease;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary:hover {
    color: #555;
}

/* Ikona +/- */
.faq-accordion .icon {
    position: relative;
    width: 12px;
    height: 12px;
    display: block;
}

.faq-accordion .icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--main_black);
    transform: translateY(-50%);
}

.faq-accordion .icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--main_black);
    transform: translateX(-50%);
    transition: transform 0.3s ease;
}

.faq-accordion[open] .icon::after {
    transform: translateX(-50%) rotate(90deg);
}

/* Animacja otwierania */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.faq-accordion[open] .accordion-content {
    grid-template-rows: 1fr;
}

.inner-text {
    overflow: hidden;
    font-family: var(--font-body);
    font-weight: 300; /* Niepogrubione */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    padding-top: 0;
}

.faq-accordion[open] .inner-text {
    padding-top: 1rem;
}

/* Sekcja Zasad (Regulamin) */
.rules-section {
    margin-top: 3rem;
}
.rules-list {
    list-style: none;
    padding: 0;
}
.rules-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.rules-list li::before {
    content: '•';
    position: absolute;
    left: 0;
}

/* =========================================
   6. FOOTER (CLEAN STYLE)
   ========================================= */
.site-footer {
    width: 100%;
    background-color: var(--main_cream);
    display: flex;
    flex-direction: column;
}

.footer-content {
    padding: 5rem 4rem;
    display: grid;
    /* 3 kolumny: Marka (szersza), Kontakt, Sociale */
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 4rem;
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
}

/* Kolumna Marka */
.brand-col h3 {
    font-family: var(--font-logo);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--main_black);
}

.tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 2.5rem;
    display: block;
}

.invite-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--main_black);
    max-width: 300px;
    font-weight: 300;
}

/* Nagłówki kolumn danych */
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #888;
    font-weight: 500;
}

/* Linki (dane) */
.data-link {
    display: block;
    text-decoration: none;
    color: var(--main_black);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 0.6rem;
    transition: opacity 0.3s ease;
    font-weight: 300;
}

.data-link:hover {
    opacity: 0.6;
}

/* =========================================
   DOLNY PASEK (COPYRIGHT & DISCLAIMER)
   ========================================= */

.footer-bottom {
    border-top: 1px solid rgba(28, 28, 28, 0.1);
    padding: 1.5rem 4rem;
    display: flex;
    /* Rozrzuca elementy: Lewo - Środek - Prawo */
    justify-content: space-between;
    /* KLUCZOWE: Wyrównuje wszystko idealnie do środka w pionie */
    align-items: center;
    
    /* Style dla tekstu copyrightu i linków */
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    
    /* Na wypadek bardzo wąskich ekranów desktopowych */
    flex-wrap: wrap;
    gap: 2rem;
}

/* --- UKŁAD TRZYKOLUMNOWY (Desktop) --- */

/* Lewa (Copyright) i Prawa (Linki) strona */
/* Dostają flex: 1, żeby zajmować tyle samo miejsca, co centruje środek */
.copyrights,
.legal-links {
    flex: 1;
    /* Zapobiega zawijaniu się krótkich tekstów */
    white-space: nowrap;
}

/* Prawa strona wyrównana do prawej */
.legal-links {
    text-align: right;
}

/* ŚRODEK: DISCLAIMER */
.disclaimer {
    /* Dajemy mu więcej miejsca (flex: 2), żeby się ładnie mieścił */
    flex: 2;
    text-align: center;
    
    font-family: var(--font-body); /* Space Grotesk */
    text-transform: none; /* Zwykłe litery */
    line-height: 1.3;
    
    /* Trochę poprawiona czytelność na desktopie */
    font-size: 0.7rem;
    color: rgba(28, 28, 28, 0.5); /* Półprzezroczysty */
}


/* Styl linków */
.legal-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}
.legal-links a:hover {
    color: var(--main_black);
}


/* =========================================
   RESPANSYWNOŚĆ (MOBILE)
   ========================================= */
@media (max-width: 900px) {
    /* ... (Twoje poprzednie style dla header, sekcji itp.) ... */
    
    /* FOOTER MOBILE */
    .footer-content {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
        text-align: center;
    }
    
    .invite-text {
        margin: 0 auto;
    }

    /* DOLNY PASEK MOBILE (To co było "cool") */
    .footer-bottom {
        padding: 1.5rem 2rem;
        flex-direction: column; /* Wszystko w pionie */
        gap: 1.2rem;
        text-align: center;
    }

    /* Resetujemy ustawienia z desktopu */
    .copyrights,
    .legal-links,
    .disclaimer {
        flex: auto;
        white-space: normal;
        text-align: center;
    }

    /* Ustalamy kolejność na telefonie */
    .copyrights { order: 1; }
    
    .disclaimer {
        order: 2;
        font-size: 0.65rem; /* Mniejszy na mobile */
        max-width: 300px; /* Ograniczamy szerokość dla czytelności */
        margin: 0 auto;
    }
    
    .legal-links { order: 3; }
}
/* =========================================
   7. RESPANSYWNOŚĆ (MOBILE)
   ========================================= */
@media (max-width: 900px) {
    
    /* HEADER */
    .site-header {
        padding: 15px 20px;
        flex-direction: column;
        height: auto;
    }
    
    .desktop-nav {
        margin-top: 15px;
        gap: 1.5rem;
    }

    /* SEKCJE GŁÓWNE */
    .split-section {
        flex-direction: column; /* Pionowo */
        min-height: auto;
    }

    /* KOLEJNOŚĆ: 1. Tekst, 2. Zdjęcie */
    .content-container {
        order: 1;
        width: 100%;
        padding: 3rem 2rem;
        border-bottom: none; /* Usuwamy, bo pod spodem jest zdjęcie */
    }

    .image-container {
        order: 2;
        width: 100%;
        height: auto;
        padding: 3rem; /* Zostawiamy padding (Styl Galerii) */
        border-right: none;
        border-top: 1px solid var(--border-color); /* Linia nad zdjęciem */
    }

    .image-container img {
        width: 100%;
        height: 100%;
        max-height: 50vh; /* Ograniczenie wysokości na telefonie */
        object-fit: contain;
    }

    /* FOOTER MOBILE */
    .footer-content {
        grid-template-columns: 1fr; /* Jedna kolumna */
        padding: 3rem 2rem;
        gap: 3rem;
        text-align: center;
    }
    
    .invite-text {
        margin: 0 auto;
    }

    .footer-bottom {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}