/* --- Westpol Inc - Professional Master Style v4.2 --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- NAWIGACJA --- */
header {
    padding: 60px 100px 20px 100px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.logo-container {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #bbbbbb;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

/* Instagram w menu - ochrona przed AdBlockiem */
.nav-external a {
    font-size: 16px;
    color: #bbbbbb;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
    text-decoration: none;
}

.nav-links li a:hover, 
.nav-links li a.active,
.nav-external a:hover {
    color: #000;
}

/* --- KONTENER GŁÓWNY --- */
.container {
    padding: 40px 100px 100px 100px;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- HERO (BW to Color) --- */
.image-container-hero {
    width: 100%;
    height: 65vh;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.image-container-hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out;
}

.img-color { opacity: 0; z-index: 2; }
.img-bw { opacity: 1; z-index: 1; }

@media (hover: hover) {
    .image-container-hero:hover .img-color { opacity: 1; }
    .image-container-hero:hover .img-bw { opacity: 0; }
}

/* --- TYPOGRAFIA --- */
.page-title {
    font-weight: 300;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}

.main-paragraph {
    max-width: 850px;
    margin: 0 auto 40px auto;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    font-weight: 300;
    text-align: justify;
}

/* --- KONTAKT (Naprawa stylu linków) --- */
.contact-info {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Wymuszenie koloru czarnego dla linków tel i mail */
.contact-link {
    display: inline-block;
    color: #000 !important; 
    text-decoration: none !important;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: 0.3s;
}

.contact-link:hover {
    color: #bbbbbb !important;
}

.address-text {
    color: #bbbbbb;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    filter: grayscale(100%);
    border: 1px solid #eeeeee;
    margin-top: 20px;
}

/* --- STOPKA --- */
.main-footer {
    padding: 60px 100px;
    border-top: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbbbbb;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    header { padding: 40px 20px 20px 20px; }
    .container { padding: 20px 20px 60px 20px; }
    .main-nav { flex-direction: column; gap: 25px; }
    .logo-img { height: 24px; }
    .nav-links { gap: 20px; }
    .img-color { display: none !important; }
    .img-bw { opacity: 1 !important; position: relative; }
    .image-container-hero { height: 40vh; }
    .main-footer { flex-direction: column; gap: 15px; text-align: center; padding: 40px 20px; }
}