* {
    font-family: "Jost", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--primary-color);
}

body {
    overflow-x: hidden;
}

.f-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    color: unset;
    text-decoration: none;
}

:root {
    --primary-color: #443f37;
    --secondary-color: #a16d25;
}

nav {
    position: fixed;
    width: 100%;
    background-color: white;
    padding: 12px 32px;
    border-bottom: 4px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    height: 74px;
    font-weight: 400;
    z-index: 999;
}

nav .logo {
    height: 100%;
}
nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul .link {
    margin-right: 20px;
    font-size: 1.35rem;
}

nav ul {
    display: flex;
    gap: 34px;
    list-style-type: none;
    font-weight: 300;
}

a.insta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-h2 {
    margin-top: 60px !important;
}

.gallery img {
    transform: translateY(-2px);
}

.phone-button {
    padding: 8px 20px 8px 16px;
}

span {
    color: white;
}

.button-primary {
    background-color: var(--primary-color);
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    gap: 16px;
    font-weight: 400;
    border: 3px solid var(--primary-color);
    font-size: 1.35rem;
}

.button-primary img {
    height: 30px;
}

.insta img {
    height: 48px;
}

/* HEADER */

header {
    background-image: url("/assets/images/header-wallpaper.png");
    height: 60dvh;
    min-height: 720px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 180px;
    display: flex;
    justify-content: center;
}

.button-primary.outline {
    background-color: white;
}

.button-primary.outline span {
    color: var(--primary-color);
}

header img {
    height: 78px;
}

header .name {
    font-size: 2.45rem;
    font-weight: 300;
    margin-top: 18px;
}
ul {
    transition: all 0.3s ease-in-out;
}
.header-card {
    background-color: white;
    padding: 48px 52px;
    flex-direction: column;
    gap: 0px;
    width: fit-content;
    height: fit-content;
}

header .buttons {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: center;
}

header p {
    text-align: center;
}

h1 {
    color: var(--secondary-color);
    font-size: 3.6rem;
    font-weight: 500;
    text-align: center;
}
.d-none {
    display: none;
}

nav:has(input:checked) .hamburger-menu .stripe:first-child {
    transform: translateY(7px) rotate(45deg);
    transform-origin: center;
}

nav:has(input:checked) .hamburger-menu .stripe:nth-child(2) {
    opacity: 0;
}

nav:has(input:checked) .hamburger-menu .stripe:last-child {
    transform: translateY(-9px) rotate(-45deg);
    transform-origin: center;
}

.hamburger-menu {
    display: none;
    justify-content: center;
    z-index: 999991;
    gap: 5px;
    margin-left: auto;
    padding-right: 5px;
    flex-direction: column;
}

.hamburger-menu .stripe {
    border-radius: 3px;
    background-color: var(--primary-color);
    height: 3px;
    width: 25px;
}

.stripe {
    transition: all 0.3s;
}

header p {
    font-size: 1.6rem;
    margin-bottom: 44px;
    font-weight: 500;
}

.buttons .button-primary {
    padding: 8px 18px;
}

section {
    margin-top: 45px;
}

h2:not(.why-h2, .not) {
    text-transform: uppercase;
    font-size: 2.6rem;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
    position: relative;
    color: var(--secondary-color);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    color: hsla(37, 11%, 24%, 0.8);
}

h2:not(.why-h2, .not)::after,
h2:not(.why-h2, .not)::before {
    content: "";
    height: 4px;
    width: 148px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 50%;
}

h2::after {
    left: -200px;
}

h2::before {
    right: -200px;
}

/* sekcja 1 */

.remont-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: #fff;
    max-width: 1420px;
    margin: 0 auto;
}

.content {
    flex: 1;
    padding-right: 20px;
}

.content h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

.subtitle {
    font-size: 14px;
    color: hsla(37, 11%, 24%, 0.8);
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}
/*  */

.section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: #fff;
    max-width: 1450px;
    margin: 80px auto 0;
}

.text-content {
    max-width: 50%;
    font-size: 20px;
}

h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.text-content p {
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-content .icon {
    font-size: 18px;
}

.cta-link {
    text-decoration: none;
    font-weight: bold;
}

.images {
    position: relative;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

strong {
    font-size: 1em;
}

.images {
    margin-top: 40px;
}

.images img {
    max-width: 45%;
    margin-left: -20px;
    border: 12px solid white;
}

.images img:first-child {
    position: relative;
    z-index: 1;
    transform: translate(40px, -60px);
}

.images img:last-child {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    transform: translate(0px, 20px);
}

/*  */

.offer-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    margin-bottom: 24px;
}

.offer-section h2 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.cta-link {
    display: block;
    margin-bottom: 40px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.offer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1450px;
    margin: 40px auto 0;
}

.offer-description {
    text-align: left;
    max-width: 50%;
}

.offer-description h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.offer-description p {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.offer-description ul {
    list-style: none;
    padding-left: 20px;
}

.offer-description li {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.icon-bullet {
    margin-right: 10px;
}

.offer-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile {
    width: 40px;
    height: 40px;
}

.offer-specialization b {
    font-weight: 600;
    color: var(--secondary-color);
}

.offer-specialization {
    margin-top: 20px;

    color: var(--primary-color);
}

.offer-specialization p {
    max-width: 400px;
    font-size: 22px;
    margin-top: 24px;
}

.offer-specialization strong {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}
.offer-specialization img {
    width: 310px;
}

/* DLACZEGO MY */

.why.section {
    background-color: #282724;
    display: flex;
    color: white;
    max-width: unset;
    padding: 0;
}
.why.section img {
    object-fit: cover;
    max-width: 820px;
    height: 400px;
    width: 40%;
}

.textPart * {
    color: white;
    font-size: 22px;
}

.why-h2 {
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.why .textPart {
    padding: 40px;
    padding-left: 60px;
    color: white;
    max-width: 900px;
}

.why ul {
    margin-top: 18px;
}

.why .textPart p {
    max-width: 900px;
}

@media (max-width: 1200px) {
    .why.section {
        flex-direction: column-reverse;
    }

    .why.section img {
        width: 100%;
        height: 220px;
        max-width: none;
    }

    .why .textPart {
        padding: 20px;
        padding-left: 20px;
    }
    .why .textPart p {
        max-width: none;
    }
}
@media (max-width: 760px) {
    .why .textPart {
        padding: 10px;
        padding-left: 10px;
    }
}

/*  */

.mini-gallery {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 60px;
    max-width: 1450px;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.mini-gallery img {
    height: 340px;
    width: 340px;
}

@media (max-width: 920px) {
    .mini-gallery img {
        height: 260px;
        width: 260px;
    }

    .mini-gallery a {
        position: relative;
        height: 260px !important;
    }
}

.mini-gallery a {
    position: relative;
    height: 340px;
}

.mini-gallery a::after {
    position: absolute;
    bottom: 0;
    height: 42px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    content: attr(data-title-img);
    left: 0;
    z-index: 8;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.for-gallery .outline {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}
/* 
 */

.end-section {
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.end-section h2 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.end-section p {
    font-size: 20px;
    color: var(--primary-color);
    max-width: 1240px;
}

.hr {
    width: 120px;
    background-color: var(--secondary-color);
    height: 4px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 1240px;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 80px;
}

.single-city {
    font-size: 20px;
    padding: 8px 16px;
    border-bottom: 2px solid var(--primary-color);
}

/*  */

.footer-links {
    max-width: 640px;
    margin-top: 40px;
    width: 80%;
    color: white !important;
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-links img {
    height: 48px;
    margin-right: 8px;
}

.single-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.single-link .info {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 20px;
}

.info b {
    color: white;
    font-weight: 600;
}

footer .name,
footer h1 {
    color: white !important;
}

footer {
    background-color: #272520;
    flex-direction: column;
    padding: 48px 52px;
    flex-direction: column;
    gap: 0px;
}
footer img {
    height: 64px;
}

footer .name {
    font-size: 2.25rem;
    font-weight: 300;
    margin-top: 18px;
}
