@font-face {
    font-family: 'Afacad';
    src: url('../fonts/Afacad-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'Afacad', sans-serif;
}

.pageWrapper {
    padding-top: 30px;
    padding-bottom: 20px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .pageWrapper {
        padding-top: 0;
    }
}

.mainSection {
    position: relative;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .mainSection {
        height: 100vh;
    }
}

.backgroundImageWrapper {
    position: relative;
    height: 80vh;
    z-index: 5;
    margin: 0 3px;
}

@media (min-width: 768px) {
    .backgroundImageWrapper {
        height: 100%;
        margin: 0 15px;
    }
}

.textImage {
    object-fit: contain;
    object-position: top;
    opacity: 1;
    width: 100%;
    transition: none;
}

@media (min-width: 768px) {
    .textImage {
        transition: opacity 4s ease-out;
    }
}

.mainImageWrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0; 
    overflow: hidden;
}

.mainImageWrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.32) 51.44%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 11;
    pointer-events: none;
}

.imageDesktop {
    display: none;
}

@media (min-width: 768px) {
    .imageDesktop {
        display: block;
        object-fit: contain;
        position: relative;
        z-index: 10;
        height: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

.imageMobile {
    object-fit: contain;
    object-position: top;
    position: relative;
    z-index: 10;
    width: 100%;
}

@media (min-width: 768px) {
    .imageMobile {
        display: none;
    }
}

.overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    width: 90%;
    max-width: 580px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 20;
}

@media (min-width: 768px) {
    .overlay {
        bottom: -500px;
        transition: all 4s ease-out;
    }
}

.overlay.visible {
    bottom: 3%;
}

@media (min-width: 768px) {
    .overlay.visible {
        bottom: 34%;
        transform: translate(-50%, 50%);
    }
}

.overlay.visible img {
    width: 113px;
    height: 148px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .overlay.visible img {
        width: 150px;
        height: 200px;
    }
}

.text .leadText {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    padding-top: 40px;
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .text .leadText {
        font-size: 22px;
        line-height: 18px;
        padding-top: 80px;
        padding-bottom: 30px;
    }
}

.text .descText {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .text .descText {
        font-size: 20px;
        line-height: 30px;
    }
}

.sliderSection {
    position: relative;
    padding: 20px 10px 0;
    width: 100%;
    overflow: hidden;
    background-color: black;
    z-index: 30;
}

@media (min-width: 768px) {
    .sliderSection {
        padding: 40px 20px 0;
    }
}

.sliderTrack {
    display: flex;
    gap: 10px;
}

@media (min-width: 768px) {
    .sliderTrack {
        gap: 14px;
    }
}

.sliderItem img {
    width: 268px;
    height: 335px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .sliderItem img {
        width: 446px;
        height: 558px;
    }
}



.textSection {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    margin: 44px auto 0;
    width: 75%;
}

@media (min-width: 768px) {
    .textSection {
        max-width: 828px;
        font-size: 20px;
        line-height: 30px;
        margin-top: 99px;
    }
}

.twoImagesSection {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 75px 10px 0;
}

@media (min-width: 768px) {
    .twoImagesSection {
        flex-direction: row;
        gap: 20px;
        margin: 99px 20px 0;
    }
}

.imageItem {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.imageItem img {
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.imageItem:hover img {
    transform: scale(1.05);
}

.contactSection {
    text-align: center;
    margin-top: 62px;
}

@media (min-width: 768px) {
    .contactSection {
        margin-top: 99px;
    }
}

.contactTitle {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .contactTitle {
        font-size: 30px;
        line-height: 18px;
        margin-bottom: 38px;
    }
}

.contactEmail {
    font-size: 20px;
    line-height: 26px;
    margin: 0 auto 20px;
}

.contactText {
    font-size: 16px;
    line-height: 22px;
    width: 80%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contactText {
        font-size: 20px;
    }
}

.phoneLink {
    color: white;
    margin-left: 3px;
    text-decoration: none;
    display: block;
}

@media (min-width: 768px) {
    .phoneLink {
        display: inline;
    }
}

.instagramSection {
    text-align: center;
    margin-top: 62px;
}

@media (min-width: 768px) {
    .instagramSection {
        margin-top: 64px;
    }
}

.instagramLink {
    padding: 0 5px;
    font-size: 15vw;
    color: white;
    text-decoration: none;
}

.instagramLink:hover {
    text-decoration: underline;
}