/*
Theme Name: Wyjazdy Paralotniowe 3
Theme URI: https://wyjazdyparalotniowe.pl
Author: Wyjazdy Paralotniowe
Description: Autorski motyw wyjazdow paralotniowych do Andaluzji i Maroka.
Version: 3.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wyjazdy-paralotniowe-3
License: GPL-2.0-or-later
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Unbounded:wght@400;600;700;800;900&display=swap');

:root {
    --rust:#a63d11;
    --orange:#c9521e;
    --sand:#ecdeca;
    --sand2:#dbcbb4;
    --cream:#fbf8f2;
    --ink:#302b27;
    --text:#444444;
    --white:#ffffff;
    --radius:22px;
    --max:1240px;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;color:var(--text);background:var(--cream);font:16px/1.7 "DM Sans",Arial,sans-serif}
body.menu-open {overflow:hidden}
a {color:inherit}
img {max-width:100%;height:auto}
button,input,textarea {font:inherit}
button {cursor:pointer}
h1,h2,h3,h4 {font-family:"Unbounded",sans-serif;color:var(--ink);line-height:1.2;letter-spacing:-.045em}
h1 {font-size:clamp(2.5rem,6.5vw,6rem);font-weight:900}
h2 {font-size:clamp(2rem,4vw,3.7rem)}
h3 {font-size:clamp(1.2rem,2vw,1.7rem)}
p {margin:0 0 1.25rem}
.container {width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.skip-link {position:absolute;left:-9999px;top:0;background:white;z-index:9999;padding:10px}
.skip-link:focus {left:12px}
.site-header {position:sticky;top:0;z-index:100;background:rgba(251,248,242,.97);backdrop-filter:blur(18px);box-shadow:0 2px 25px #2b180b0d}
.nav-shell {min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand {text-decoration:none;color:var(--rust);font-family:Unbounded,sans-serif;font-size:clamp(.84rem,1.3vw,1.03rem);font-weight:900;line-height:1.25;letter-spacing:-.045em}
.brand span {display:block}
.site-nav {display:flex;align-items:center;gap:26px}
.site-nav ul {display:flex;gap:22px;list-style:none;padding:0;margin:0;align-items:center}
.site-nav a {font-size:14px;font-weight:700;text-decoration:none;transition:color .2s}
.site-nav a:hover,.site-nav .current-menu-item a {color:var(--rust)}
.nav-toggle {display:none;border:0;background:none;padding:10px;color:var(--rust)}
.btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 24px;border-radius:100px;border:2px solid transparent;text-decoration:none;font-weight:800;line-height:1.2;transition:transform .25s,background .25s}
.btn:hover {transform:translateY(-3px)}
.btn-rust {background:var(--rust);color:white}
.btn-rust:hover {background:#872e0a}
.btn-light {background:white;color:var(--rust)}
.btn-outline {border-color:currentColor;color:inherit}
.nav-cta {white-space:nowrap;background:var(--rust);color:white;padding:12px 18px;border-radius:80px;font-size:13px}
.hero {position:relative;min-height:min(780px,85svh);display:flex;align-items:center;background:#594d40;color:white;isolation:isolate;overflow:hidden}
.hero-bg {position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center center;transform:scale(1.01)}
.hero::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(19,16,13,.76) 0%,rgba(19,16,13,.4) 48%,rgba(19,16,13,.08) 100%);z-index:-1}
.hero h1,.hero p {color:white;max-width:860px}
.hero h1 {margin:14px 0 26px;text-wrap:balance}
.hero p {font-size:clamp(1.05rem,2vw,1.35rem);max-width:590px}
.eyebrow {font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.2em;color:var(--rust)}
.hero .eyebrow {color:#ffe2c3}
.hero-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.section {padding:clamp(65px,9vw,125px) 0}
.section-sand {background:var(--sand)}
.section-dark {background:var(--ink);color:white}
.section-dark h2,.section-dark h3 {color:white}
.section-intro {max-width:750px;margin-bottom:40px}
.section-intro h2 {margin:10px 0 18px}
.grid-2 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.grid-3 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.destination {position:relative;display:flex;align-items:flex-end;min-height:500px;border-radius:var(--radius);overflow:hidden;text-decoration:none;background:var(--rust);isolation:isolate}
.destination:before {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,15,10,.85),rgba(20,15,10,.05) 75%);z-index:-1}
.destination-bg {position:absolute;inset:0;background-position:center;background-size:cover;z-index:-2;transition:transform .7s}
.destination:hover .destination-bg {transform:scale(1.065)}
.destination-body {padding:35px;color:white}
.destination h3 {font-size:clamp(1.6rem,3vw,2.7rem);color:white;margin:8px 0}
.destination p {max-width:420px}
.destination .circle-arrow {display:inline-grid;place-items:center;background:var(--rust);width:48px;height:48px;border-radius:50%;font-size:25px}
.feature {padding:30px;background:#fff;border-radius:var(--radius)}
.feature-num {font-family:Unbounded,sans-serif;font-size:2rem;color:var(--rust)}
.split {display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.split-visual {min-height:440px;border-radius:var(--radius);background:var(--sand2) center/cover no-repeat}
.split h2 {margin-top:12px}
.pill-list {display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.pill {padding:9px 17px;border-radius:40px;background:#ffffffb2;color:var(--ink);font-weight:700;font-size:.88rem}
.section-dark .pill {background:#ffffff18;color:white}
.page-hero {position:relative;isolation:isolate;display:flex;align-items:center;min-height:510px;padding:75px 0;background:var(--rust);overflow:hidden}
.page-hero .hero-bg {z-index:-2}
.page-hero::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17100dd9,#17100d40);z-index:-1}
.page-hero h1,.page-hero p {color:white}
.page-hero h1 {margin:8px 0 15px}
.page-hero p {font-size:1.2rem;max-width:640px}
.copy {max-width:830px}
.copy p {font-size:1.1rem}
.gallery-controls {display:flex;flex-wrap:wrap;gap:9px;margin:0 0 27px}
.filter-button {border:1px solid #c6b6a1;background:transparent;border-radius:30px;padding:10px 22px;font-weight:700}
.filter-button[aria-pressed=true] {color:white;background:var(--rust);border-color:var(--rust)}
.gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gallery-item {position:relative;display:block;border:none;padding:0;border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:#d0bfae}
.gallery-item img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery-item:hover img {transform:scale(1.06)}
.gallery-item[hidden] {display:none}
.lightbox {position:fixed;z-index:300;inset:0;background:#0b0909f0;display:none;align-items:center;justify-content:center;padding:60px 22px}
.lightbox.open {display:flex}
.lightbox img {max-height:88vh;max-width:94vw;object-fit:contain}
.lightbox-close {position:absolute;right:24px;top:18px;background:white;border:0;border-radius:50%;width:42px;height:42px;font-size:26px}
.cta-panel {padding:clamp(30px,6vw,75px);border-radius:var(--radius);background:var(--rust);color:white;text-align:center}
.cta-panel h2 {color:white;margin:0 0 20px}
.cta-panel p {max-width:630px;margin:0 auto 25px}
.editable-content {max-width:900px}
.editable-content > * {max-width:100%}
.editable-content p {font-size:1.07rem}
.site-footer {background:#211b17;color:#eee4d9;padding:60px 0 25px}
.footer-grid {display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.site-footer a {text-decoration:none}
.site-footer a:hover {color:#ffb386}
.footer-small {font-size:13px;color:#d2c3b9;border-top:1px solid #ffffff2a;margin-top:35px;padding-top:20px}
.whatsapp-float {position:fixed;right:20px;bottom:20px;z-index:110;display:flex;align-items:center;gap:8px;text-decoration:none;background:#248d58;color:white;padding:13px 18px;border-radius:30px;font-weight:800;box-shadow:0 8px 30px #0004}
.reveal {opacity:0;transform:translateY(20px);transition:opacity .7s,transform .7s}
.reveal.is-visible {opacity:1;transform:none}
.empty-photo {display:flex;align-items:center;justify-content:center;min-height:250px;background:var(--sand2);color:#60432c;border-radius:18px;padding:30px;text-align:center}
@media(max-width:1050px) {
    .nav-toggle {display:block}
    .site-nav {position:fixed;inset:88px 0 auto 0;display:none;flex-direction:column;align-items:stretch;padding:25px;background:var(--cream);box-shadow:0 12px 20px #0002}
    .site-nav.open {display:flex}
    .site-nav ul {flex-direction:column;align-items:flex-start;gap:18px}
    .nav-cta {align-self:flex-start}
}
@media(max-width:720px) {
    .container {width:min(var(--max),calc(100% - 32px))}
    .nav-shell {min-height:74px}
    .site-nav {top:74px}
    .hero {min-height:680px}
    .hero-bg {background-position:40% center}
    .grid-2,.grid-3,.split {grid-template-columns:1fr}
    .destination {min-height:380px}
    .split {gap:25px}
    .split-visual {min-height:300px}
    .gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
    .page-hero {min-height:425px}
    .whatsapp-float {font-size:13px;bottom:12px;right:12px;padding:11px 14px}
}
@media(prefers-reduced-motion:reduce) {
    html {scroll-behavior:auto}
    .reveal {opacity:1;transform:none;transition:none}
    *,*:before,*:after {animation-duration:.01ms!important;transition-duration:.01ms!important}
}



/* WP3_31_UPDATES */

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    max-width: 790px;
    line-height: 1.13;
    letter-spacing: -.055em;
}

.hero::before {
    background: linear-gradient(
        90deg,
        rgba(19,16,13,.72) 0%,
        rgba(19,16,13,.31) 45%,
        rgba(19,16,13,.03) 100%
    );
}

.destination-body {
    padding: 42px;
}

.destination-bg {
    transition: transform .8s ease;
}

.destination:hover .destination-bg {
    transform: scale(1.05);
}

.whatsapp-float {
    padding: 10px 15px;
    font-size: 13px;
    right: 15px;
    bottom: 15px;
}

/* Galerie panoramiczne */
.gallery {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.gallery-item {
    aspect-ratio: 2.17 / 1;
    border-radius: 14px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

/* Treści WordPress */
.editable-content {
    max-width: 980px;
}

.editable-content h2 {
    margin: 48px 0 20px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.editable-content h3 {
    margin: 30px 0 12px;
}

.editable-content p,
.editable-content li {
    font-size: 1.08rem;
    line-height: 1.85;
}

.editable-content ul,
.editable-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.editable-content a {
    color: var(--rust);
}

/* Cennik */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
    margin: 35px 0 60px;
}

.pricing-card {
    background: white;
    border: 1px solid #e4d9cc;
    border-radius: 22px;
    padding: clamp(25px,4vw,48px);
}

.pricing-card h3 {
    color: var(--rust);
    margin-top: 0;
}

.pricing-card .price {
    font-family: Unbounded, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem,4vw,3.2rem);
    color: var(--ink);
    line-height: 1.2;
    margin: 10px 0 25px;
}

.price-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .12em;
    color: #816958;
}

/* FAQ */
.editable-content details {
    background: white;
    border: 1px solid #e5dbcc;
    border-radius: 14px;
    padding: 18px 23px;
    margin-bottom: 12px;
}

.editable-content summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--ink);
    font-size: 1.08rem;
}

.editable-content details[open] {
    border-color: var(--rust);
}

.editable-content details p {
    margin: 16px 0 0;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    margin-top: 35px;
}

.post-card {
    overflow: hidden;
}

.post-card img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.post-card h2,
.post-card h3 {
    font-size: clamp(1.05rem,2vw,1.4rem);
    line-height: 1.35;
}

.post-card a {
    color: var(--rust);
    text-decoration: none;
}

.post-card h2 a,
.post-card h3 a {
    color: var(--ink);
}

.blog-article {
    max-width: 980px;
    margin-inline: auto;
}

.blog-cover {
    margin-bottom: 45px;
}

.blog-cover img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

.blog-pagination {
    margin-top: 35px;
    display: flex;
    gap: 15px;
}

/* Mniejsze nagłówki przy rozbudowanym menu */
.site-nav {
    gap: 14px;
}

.site-nav ul {
    gap: 15px;
}

.site-nav a {
    font-size: 13px;
}

@media(max-width:1150px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 88px 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
        background: var(--cream);
        box-shadow: 0 12px 20px #0002;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .nav-cta {
        align-self: flex-start;
    }
}

@media(max-width:720px) {
    .hero h1 {
        font-size: clamp(2.3rem,9vw,3.5rem);
    }

    .destination-body {
        padding: 26px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        top: 74px;
    }
}
/* WP313 DESIGN */

/* Banery podstron */
.page-hero {
    min-height: 255px;
    padding: 50px 0;
    background: #ecdeca;
}

.page-hero::before {
    background: transparent;
}

.page-hero h1 {
    font-size: clamp(2.2rem,4.5vw,4.5rem);
    line-height: 1.13;
    margin: 12px 0 14px;
    color: #302b27;
}

.page-hero p {
    font-size: clamp(1rem,1.5vw,1.18rem);
    color: #55473d;
}

.page-hero .eyebrow {
    color: #a63d11 !important;
}

/* Gdy podstrona posiada zdjecie */
.page-hero.has-photo {
    min-height: 400px;
    padding: 65px 0;
    background: #5d4737;
}

.page-hero.has-photo::before {
    background: linear-gradient(
        90deg,
        rgba(19,16,13,.69) 0%,
        rgba(19,16,13,.28) 60%,
        rgba(19,16,13,.06) 100%
    );
}

.page-hero.has-photo h1,
.page-hero.has-photo p {
    color: #ffffff;
}

.page-hero.has-photo .eyebrow {
    color: #ffe1c8 !important;
}

.page-hero.has-photo .hero-bg {
    background-position: center center;
}

/* Wcześniejsze style zawierajace :has */
.page-hero.has-photo:has(.hero-bg[style*="background-image"]) {
    min-height: 400px;
}

.page-hero.has-photo:has(.hero-bg[style*="background-image"])::before {
    background: linear-gradient(
        90deg,
        rgba(19,16,13,.69) 0%,
        rgba(19,16,13,.28) 60%,
        rgba(19,16,13,.06) 100%
    );
}

/* Delikatniejsza typografia */
.blog-preview .section-intro h2 {
    font-size: clamp(1.85rem,2.7vw,2.65rem);
}

.blog-preview-body h3 {
    font-size: clamp(1.1rem,1.65vw,1.38rem);
}

/* Ceny i terminy */
.wp313-trips {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    margin: 35px 0 55px;
}

.wp313-trip {
    padding: clamp(26px,4vw,42px);
    border: 1px solid #e3d4c3;
    border-radius: 22px;
    background: white;
    box-shadow: 0 8px 30px rgba(50,30,15,.035);
}

.wp313-trip-top {
    color: var(--rust);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 800;
}

.wp313-trip h3 {
    margin: 12px 0 22px;
    font-size: clamp(1.3rem,2.2vw,1.75rem);
}

.wp313-trip p {
    font-size: 1rem;
    line-height: 1.65;
}

.wp313-trip-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
}

.btn-outline-dark {
    border-color: var(--rust);
    color: var(--rust);
    background: transparent;
}

.btn-outline-dark:hover {
    background: #f7ebe0;
}

/* FAQ */
.editable-content details {
    padding: 21px 25px;
}

.editable-content details p {
    font-size: 1.03rem;
    line-height: 1.8;
}

.editable-content details a {
    overflow-wrap: anywhere;
}

/* O nas */
.wp313-team {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    margin: 40px 0 55px;
}

.wp313-team-member {
    background: #fff;
    border: 1px solid #e9ddce;
    border-radius: 20px;
    padding: clamp(26px,4vw,42px);
}

.wp313-team-member h2 {
    margin-top: 0;
    color: var(--rust);
    font-size: clamp(1.4rem,2.2vw,1.85rem);
}

.wp313-team-member p:last-child {
    margin-bottom: 0;
}

/* Blog i artykuły */
.blog-article .editable-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:720px) {
    .page-hero {
        min-height: 210px;
        padding: 40px 0;
    }

    .page-hero.has-photo,
    .page-hero.has-photo:has(.hero-bg[style*="background-image"]) {
        min-height: 285px;
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: clamp(2.05rem,8vw,3rem);
    }

    .wp313-trips,
    .wp313-team {
        grid-template-columns: 1fr;
    }

    .wp313-trip {
        padding: 25px;
    }
}