body {
    font-family: 'Inter', sans-serif;
}

/* Tło nagłówka */
.hero-bg {
    background: linear-gradient(rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 0.85)), url('tlo.png') center/cover no-repeat;
}

/* Tło sekcji realizacje */
.realizacje-bg {
    background-color: #1f242d;
    background-image: radial-gradient(#2d3442 1px, transparent 1px);
    background-size: 20px 20px;
    border-top: 1px solid rgba(184, 127, 66, 0.3);
    border-bottom: 1px solid rgba(184, 127, 66, 0.3);
}

/* Animacja logo i headera przy scrollu */
.logo-box {
    width: 75px;
    height: 75px;
    transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

.header-container {
    transition: height 0.3s ease;
}

header.scrolled .logo-box {
    width: 48px !important;
    height: 48px !important;
    padding: 2px !important;
}

header.scrolled .header-container {
    height: 5rem !important;
}

/* Filtry galerii */
.filter-btn {
    background-color: #2a313d;
    color: #e2e8f0;
}

.filter-btn:hover {
    background-color: #374151;
}

.filter-btn.active-filter {
    background-color: #b87f42;
    color: #ffffff;
}

/* Aktywny link w menu (podświetlany przy przewijaniu) */
.nav-link.nav-active {
    color: #b87f42;
}

/* Widoczny fokus dla klawiatury */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.gallery-item:focus-visible {
    outline: 2px solid #b87f42;
    outline-offset: 2px;
}

/* Link "przejdź do treści" */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: #b87f42;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* Przyciski nawigacji w modalu */
.modal-nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #2a313d;
    transition: background-color 0.2s ease;
}

.modal-nav:hover {
    background-color: #b87f42;
}

/* Sekcja kontakt */
.contact-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 700px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(184, 127, 66, 0.22), transparent);
    pointer-events: none;
}

.contact-card-main {
    background: linear-gradient(135deg, #b87f42, #7a4a26);
    box-shadow: 0 20px 40px -15px rgba(184, 127, 66, 0.45);
}

.contact-big {
    display: block;
    transition: transform 0.2s ease;
}

.contact-big:hover {
    transform: translateX(4px);
}

/* FAQ: strzałka i animacja otwarcia */
.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    color: #9b6232;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.faq[open] summary::after {
    transform: rotate(45deg);
}

/* Zdjęcie, którego nie udało się wczytać */
.gallery-item.img-error {
    background-image: linear-gradient(135deg, #2a313d, #1f242d);
}

.gallery-item.img-error img {
    display: none;
}

/* Szanujemy ustawienie "ogranicz animacje" */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}