/* --- CSS VARIABLES & RESET --- */
:root {
    --color-bg: #191fad;
    --color-accent: #c3ff00;
    --color-white: #ffffff;
    --color-hover: #f3f3fe;
    --color-border: #e0e4ff;
    /* Status colors */
    --color-success: #27ae60;
    --color-success-bg: #e7f9ee;
    --color-error: #ed0a0a;
    --color-error-bg: #fff0f0;
    --color-warning: #ed0a0a;
    --max-width: 1140px;
}
/*
8px	    0.5rem
9px	    0.5625rem
10px	0.625rem
11px	0.6875rem
12px	0.75rem
13px	0.8125rem
14px	0.875rem
15px	0.9375rem
16px  	1rem
18px	1.125rem
20px	1.25rem
22px	1.375rem
24px	1.5rem
26px	1.625rem
28px	1.75rem
30px	1.875rem
32px	2rem
34px	2.125rem
36px	2.25rem
38px	2.375rem
40px	2.5rem
42px	2.625rem
*/
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.75rem;  /* 28px */
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-width: 360px;
    margin: 0;
    padding: 0;
}
h1, h2, h3, .toggle-btn, .result-title, .result-badge {
    font-family: 'Bricolage Grotesque', sans-serif;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
}
/* --- NAVIGATION --- */
.navbar {
    position: absolute; /* Menu nakłada się na zdjęcie */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    margin-bottom: 0; /* Usuwamy stary margines */
    padding: 0 20px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.desktop-nav {
    display: none;
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}
/* Mobile Menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 1000;
    /* transition: right 0.3s ease-in-out; */
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu-close {
    font-size: 2rem;
    text-align: right;
    margin-bottom: 40px;
    cursor: pointer;
    padding: 10px 20px;
}
.mobile-nav-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
}
.mobile-nav-items a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}
/* --- SEKCJA HERO --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center; /* wertykalne wyśrodkowanie */
    background-image: url(img/shoot.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px; /* wysokość navbaru */
}

.hero .wrapper {
    top: auto;
    transform: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-text {
    max-width: 600px;
    text-align: left;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.scroll-down img {
    width: 20px;
    height: auto;
}

.manifest {
    color: var(--color-white);
    overflow:visible;
    position: relative;
    line-height: 1.75;
    padding-top: 70px;
    z-index:0;
}

.gallery{
    position:relative;
    z-index:1;
}

.gallery::before{
    content: "";
    position:absolute;
    top: -250px;
    left: -20px;
    width: 500px;
    height: 500px;
    background-image: url('img/kregi.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.responsive-graphic {
    width: 100%; 
    max-width: var(--max-width);
    margin: 0 auto;
    background-image: url('img/break-desktop.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 1140 / 420;
    display: block;
}

.manifest .container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.manifest .section-title,
.manifest .highlight {
    color: var(--color-accent); /* #c3ff00 */
    font-weight: 700;
}
.manifest .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 15px;
}
.manifest-content {
    font-size: 1rem;
}
.manifest-content p {
    margin-bottom: 15px;
}
/* --- GENERAL UTILS --- */
section {
    background-color: var(--color-bg);
}
.section-title {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 15px;
}
.highlight {
    color: var(--color-accent);
    font-weight: 600;
}

.underline {
    text-decoration: underline;
}

.section-desc {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.75rem;
}
.hero-text {
    max-width: 600px;
}
.manifest {
    background-color: var(--color-bg);
    padding: 100px 0 40px 0;
}
.pozwolenie-na-bron {
    background-color: var(--color-bg);
}

.tarcze-do-druku {
    background-color: var(--color-bg);
}

.footer { 
    background-color: var(--color-bg);
    position: relative; 
    z-index: 2;
}


.footer-mission a {  
    color: var(--color-accent);  
    text-decoration: none;  
    cursor: pointer;
}

/* --- QUIZ CARD STYLES --- */
.quiz-section {
    background-color: var(--color-bg);
}
.quiz-card {
    background-color: var(--color-white);
    width: 100%; /* Na mobile: od krawędzi do krawędzi */
    margin: 30px 0;
    border-radius: 25px;
    padding: 25px;
    color: var(--color-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 0px;
    border: 5px solid var(--color-accent);
}
.quiz-header-row {
    margin-bottom: 25px;
}
.mode-toggles {
    display: flex;
    background-color: var(--color-hover);
    padding: 5px;
    border-radius: 12px;
}
.toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-bg);
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}
.toggle-btn.active {
    background-color: #12188a;
    color: var(--color-white);
}
/* -- Question Card -- */
.card {
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.counter {
    color: var(--color-bg);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}
/* -- Answers -- */
.answer {
    display: flex;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.answer:hover {
    background-color: #fafaff;
    border-color: #d0d4f5;
}
.choice {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 15px;
    font-weight: 700;
    background-color: #f3f3fe;
    color: var(--color-bg);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background-color 0.2s, color 0.2s;
}
/* -- Answer States (Learn Mode) -- */
.answer.selected .choice {
    background-color: var(--color-bg);
    color: var(--color-white);
}
.answer.correct .choice {
    background-color: var(--color-success);
    color: var(--color-white);
}
.answer.incorrect .choice {
    background-color: var(--color-error);
    color: var(--color-white);
}
.answer.correct {
    border-color: var(--color-success);
    background-color: var(--color-success-bg);
    color: #1c1a1a;
}
.answer.incorrect {
    border-color: var(--color-error);
    background-color: var(--color-error-bg);
    color: #1c1a1a;
}
.answer.disabled {
    pointer-events: none;
}
/* --- BUTTONS & QUIZ FOOTER --- */
.quiz-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}
.quiz-footer.learn-mode .btn.quiz {
    width: 100%;
}
.quiz-footer.exam-mode .btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
}
.quiz-footer.exam-mode .btn-group .btn {
    flex: 1;
}
.quiz-footer.exam-mode > .btn:last-child {
    width: 100%;
    margin-left: 0 !important;
}
.btn {
    padding: 14px 24px;
    border-radius: 12px;
    border: solid 1px var(--color-border);
    background-color: var(--color-white);
    color: var(--color-bg);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn.active {
  background: var(--color-bg);
  color: var(--color-white);
}
.btn.inactive {
  background: transparent;
  color: var(--color-bg);
}
.btn:hover {
  background: var(--color-hover);
    color: var(--color-bg);
}
/* Disabled */
.btn.quiz:disabled,
.btn.quiz.prev:disabled,
.btn.quiz.finish:disabled {
    color: #ccc !important;
    cursor: not-allowed;
    pointer-events: none;
}
/* --- EXAM SUMMARY STYLES --- */
.summary-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
}
.result-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.result-badge.passed {
    background-color: var(--color-success-bg);
    color: var(--color-success);
}
.result-badge.failed {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}
.result-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-hover);
    padding: 10px 20px;
    border-radius: 12px;
}
.stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-bg);
}
.status-correct { color: var(--color-success); font-weight: 600; }
.status-incorrect { color: var(--color-error); font-weight: 600; }
.status-none { color: var(--color-warning); font-weight: 600; }
.summary-card {
    border: 1px solid var(--color-border);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 16px;
    background-color: #fafaff;
}
.summary-card .card {
    animation: none;
}
/* --- FOOTER --- */
.footer {
    padding: 100px 0 30px 0;
    text-align: center;
}
.footer-logo {
    margin-bottom: 30px;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
}
.footer-mission {
    font-size: 1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.75rem;
}
.socials span {
    margin-left: 15px;
    font-weight: 700;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-desktop {
    display: none;
}
.logo-mobile {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
}
/* Stylizacja sekcji dokumentów */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    display: flex;
    flex-direction: column; /* Mobile: jeden pod drugim */
    gap: 20px;
}
.doc-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}
.doc-list li a:hover {
    opacity: 0.7;
}
/* Ikona obok tekstu */
.dl-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    background-image: url(img/download.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* --- DESKTOP (Układ w jednym wierszu) --- */
@media (min-width: 1024px) {
    .doc-list {
        flex-direction: row; /* Wszystko w jednej linii */
        flex-wrap: wrap; /* Zawijanie, jeśli ekran jest za wąski na tak długie teksty */
        justify-content: flex-start;
        gap: 30px; /* Odstępy między linkami */
    }
    .doc-list li {
        width: auto;
    }
}

/* --- EXAM MODE SPECIFIC STYLES --- */
.card.exam-mode .answer.selected {
    background-color: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-white);
}
.card.exam-mode .answer.selected .choice {
    background-color: var(--color-white);
    color: var(--color-bg);
}
.summary-header {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--color-border);
}
/* Klasa .text-success (gdy passed === true) */
.summary-header .text-success {
    color: var(--color-success);
}
/* Klasa .text-danger (gdy passed === false) */
.summary-header .text-danger {
    color: var(--color-error);
}
.result-badge.passed {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 2px solid var(--color-success);
}
.result-badge.failed {
    background-color: var(--color-error-bg);
    color: var(--color-error);
    border: 2px solid var(--color-error);
}
.result-title {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}
.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.stat-item {
    background-color: var(--color-hover);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}
.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-bg);
}
.stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
}
.summary-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--color-text-card);
    border-left: 6px solid var(--color-border);
}
/* Stylizacja statusĂłw wewnÄ…trz karty (Dobrze/Ĺąle) */
.status-correct {
    color: var(--color-success);
    font-weight: 500;
}
.status-incorrect {
    color: var(--color-error);
    font-weight: 500;
}
/* kolorowy pasek z boku karty zaleĹĽnie od wyniku */
.summary-card:has(.status-incorrect) {
    border-left-color: var(--color-error);
    /* background-color: var(--color-error-bg); */
}
.summary-card:has(.status-correct) {
    border-left-color: var(--color-success);
    /* background-color: var(--color-success-bg); */
}
.summary-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.card.no-anim {
    animation: none !important;
}
#finish-exam-link {
    margin-left: auto; /* Na desktopie pcha do prawej */
}
.pozwolenie-na-bron {
    padding: 70px 0px 0px 0px;
}
.tarcze-do-druku {
    padding: 70px 0px;
}
.quiz-section {
    padding: 70px 0px 0px 0px;
}
/* --- UTILITIES (Klasy pomocnicze) --- */
    .pad-xs {
        padding-left: 0px;
        padding-right: 0px;
    }
    .bot-xs {
        padding-bottom: 30px;
    }
/* =========================
   MEDIA QUERIES
   ========================= */
@media (max-width: 490px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .pozwolenie-na-bron{
        padding: 50px 15px 0 15px;
    }
    .tarcze-do-druku{
        padding: 50px 15px 0 15px;
    }
    .quiz-card {
        padding: 10px;
    }
    .footer{
        padding: 50px 15px;
    }
    .pad-xs {
        padding-left: 15px;
        padding-right: 15px;
    }
    .bot-xs {
        padding-bottom: 20px;
    }

    .gallery {
        padding: 0 15px;
    }

    .responsive-graphic {
        background-image: url('img/break-mobile.png');
        aspect-ratio: 490 / 826;
    }
    
    .manifest {
        padding: 50px 15px;
    }

    .manifest::before {
        display: none;
    }

    .gallery::before {
        display:none;
    }
}

@media (max-width: 768px) {
    .hero {    
        min-height: 85vh;    
        background-image:      
        linear-gradient(
            to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%),      
            url('img/shoot.jpg');    
            background-position: 75% 35%;    
            align-items: end;    
            padding-bottom: 120px;  
    }  
    .gallery::before { 
        display: none; 
    }
    .manifest{
        padding: 40px 15px;
    }

    .manifest::before { 
        display: none; 
    }  
    
    .gallery {
        padding: 0 15px;
    }
    
    .hero .wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.3;
        padding-bottom: 15px;
    }
    #finish-exam-link {
        margin: 0 auto;
    }
    .pozwolenie-na-bron {
        padding: 50px 15px;
    }

    .tarcze-do-druku {
        padding: 50px 15px;
    }

    
    .footer {
        padding: 50px 15px 10px 15px;
    }
}
/* --- DESKTOP (>= 768px) --- */
@media (min-width: 768px) {
    /* LAYOUT */
    .container {
        padding: 0 20px;
    }
    /* NAV */
    .hamburger {
        display: none;
    }
    .logo-mobile {
        display: none;
    }
    .logo-desktop {
        display: block;
        width: 120px;
        object-fit: contain;
        margin-right: 50px;
    }
    .nav-container {
        align-items: center;
    }
    .desktop-nav {
        display: flex;
        gap: 30px;
        list-style: none;
        align-items: center;
    }
    .desktop-nav a {
        text-decoration: none;
        color: var(--color-white);
        text-transform: uppercase;
        font-size: 0.875rem;
        font-weight: 700;
        transition: color 0.2s;
        font-family: 'Montserrat', sans-serif;
    }
    .desktop-nav a:hover {
        color: var(--color-accent);
    }
    .desktop-nav .nav-btn {
        background-color: var(--color-accent);
        color: var(--color-bg);
        padding: 12px 28px;
        border-radius: 50px;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .desktop-nav .nav-btn:hover {
        color: var(--color-bg);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(195, 255, 0, 0.3);
    }
    .quiz-card {
        max-width: var(--max-width); /* Twoje 1140px */
        margin: 0px auto;           /* Wyśrodkowanie */
    }
    /* HERO */
    .hero {
        height: 75vh;
        min-height: 600px;
    }
    .hero .wrapper {
        max-width: var(--max-width); /* 1140px */
        margin-left: auto;
        margin-right: auto;
        padding-left: 40px;
        padding-right: 40px;
    }
    .hero h1 {
        font-size: 2.8rem;
        line-height: 52px;
        padding-bottom: 20px;
    }
    .hero p {
        font-size: 1.25rem;
    }
    /* TYPO */
    .section-title {
        font-size: 2rem;
    }
    /* QUIZ FOOTER */
    .quiz-footer {
        flex-direction: row;
        justify-content: flex-start;
    }
    .quiz-footer.learn-mode .btn.quiz {
        width: auto;
        min-width: 150px;
    }
    .quiz-footer.exam-mode {
        justify-content: space-between;
    }
    .quiz-footer.exam-mode .btn-group {
        width: auto;
    }
    .quiz-footer.exam-mode .btn-group .btn {
        flex: none;
        min-width: 140px;
    }
    .quiz-footer.exam-mode > .btn:last-child {
        width: auto;
        margin-left: auto !important;
    }
}
/* --- LARGE DESKTOP (>= 1024px) --- */
@media (min-width: 1024px) {
    .manifest .container {
        display: flex;
        align-items: flex-start;
        gap: 30px;
    }
    .manifest .section-title {
        font-size: 90px;
        color: #C3FF00;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        margin-bottom: 0;
        line-height: 0.85;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .manifest-content {
        column-count: 2;
        column-gap: 30px;
    }
    .manifest-content p {
        break-inside: avoid;
        margin-top: 0;
    }
}

.footer-new {
    background-color: var(--color-bg); /* #191fad */
    color: var(--color-white);
    padding: 60px 0 30px 0; /* Większy padding góra/dół */
    position: relative;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

/* Biała linia oddzielająca */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
    opacity: 0.8;
    margin-bottom: 40px;
}

/* Kontener Flexbox dla dwóch kolumn */
.footer-content-row {
    display: flex;
    justify-content: space-between; /* Rozpycha kolumny na max szerokość kontenera */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
}

/* --- LEWA KOLUMNA (Logo + Adres) --- */
.footer-col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo-wrapper {
    /* Kontrola rozmiaru logo */
    width: 135px; 
    height: auto;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-white);
    opacity: 0.9;
    text-align: left;
}

/* --- PRAWA KOLUMNA (Kontakt + Sociale) --- */
.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Wszystko do lewej */
    gap: 15px;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.125rem; /* ok 18px */
    margin-bottom: 5px;
    color: var(--color-white);
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.2s, color 0.2s;
}

.footer-email:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Ikona @ */
.icon-at {
    flex-shrink: 0;
}

/* Ikony Social Media */
.footer-socials {
    display: flex;
    gap: 20px; /* Odstęp między ikonami */
    margin-top: 10px;
}

.footer-socials a {
    display: block;
    transition: transform 0.2s;
    line-height: 0; /* Fix dla dziwnych odstępów pod svg */
}

.footer-socials a:hover {
    transform: translateY(-3px);
}

/* --- COPYRIGHT --- */
.footer-copyright-row {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-white); /* Wymuszony biały kolor */
    opacity: 0.6;
    margin-top: 20px;
    width: 100%;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .footer-new {
        padding: 40px 0 20px 0;
    }

    /* Zabezpieczenie przed sklejaniem się z krawędzią ekranu */
    .footer-new .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-content-row {
        flex-direction: column; /* Jeden pod drugim */
        align-items: flex-start; /* Do lewej */
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-col-right {
        width: 100%;
    }

    /* Copyright na środku */
    .footer-copyright-row {
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
    }
}

/* =========================================
   SEKCJA PARTNERSKA (GUN EXPO) - FINALNA WERSJA
   ========================================= */

.partner-section {
    background-color: #ffffff;
    padding: 80px 0;
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Tytuł sekcji - DO LEWEJ */
.partner-section .section-title {
    color: var(--color-bg);
    margin-bottom: 50px;
    text-align: left;
    padding-left: 0;
}

.expo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    /* WYRÓWNANIE WYSOKOŚCI: Obie kolumny będą tej samej wysokości */
    align-items: stretch; 
}

/* --- LEWA KOLUMNA (TREŚĆ) --- */
.expo-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.expo-badge {
    display: inline-block;
    background-color: var(--color-bg);
    color: var(--color-white);
    font-weight: 800;
    padding: 6px 12px;
    font-size: 0.6875rem;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    align-self: flex-start;
}

.expo-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--color-bg);
}

.expo-subtitle {
    font-size: 1.125rem;
    color: #444;
    margin: 10px 0 15px 0;
    font-weight: 600;
}

.expo-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.expo-text strong {
    color: var(--color-bg);
    font-weight: 700;
}

.expo-actions {
    margin-top: 20px; /* Minimalny odstęp od tekstu, ale justify-content wypchnie to na dół */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* --- ZIELONY GUZIK --- */
.expo-btn {
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    padding: 18px 36px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-align: center;
}

.expo-btn:hover {
    filter: brightness(105%);
}

.expo-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-left: 5px;
}

/* --- PRAWA KOLUMNA (ZDJĘCIA) --- */
.expo-visuals {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr; /* Wiersze elastyczne */
    gap: 15px;
    height: 100%; /* Zajmuje 100% wysokości kontenera */
}

.expo-visuals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ZAOKRĄGLENIE 25PX */
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expo-img-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.expo-img-sub {
    grid-column: 2 / 3;
}

.expo-link {
    text-decoration: underline;
    transition: color 0.3s ease; /* Płynne przejście koloru */
    color: inherit;
}

.expo-link:hover {
    color: var(--color-accent) !important; /* Zielony na hover */
    text-decoration: underline;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1024px) {
    .expo-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expo-content {
        order: 2;
        /* Na mobile resetujemy justify-content, bo układ jest wertykalny */
        justify-content: flex-start; 
    }

    .expo-visuals {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        height: 500px; /* Na tablecie ustalona wysokość */
        grid-template-rows: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .partner-section {
        padding: 50px 0;
    }

    .partner-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .partner-section .section-title {
        font-size: 1.8rem;
    }
    
    .expo-name {
        font-size: 1.8rem;
    }
    
    .expo-visuals {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .expo-img-main, .expo-img-sub {
        grid-column: auto;
        grid-row: auto;
        height: 220px;
    }
}


/* --- Style dla harmonogramu Gun Expo --- */
.expo-schedule {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    display: grid;
    /* Pierwsza kolumna na godzinę, druga na resztę */
    grid-template-columns: 130px 1fr; 
    align-items: baseline;
    border-left: 3px solid var(--color-accent, #c3ff00); /* Limonkowy pasek z boku */
    padding-left: 15px;
}

.schedule-item .time {
    color: var(--color-bg);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.schedule-item .desc {
    color: #333;
    line-height: 1.5;
}

/* Wersja mobilna - układ jeden pod drugim */
@media (max-width: 600px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .schedule-item .time {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
}