/* Zmienne CSS - Nowoczesna kolorystyka */
:root {
    --bg-main: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --primary: #3f7a46;
    --primary-hover: #2f5d34;
    --accent: #ffd600;
    --accent-hover: #e6c200;
    --text-main: #f5f5f5;
    --text-muted: #b3b3b3;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Typografia wspólna */
.accent-text { color: var(--accent); }
.mt-3 { margin-top: 15px; }

/* Logo Text (W PEŁNI ŻÓŁTE) */
.text-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-text-logo {
    font-size: 20px;
    display: inline-block;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    font-size: 14px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(63, 122, 70, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(63, 122, 70, 0.6);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-main);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg-main);
    transform: translateY(-3px);
}

.btn-green-solid {
    background-color: #2b5931;
    color: var(--white);
    border: 1px solid var(--primary);
    margin-top: 20px;
    margin-bottom: 20px;
}
.btn-green-solid:hover {
    background-color: var(--primary);
}

/* Header & Nawigacja (ZAKTUALIZOWANA Z KĄTOWNIKAMI) */
.header {
    background-color: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list a:not(.fb-link a) {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 12px;
    line-height: 1.4;
    text-align: left;
    display: inline-block;
}

/* Kątowniki z obrazka (żółty lewy i dolny margines) */
.nav-list a:not(.fb-link a)::before, 
.nav-list a:not(.fb-link a)::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Lewa ramka (Kątownik) */
.nav-list a:not(.fb-link a)::before {
    left: 0;
    bottom: 0;
    width: 3px;
    height: 0;
}

/* Dolna ramka (Kątownik) */
.nav-list a:not(.fb-link a)::after {
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
}

.nav-list a:not(.fb-link a):hover::before, 
.nav-list a.active::before {
    height: 100%;
    opacity: 1;
}

.nav-list a:not(.fb-link a):hover::after, 
.nav-list a.active::after {
    width: 100%;
    opacity: 1;
}

.nav-list a:not(.fb-link a):hover, 
.nav-list a.active {
    color: var(--white);
}

/* Wyrównanie linków jednowierszowych by zgadzały się z dwuwierszowymi */
.single-line {
    display: flex !important;
    align-items: center;
    height: 100%;
}

/* Ikona Facebooka w kółku */
.fb-link { margin-left: 10px; }
.fb-link a {
    color: var(--white);
    font-size: 18px;
    background: #333333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    transition: var(--transition);
}
.fb-link a:hover {
    background-color: #1877F2;
    color: var(--white);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Slider Hero */
.hero-slider {
    margin-top: 90px;
    height: calc(100vh - 90px);
    min-height: 650px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-content {
    max-width: 900px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.slide-title-large {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1.1;
}

.slide-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--f5f5f5);
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
    color: var(--accent);
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* ---------------------------------
   NOWOCZESNY TICKER (MARQUEE)
-----------------------------------*/
.modern-ticker {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 214, 0, 0.15);
    border-bottom: 1px solid rgba(255, 214, 0, 0.15);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: inline-flex;
    gap: 50px;
    animation: scrollTicker 35s linear infinite;
    align-items: center;
}

.ticker-track span {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-track .outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Typografia sekcji */
.main-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-header {
    margin-bottom: 50px;
}

.subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--white);
}

/* Poznaj Nas (Nowoczesny Layout i Poświata "Glow") */
.about-section {
    position: relative;
    overflow: hidden;
}

/* Efekt Aurory w tle */
.about-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(63,122,70,0.15) 0%, rgba(18,18,18,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.modern-text-layout {
    column-count: 2;
    column-gap: 50px;
    text-align: justify;
}

.lead-text {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: var(--white) !important;
    line-height: 1.5 !important;
    margin-bottom: 30px !important;
}

.text-content p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.text-content strong {
    color: var(--white);
}

.cta-container {
    margin-top: 30px;
    break-inside: avoid;
}

/* Info Cards */
.bg-darker {
    background-color: var(--bg-secondary);
}

.info-card {
    display: flex;
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.card-image {
    flex: 0 0 40%;
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

.card-text {
    flex: 1;
    padding: 50px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon {
    position: absolute;
    top: 50px;
    left: -25px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Parallax Banner z Mocnym CTA (NAPRAWIONY OVERLAP) */
.parallax-banner {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0; /* Nadaje wysokosc kontenerowi poprzez odstępy (padding) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay jest zamkniety na wysokosci .parallax-banner */
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(18, 18, 18, 0.88);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2; /* Musi być na wierzchu z overlayem pod nim */
}

.parallax-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.parallax-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.parallax-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.parallax-btn {
    min-width: 250px;
}

.text-center { text-align: center; }

/* Akordeon Zespół */
.accordion-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.accordion-info .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.accordion-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.legal-notice {
    font-size: 0.8rem !important;
    color: #666 !important;
    margin-top: 30px;
}

/* Accordion Elementy */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.acc-item {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    overflow: hidden;
    background-color: transparent;
    transition: var(--transition);
}

.acc-item.active {
    border-color: var(--primary);
    background-color: rgba(63, 122, 70, 0.05);
}

.acc-header {
    width: 100%;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.acc-header:hover {
    color: var(--accent);
}

.acc-header i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.acc-item.active .acc-header i {
    transform: rotate(180deg);
    color: var(--primary);
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.acc-content-inner {
    padding: 0 30px 25px 30px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Floating Actions */
.fab-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.fab-phone:hover {
    background-color: var(--accent);
    color: var(--bg-main);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(63, 122, 70, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(63, 122, 70, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(63, 122, 70, 0); }
}

.fab-scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background-color: var(--bg-card);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.fab-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.fab-scroll-top:hover {
    background-color: var(--primary);
}

/* Footer */
.footer {
    background-color: #080808;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-menu li, .footer-contact li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer-menu a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 12px;
    width: 15px;
    text-align: center;
}

.privacy-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--text-muted);
}
.privacy-link:hover {
    color: var(--accent);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #1a1a1a;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #1877F2;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #030303;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dev-link {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
}
.dev-link:hover {
    color: var(--white);
}

/* ANIMACJE SCROLL (Intersection Observer) */
.reveal {
    visibility: hidden; 
}
.reveal.is-visible {
    visibility: visible;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


/* Responsywność */
@media (max-width: 1024px) {
    .modern-text-layout {
        column-count: 1;
    }
    .accordion-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .parallax-title { font-size: 2.8rem; }
    .slide-title-large { font-size: 3rem; }
}

@media (max-width: 992px) {
    .nav-list {
        gap: 10px;
    }
    .nav-list a:not(.fb-link a) {
        font-size: 11px;
        padding: 5px 8px;
    }
    .info-card {
        flex-direction: column;
    }
    .card-image {
        min-height: 250px;
    }
    .card-text {
        padding: 40px 30px;
    }
    .card-icon {
        top: -25px;
        left: 30px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(14, 14, 14, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }
    .main-nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        font-size: 1.4rem;
        gap: 20px;
    }
    .nav-list a:not(.fb-link a) {
        font-size: 1.2rem;
        text-align: center;
    }
    .slide-title {
        font-size: 2.2rem;
    }
    .slide-title-large { 
        font-size: 2.5rem; 
    }
    .slide-text {
        font-size: 1.1rem;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .parallax-title { font-size: 2.2rem; }
    .parallax-subtitle { font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    .parallax-cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
    .fab-phone {
        width: 55px;
        height: 55px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
    .fab-scroll-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        left: 20px;
    }
    .acc-header {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .acc-content-inner {
        padding: 0 20px 20px 20px;
    }
}