body {
    margin: 0;
    padding: 0;
}

.banner {
    position: relative;
    width: 100%;
    height: 350px;
    background: url('/assets/box.png') no-repeat center center/cover;
    

    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    mix-blend-mode: hard-light;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #001D3D; 
}

.banner-content {
    position: relative;
    z-index: 2; 
    color: white;
    font-family: "Times New Roman", serif;
    font-size: 42px;
    font-weight: 400;
}

h2 {
    font-weight: 500;
}

.title-wzornictwo {
    margin-top: 220px;
    font-family: 'Times New Roman';
    font-weight: normal;
    font-size: 64px;
}


@media (max-width: 768px) {
    .title-wzornictwo {
        font-size: 48px;
    }
}

@media (max-width: 468px) {
    .title-wzornictwo {
        font-size: 32px;
    }
}

.wzornictwo-section {
    padding: 40px 10%;

    overflow: hidden;

}

.wzornictwo-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

}

@media screen and (max-width: 764px) {
    .wzornictwo-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 464px) {
    .wzornictwo-container {
        grid-template-columns: 1fr;
    }
}


.wzornictwo-item {

    cursor: pointer;
   
}

.wzornictwo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal - domyślnie ukryty */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Obrazek w modalnym oknie */
.modal-content {
    max-width: 80%;
    max-height: 80%;
}

/* Przycisk zamykania */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



.contact-wzornictwo {
    padding: 40px 10%;

}

.contact-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    padding: 0;
    margin: 0;
}

.contact-description {
    font-family: 'Poppins';
    font-size: 20px;
}

/* Kontakt */

.contact-section2 {
    display: block;
    padding: 40px 10%;
    height: 100%;
}

.contact-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 80px;

}

@media screen and (max-width: 1460px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

.contact-subtitle {
    color: #203B59;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}

.contact-title {
    color: #111010;
    font-family: "Times New Roman";
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
}

.contact-description {
    color: #999BA2;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
}

/* Lista kontaktów */
.contact-details {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 14px;
    margin: 0;
    padding: 0;
}

.contact-item i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 10px;
}

.contact-link {
    color: #69727D;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
}



.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 13px;
}

/* Style pól input */
.input-field[type="text"],
.input-field[type="email"],
.input-field[type="tel"] {
    width: 100%;
    height: 42px;
    border: none;
    border-bottom: 1px solid #4A4A4A;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: hsla(0, 0%, 0%, 0.42);
}

.input-field[type="text"]::placeholder,
.input-field[type="email"]::placeholder,
.input-field[type="tel"]::placeholder {
    color: hsla(0, 0%, 0%, 0.43);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    padding-left: 3px;
}

.input-field[type="text"]:focus,
.input-field[type="email"]:focus,
.input-field[type="tel"]:focus {
    border-radius: 1px;
    transition: ease 0.5s;
    color: hsla(0, 0%, 0%, 0.43);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    border: none;
    outline: none;
    background: #4a4a4a10;
}

/* Style dla select */
select {
    width: 100%;
    height: 42px;
    margin-top: 13px;
    border: none;
    border-bottom: 1px solid #4A4A4A;
    background: none;
    color: hsla(0, 0%, 0%, 0.43);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
}

/* Style dla textarea */
.textarea-field {
    width: 100%;
    height: 100px;
    margin-top: 13px;
    border: none;
    border-bottom: 1px solid #4A4A4A;
    background: none;
    color: hsla(0, 0%, 0%, 0.41);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
}

.textarea-field::placeholder {
    color: hsla(0, 0%, 0%, 0.43);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    padding-left: 3px;
}

/* Wspólne style dla input, select i textarea przy focus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: #4a4a4a10;
    border-radius: 1px;
    transition: ease 0.5s;
}

#button {
    width: 182px;
    height: 35px;
    margin-top: 16px;
    background: none;
    color: #213956;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    transition: ease0.5s;
    border: 1px solid #213956;
}

#button a:hover {
    color: white;
}

#button:hover {
    cursor: pointer;
    color: white !important;
    transition: all ease 0.5s;
    background-color: #213956;
}

