:root {
    --gold: #c5a059;
    --dark: #0a0a0a;
    --grey: #1a1a1a;
    --light-grey: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(197, 160, 89, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070') center/cover no-repeat;
    z-index: -1;
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--glass-border);
}

.logo { font-family: 'Playfair Display', serif; color: var(--gold); font-weight: bold; font-size: 0.9rem; text-transform: uppercase; line-height: 1.2; letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; margin-left: 20px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

header { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px 20px; }

.main-title { font-family: 'Playfair Display', serif; margin-bottom: 30px; }
.title-top { display: block; font-size: clamp(0.9rem, 3vw, 1.2rem); color: var(--light-grey); font-weight: 300; }
.title-mid { display: block; font-size: clamp(2rem, 8vw, 4rem); color: var(--gold); margin: 10px 0; text-transform: uppercase; font-weight: 700; }
.title-bottom { display: block; font-size: clamp(1.1rem, 4vw, 1.8rem); color: #fff; font-weight: 400; }

.hero-contact-box {
    margin-top: 40px; padding: 30px; background: rgba(197, 160, 89, 0.03);
    border: 1px solid var(--glass-border); border-radius: 4px; max-width: 850px; width: 100%;
}

.account-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--light-grey); margin-bottom: 8px; }
.account-number { font-size: clamp(1rem, 4vw, 1.4rem); color: var(--gold); font-weight: 600; letter-spacing: 1px; }

.hero-info { margin-top: 25px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--light-grey); font-size: 0.95rem; }
.hero-info span { margin: 0 15px; color: rgba(197, 160, 89, 0.5); }

section { max-width: 1100px; margin: 80px auto; width: 92%; }
.glass-box { background: var(--glass); backdrop-filter: blur(20px); padding: 45px; border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; }

h2 { font-family: 'Playfair Display', serif; color: var(--gold); margin-bottom: 35px; font-size: 2.2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }

.section-subtitle { color: var(--gold); font-weight: 600; margin-bottom: 15px; text-transform: uppercase; font-size: 0.9rem; }

/* Accordion Styles */
.instruction { margin-bottom: 25px; font-size: 0.9rem; color: var(--light-grey); font-style: italic; }
.accordion-item { margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.05); }
.accordion-header { background: rgba(255,255,255,0.02); padding: 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.accordion-header:hover { background: rgba(197, 160, 89, 0.08); }
.accordion-header h3 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.2rem; font-weight: 400; }
.accordion-header::after { content: '+'; color: var(--gold); font-size: 1.6rem; transition: 0.3s; }
.accordion-item.active .accordion-header::after { content: '−'; transform: rotate(180deg); }

.accordion-content { max-height: 0; padding: 0 22px; background: rgba(0,0,0,0.15); overflow: hidden; transition: all 0.5s cubic-bezier(0, 1, 0, 1); color: var(--light-grey); font-size: 0.9rem; line-height: 1.8; }
.accordion-item.active .accordion-content { max-height: 1000px; padding: 22px; }

.wlasciwosc-note { margin-top: 30px; font-size: 0.85rem; border-left: 2px solid var(--gold); padding-left: 20px; color: var(--light-grey); }

.file-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.file-item { padding: 18px; background: rgba(255,255,255,0.03); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; font-size: 0.9rem; display: block; }
.file-item:hover { background: var(--gold); color: var(--dark); font-weight: 600; transform: translateX(5px); }

.systems-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.systems-tags span { padding: 10px 20px; border: 1px solid var(--gold); color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.gold-text { color: var(--gold); font-weight: 600; }
.hours-list { list-style: none; margin: 15px 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }

footer { text-align: center; padding: 50px; color: var(--light-grey); font-size: 0.8rem; border-top: 1px solid var(--glass-border); margin-top: 80px; }

/* Style wyszukiwarki */
.search-container {
    margin-bottom: 30px;
    position: relative;
}

#soltys-search {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold);
    color: #fff;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: 0.3s;
}

#soltys-search:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

#search-results-info {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--gold);
    min-height: 1.2rem;
}

/* Styl dla podświetlonego tekstu w wynikach */
.highlight {
    background: var(--gold);
    color: var(--dark);
    padding: 0 2px;
    font-weight: bold;
}

/* Dodatkowy efekt dla znalezionego elementu akordeonu */
.accordion-item.found {
    border: 1px solid var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-info span { display: none; }
    .hero-info p { margin-bottom: 10px; }
    .glass-box { padding: 30px 20px; }
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #fff; /* dopasowane do Twojego ciemnego nav */
    transition: 0.3s ease;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(15px);

        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        margin: 0;

        display: none; /* ukrywa menu */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        margin: 0; /* usuwa desktopowe margin-left */
        font-size: 0.85rem;
    }

    .nav-links.active {
        display: flex;
    }
}
