@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

/* =========================================================
   DOM NA KASZUBACH — STYLELENA.CSS
   Dopasowane do dokładnej struktury HTML przesłanej przez Ciebie.
   ========================================================= */

:root {
    --bg: #f6f4ef;
    --paper: #fffdf9;
    --green: #29483a;
    --green-dark: #183328;
    --green-soft: #e9eee9;
    --text: #27302b;
    --muted: #68716b;
    --gold: #a98550;
    --line: #dedbd3;
    --shadow: 0 18px 50px rgba(25, 43, 34, .09);
    --radius: 18px;
    --max: 1180px;
}

/* ---------- RESET ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* ---------- HERO ---------- */

.hero {
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to top,
            rgba(12, 27, 21, .78) 0%,
            rgba(12, 27, 21, .30) 48%,
            rgba(12, 27, 21, .05) 100%
        ),
        url("lena/youtube.jpg") center center / cover no-repeat;

    color: #fff;
}

.hero-content {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 72px;
}

.hero h1 {
    max-width: 920px;
    margin: 0 0 22px;

    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 5.7vw, 72px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.hero p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .01em;
}

/* ---------- SEKCJE ---------- */

.section {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 92px 0;
}

.section.light {
    width: 100%;
    max-width: none;
    padding-left: max(24px, calc((100% - var(--max)) / 2));
    padding-right: max(24px, calc((100% - var(--max)) / 2));
    background: var(--paper);
}

/* ---------- NAGŁÓWKI ---------- */

.section h2 {
    margin: 0 0 42px;
    color: var(--green-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1px;
}

.section h3 {
    margin: 0 0 15px;
    color: var(--green-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.section h4 {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.section p {
    max-width: 820px;
    margin: 0 0 20px;
}

.section strong {
    color: var(--green-dark);
    font-weight: 700;
}

/* ---------- PIERWSZA SEKCJA / NAJWIĘKSZE ATUTY ---------- */

#sprzedaz {
    position: relative;
}

#sprzedaz::before {
    content: "NAJWAŻNIEJSZE INFORMACJE";
    display: block;
    margin-bottom: 16px;

    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

#sprzedaz .grid {
    margin-top: 0;
}

/* ---------- GRID ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* ---------- KARTY ---------- */

.card {
    padding: 30px 32px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(25, 43, 34, .035);
}

#sprzedaz .card {
    min-height: 100%;
}

#sprzedaz .card:first-child {
    grid-column: 1 / -1;
    padding: 38px 40px;
    background: var(--green);
    border-color: var(--green);
    color: rgba(255,255,255,.88);
}

#sprzedaz .card:first-child h3 {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
}

#sprzedaz .card:first-child p {
    max-width: 900px;
}

#sprzedaz .card:nth-child(2),
#sprzedaz .card:nth-child(3),
#sprzedaz .card:nth-child(4) {
    background: #f0f3ee;
}

/* ---------- SPECYFIKACJA ---------- */

#lena-techniczne {
    background: var(--bg);
}

#lena-techniczne .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#lena-techniczne .card {
    background: var(--paper);
}

#lena-techniczne .card h3 {
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

#lena-techniczne .card p:last-child {
    margin-bottom: 0;
}

/* ---------- LISTA ---------- */

.card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.card li {
    position: relative;
    padding: 7px 0 7px 22px;
}

.card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;

    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- GALERIA ---------- */

#galeria {
    padding-top: 100px;
    padding-bottom: 100px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #ddd;
    border-radius: 8px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery a:hover img {
    transform: scale(1.045);
}

/* Pierwsze zdjęcie większe */
.gallery a:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* ---------- CENA ---------- */

#cena {
    text-align: center;
    background: var(--green-dark);
    color: #fff;
}

#cena h2 {
    color: rgba(255,255,255,.82);
    font-size: 22px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .16em;
}

#cena h1 {
    margin: 0;
    color: #fff !important;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 6vw, 72px) !important;
    font-weight: 500;
    line-height: 1;
}

/* ---------- KONTAKT ---------- */

#kontakt {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 110px;
}

#kontakt h2 {
    margin-bottom: 20px;
}

#kontakt p {
    margin-left: auto;
    margin-right: auto;
}

#kontakt h3 {
    margin-top: 40px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
}

#kontakt p[style] {
    color: var(--green);
    font-size: 27px !important;
    font-weight: 600 !important;
}

/* ---------- WHATSAPP ---------- */

.whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #25d366;
    color: #fff;

    font-size: 27px;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0,0,0,.22);

    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* ---------- STOPKA ---------- */

footer {
    padding: 34px 24px;
    background: #14271e;
    color: rgba(255,255,255,.6);
    text-align: center;
    font-size: 14px;
}

/* ---------- SEPARATOR ---------- */

.section + .section {
    border-top: 1px solid var(--line);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        width: min(var(--max), calc(100% - 36px));
        padding-bottom: 55px;
    }

    .section,
    .section.light {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .grid,
    #lena-techniczne .grid {
        grid-template-columns: 1fr;
    }

    #sprzedaz .card:first-child {
        grid-column: auto;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery a:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero {
        min-height: 72vh;
        background-position: 60% center;
    }

    .hero-content {
        width: calc(100% - 30px);
        padding: 80px 0 38px;
    }

    .hero h1 {
        font-size: 39px;
        line-height: 1.08;
        letter-spacing: -.8px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.5;
    }

    .section,
    .section.light {
        padding: 65px 15px;
    }

    .section h2 {
        margin-bottom: 30px;
        font-size: 34px;
    }

    .section h3 {
        font-size: 21px;
    }

    #sprzedaz .card:first-child {
        padding: 28px 24px;
    }

    #sprzedaz .card:first-child h3 {
        font-size: 25px;
    }

    .card {
        padding: 25px 22px;
        border-radius: 14px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .gallery a:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 10;
    }

    #cena h1 {
        font-size: 48px !important;
    }

    #kontakt p[style] {
        font-size: 23px !important;
    }

    .whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}
/* ================================
   SEKCJA FILMU
================================ */

.video-section {
    padding: 100px 20px;
    background: #f3f1eb;
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.video-header h2 {
    margin-bottom: 18px;
}

.video-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4d554f;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Telefon */

@media (max-width: 700px) {

    .video-section {
        padding: 70px 15px;
    }

    .video-header {
        margin-bottom: 30px;
    }

    .video-header h2 {
        font-size: 2rem;
    }

    .video-header p {
        font-size: 1rem;
    }

    .video-wrapper {
        border-radius: 5px;
    }
}