/* ============================================================
   Labirynt Zator — style strony publicznej
   ============================================================ */

/* ── Paleta kolorów ─────────────────────────────────────────── */
:root {
    --green-dark:   #2a5f2a;
    --green-main:   #3a7a36;
    --green-light:  #5a9e54;
    --orange-main:  #e8820c;
    --orange-dark:  #c96a00;
    --cream:        #fdf8f0;
    --text-dark:    #1a1a1a;
    --text-body:    #3d3d3d;
}

/* ── Base ───────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
    color: var(--text-body);
    background-color: #fff;
    line-height: 1.6;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
body { scrollbar-color: var(--green-main) #1a1a1a; scrollbar-width: thin; }
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #1a1a1a; }
body::-webkit-scrollbar-thumb { background: var(--green-main); border-radius: 4px; }

/* ── Selekcja ───────────────────────────────────────────────── */
::selection { color: #fff; background: var(--green-main); }

/* ── Typografia ─────────────────────────────────────────────── */
.font-display {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 800;
}
h1, h2, h3, .heading { font-family: 'Montserrat', 'Segoe UI', sans-serif; font-weight: 700; }

/* ── Podkreślenie nagłówka (dekoracyjna kreska) ─────────────── */
.section-title-underline::after {
    content: '';
    display: block;
    height: 4px;
    width: 60px;
    border-radius: 2px;
    margin-top: 10px;
    background: var(--orange-main);
}
.section-title-underline.center::after { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--orange-main);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(232, 130, 12, 0.35);
}
.btn-primary:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 130, 12, 0.45);
}
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0d1f0d;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}
.hero-section .hero-content { position: relative; z-index: 2; }

/* ── SVG Wave separator ─────────────────────────────────────── */
.wave-top, .wave-bottom { display: block; line-height: 0; }


/* ── Sekcja zielona (Dlaczego warto) ────────────────────────── */
.section-green {
    background-color: var(--green-dark);
    position: relative;
    color: #fff;
}
.section-green-overlay {
    position: absolute;
    inset: 0;
    background-image: url('/site-assets/images/bg-green.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}
.section-green > *:not(.section-green-overlay) { position: relative; z-index: 1; }

/* ── Karty atrakcji ─────────────────────────────────────────── */
.attraction-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.attraction-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.attraction-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.attraction-card .card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-main);
    margin-bottom: 8px;
}

/* ── Badges wiek/typ (karty atrakcji) ───────────────────────── */
.badge-age {
    background: var(--orange-main);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 4px 7px;
    border-radius: 6px;
}

/* ── Karty opinii ───────────────────────────────────────────── */
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    position: relative;
}
.review-quote-icon {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 3rem;
    line-height: 1;
    color: var(--green-main);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* ── Statystyki ─────────────────────────────────────────────── */
.stats-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--green-main);
    line-height: 1;
}
.stats-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-main);
}

/* ── Feature ikony (zielona sekcja) ─────────────────────────── */
.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Pływający przycisk KUP BILET ───────────────────────────── */
#floating-cta {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 200;
}
@media (min-width: 1024px) {
    #floating-cta { display: none; }
}

/* ── Watermark tło sekcji ───────────────────────────────────── */
.section-watermark {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 12vw, 9rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: rgba(58, 122, 54, 0.06);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    user-select: none;
}

/* ── Responsywność ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-section { min-height: 90vh; }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL ENHANCEMENTS v2
   ═══════════════════════════════════════════════════════════ */

/* ── Hero badge chip (nad H1) ───────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,130,12,0.15);
    border: 1px solid rgba(232,130,12,0.5);
    color: #ffc46a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px 6px 10px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    margin-bottom: 1.25rem;
    cursor: default;
}
.hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e8820c;
    flex-shrink: 0;
    animation: hero-dot-pulse 2s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,130,12,0.8); }
    60%       { box-shadow: 0 0 0 6px rgba(232,130,12,0); }
}

/* ── Hero mini stats bar ────────────────────────────────────── */
.hero-stats-bar {
    display: inline-flex;
    gap: 0;
    margin-top: 2.25rem;
    padding: 14px 20px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
}
.hero-stats-bar .hstat {
    padding: 0 22px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.18);
}
.hero-stats-bar .hstat:first-child { padding-left: 0; }
.hero-stats-bar .hstat:last-child  { border-right: none; padding-right: 0; }
.hero-stats-bar .hstat-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    color: #e8820c;
}
.hero-stats-bar .hstat-label {
    font-size: 0.62rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}
@media (max-width: 640px) {
    .hero-stats-bar { padding: 12px 14px; }
    .hero-stats-bar .hstat { padding: 0 14px; }
    .hero-stats-bar .hstat-num { font-size: 1.1rem; }
}

/* ── Floating CTA — pulsujące poświecenie ───────────────────── */
@keyframes cta-glow-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(232,130,12,0.4); }
    50%       { box-shadow: 0 6px 28px rgba(232,130,12,0.7),
                            0 0 0 8px rgba(232,130,12,0.12); }
}
#floating-cta .btn-primary {
    animation: cta-glow-pulse 2.5s ease-in-out infinite;
}

/* ── Attraction card — image zoom + zielony overlay on hover ── */
.attraction-card .card-img-wrap {
    position: relative;
    overflow: hidden;
}
.attraction-card .card-img-wrap .card-img {
    transition: transform 0.45s ease;
}
.attraction-card:hover .card-img-wrap .card-img {
    transform: scale(1.07);
}
.attraction-card .card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(42,95,42,0.65) 0%,
        rgba(42,95,42,0.15) 45%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.attraction-card:hover .card-img-wrap::after { opacity: 1; }
.attraction-card .card-hover-label {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--orange-main);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    pointer-events: none;
}
.attraction-card:hover .card-hover-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Stats section — dark green gradient ────────────────────── */
.stats-green {
    background: linear-gradient(135deg, #1b3b1b 0%, var(--green-dark) 50%, #1e421e 100%);
    position: relative;
    overflow: hidden;
}
.stats-green::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 100% at 15% 50%, rgba(90,158,84,0.28) 0%, transparent 65%),
        radial-gradient(ellipse 50% 100% at 85% 50%, rgba(232,130,12,0.13) 0%, transparent 65%);
    pointer-events: none;
}
.stats-green > .max-w-5xl { position: relative; z-index: 1; }
.stats-green .stats-number { color: #ffffff; }
.stats-green .stats-label  { color: var(--orange-main); }

/* ── Review cards — orange top accent ───────────────────────── */
.review-card { border-top: 3px solid var(--orange-main); }

/* ── Nav desktop links — slide underline ────────────────────── */
#navbar .nav-item-link {
    position: relative;
    padding-bottom: 4px;
}
#navbar .nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange-main);
    border-radius: 1px;
    transition: left 0.22s ease, width 0.22s ease;
}
#navbar .nav-item-link:hover::after {
    left: 8px;
    width: calc(100% - 16px);
}

/* ── Education section — top accent na mini kartach ─────────── */
.edu-item {
    border-top: 2px solid var(--orange-main);
    padding-top: 14px;
}
.edu-item:nth-child(2) { border-top-color: var(--green-main); }

/* ── About section — dekoracyjna kreska przy tekście ─────────── */
@media (min-width: 1024px) {
    .about-text-side {
        padding-left: 2rem;
        border-left: 3px solid var(--orange-main);
    }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL POLISH v3 — announcement bar, progress, icons, cards
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ─────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-main) 0%, #ffa234 100%);
    z-index: 999;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
    will-change: width;
}

/* ── Announcement bar ───────────────────────────────────────── */
.announce-bar {
    background: linear-gradient(90deg, #1b3b1b 0%, var(--green-main) 50%, #1b3b1b 100%);
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 40px 7px 16px;
    position: relative;
    overflow: hidden;
    max-height: 40px;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}
.announce-bar.hidden-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}
.announce-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.05) 80px,
        rgba(255,255,255,0.05) 82px
    );
    pointer-events: none;
}
.announce-bar a { color: #ffc46a; text-decoration: underline; text-underline-offset: 3px; }
.announce-bar a:hover { color: #fff; }
.announce-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--orange-main);
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
    animation: hero-dot-pulse 2s ease-in-out infinite;
}
.announce-close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s;
}
.announce-close-btn:hover { color: #fff; }

/* ── Stats icons ─────────────────────────────────────────────── */
.stats-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.35rem;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--orange-main);
    transition: transform 0.25s ease, background 0.25s ease;
}
.stats-green > div > div > div:hover .stats-icon-wrap {
    transform: scale(1.12);
    background: rgba(255,255,255,0.15);
}

/* ── Cream section background ────────────────────────────────── */
.section-cream { background-color: var(--cream); }

/* ── Contact info cards (map section) ───────────────────────── */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-left: 3px solid var(--green-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.1);
}
.contact-info-card.accent-orange { border-left-color: var(--orange-main); }
.contact-info-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(58,122,54,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--green-main);
    flex-shrink: 0;
}
.contact-section-bg { background-color: #f0f7f0; }

/* ── Wave helpers ────────────────────────────────────────────── */
.wave-to-dark { display: block; line-height: 0; background: #fff; }
.wave-to-dark svg { display: block; width: 100%; height: 60px; }
