@import "variables";
@import "../../node_modules/bootstrap/scss/bootstrap";

body {
    font-family: 'Open Sans', sans-serif;
}

/* --- HEADER GŁÓWNY KONTENER --- */
.site-header {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- GÓRNY PASEK (Top Bar) --- */
.header-top {
    border-bottom: 1px solid #222222;
}

.top-container {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 40px;
}

.top-contact-info {
    display: flex;
    align-items: stretch;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    color: #cccccc;
    font-size: 13px;
    text-decoration: none;
    border-right: 1px solid #222222;
    transition: color 0.3s ease;
}

.top-contact-item:first-child {
    border-left: 1px solid #222222;
}

.top-contact-item.non-clickable {
    cursor: default;
}

.top-contact-item:hover:not(.non-clickable) {
    color: #ffffff;
}

.icon-yellow {
    width: 14px;
    height: 14px;
    fill: #f3c246;
}

.top-quick-actions {
    display: flex;
    align-items: stretch;
}

.action-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid #222222;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-item:hover {
    background-color: #111111;
}

.icon-white {
    width: 16px;
    height: 16px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.action-item:hover .icon-white {
    fill: #f3c246;
}

/* --- PASEK GŁÓWNY (Main Bar) --- */
.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.header-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #f3c246;
}

/* Przycisk CTA "Szybki Kontakt" */
.btn-outline-gold {
    display: inline-block;
    border: 1px solid #f3c246;
    color: #f3c246;
    background-color: transparent;
    padding: 10px 25px;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: #f3c246;
    color: #000000;
}

/* --- RWD Header --- */
@media (max-width: 1100px) {
    .main-navigation ul {
        gap: 20px;
    }

    .top-contact-item {
        padding: 0 10px;
    }
}

@media (max-width: 991px) {

    .header-top,
    .main-navigation,
    .header-cta {
        display: none;
    }
}

/* --- FORMULARZ WYSZUKIWANIA (Wysuwany) --- */
.header-search-popup {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 15px 0;
    border-top: 1px solid #222222;
}

.header-search-popup.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.header-search-popup .search-form {
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 0 0 auto;
}

.header-search-popup .search-field {
    width: 100%;
    padding: 10px 15px;
    background-color: #222222;
    border: 1px solid #333333;
    color: #ffffff;
    font-size: 15px;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.header-search-popup .search-field:focus {
    border-color: #f3c246;
}

.header-search-popup .search-submit {
    background-color: #222222;
    border: 1px solid #333333;
    border-left: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
}

.header-search-popup .search-submit:hover {
    background-color: #333333;
}

/* --- STOPKA --- */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 0 30px;
    font-family: 'Open Sans', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    display: block;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    fill: #f3c246;
}

a.contact-item:hover {
    color: #f3c246;
}

.contact-item.non-clickable {
    cursor: default;
}

.footer-divider {
    border: none;
    border-top: 1px solid #333333;
    margin: 0 0 25px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social a {
    display: inline-block;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #f3c246;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 1100px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- KLASY UNIWERSALNE (Pomocnicze) --- */
.text-yellow {
    color: #f3c246;
}

.btn-solid-gold {
    display: inline-block;
    background-color: #f3c246;
    color: #000000;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-solid-gold:hover {
    background-color: #e0b035;
    transform: translateY(-2px);
}