/* Footer */
.footer {
    background-color: #1a1a1a;
    /* Ciemniejsze tło dla lepszej widoczności */
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    /* Konwersja na białe logo */
}

.footer-title .h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
        font-family: 'Cinzel', serif;
    font-weight: 500;
}

/* Pasek telefonów kontaktowych */
.footer-contact-bar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-bar .h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 500;
        font-family: 'Cinzel', serif;
    font-weight: 500;
}

.contact-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-label {
    color: #a0a0a0;
    font-size: 14px;
}

.contact-item a {
    color: #ffffff;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Lokalizacje */
.footer-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

footer .h5{
    font-size: 18px !important;
    margin-bottom: 15px;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 10px;
        font-family: var(--font-heading);
            font-weight: 600;
}

footer .h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.location-item .h6 {
    font-size: 18px;
    margin: 15px 0 5px;
    color: #cccccc;
    font-weight: 500;
    font-family: 'Cinzel', serif;
}

.location-item p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
}

.location-item a {
    color: #cccccc;
    transition: var(--transition);
}

.location-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.social-links .icon-svg {
    width: 16px;
    height: 16px;
    fill: white;
}

/* Informacje o firmie */
.footer-info {
    margin-bottom: 40px;
}

.company-info h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.company-info h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.company-info p {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #a0a0a0;
    font-size: 14px;
}

/* Przydatne linki */
.footer-links {
    margin-bottom: 40px;
}

.footer-links h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0px;
}

.links-container a {
    color: #a0a0a0;
    font-size: 14px;
    transition: var(--transition);
    padding: 5px 0;
    display: block;
    position: relative;
    overflow: hidden;
}

.links-container a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Slider partnerów */
.footer-partners {
    margin-bottom: 40px;
}

.footer-partners .h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.footer-partners .h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.partners-slider {
    position: relative;
    padding: 0 40px;
    margin-top: 30px;
}

.partners-track {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.partner-item {
    min-width: 150px;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
    padding: 15px;
}

.partner-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Konwersja na białe logo */
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
}

.partner-item:hover img {
    transform: scale(1.1);
}

.partner-item span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #a0a0a0;
}

.partners-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.partner-prev,
.partner-next {
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    transition: var(--transition);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-prev:hover,
.partner-next:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #888888;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #a0a0a0;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsywność */
@media (max-width: 1200px) {
    .footer-locations {
        grid-template-columns: 1fr 1fr;
    }

    .links-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .contact-items {
        flex-direction: column;
        gap: 15px;
    }

    .footer-contact-bar {
        padding: 15px;
    }

    .links-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
        .footer-links{grid-column: 1 / -1;}
}

@media (max-width: 768px) {
    .footer-locations {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    .links-container{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .links-container {
        grid-template-columns: 1fr;
    }

    .partner-item {
        min-width: 120px;
        padding: 10px;
    }
}

.footer-realization {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.footer-realization p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.realization-logo {
    margin: 0;
    display: flex;
    align-items: center;
}

.realization-logo img {
    height: 25px;
    width: auto;
}

@media (max-width: 576px) {
    .footer-realization {
        flex-direction: column;
        gap: 5px;
    }
}