@import url("common.css");

html {
    scroll-behavior: smooth;
}

#introImageSection {
    height: 100vh;
    position: relative;
    background-image: url('../images/room5.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#introImageSection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.introContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#introImageSection h1 {
    font-size: 3em;
    letter-spacing: 10px;
    width: 100%;
    text-align: center;
    color: whitesmoke;
    padding: 5px;
}

.downArrow {
    text-align: center;
    color: whitesmoke;
    display: block;
    text-decoration: none;
    font-size: 80px;
}

#propertyDataSection {
    background-color: wheat;
    padding: 20px;
}

#slideshow {
    width: 70%;
    height: 35vw;
    margin: auto;
    border: 5px solid #000;
    position: relative;
    overflow: hidden;
}

#slideContainer {
    height: 100%;
    position: relative;
    transition: transform 0.6s ease-in-out;
}

.slide {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.slideshowButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: 1px solid #000;
    width: 40px;
    height: 40px;
    z-index: 1;
    transition: background-color 0.5s;
}

.slideshowButton i {
    font-size: 24px;
    color: white;
    transition: color 0.5s;
}

.slideshowButton:hover {
    background-color: #fff;
    cursor: pointer;
}

.slideshowButton:hover i {
    color: black;
}

.rightButton {
    right: 20px;
}

.leftButton {
    left: 20px;
}

.wideImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highImage {
    width: auto;
    height: 100%;
    object-fit: contain;
}

#propertyDataContainer {
    width: 35%;
    margin: 60px auto;
    padding: 0;
}

.propertyDataGroupTitle {
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    color: darkred;
    margin: 40px 0;
}

.propertyDataRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 1.7em;
    margin: 20px 0;
}

.featureValue {
    text-align: right;
}

.propertyDescription {
    width: 50%;
    margin: 100px auto 50px;
    font-size: 1.7em;
    text-align: justify;
    font-family: "Bell MT", serif;
}

.facebookShare {
    text-align: center;
    margin-bottom: 30px;
}

.facebookShareButton {
    font-size: 1.7em;
    color: whitesmoke;
    text-decoration: none;
    padding: 10px;
    border: 2px solid #000;
    background-color: #3b5998;
    transition: 0.3s ease-in-out;
}

.facebookShareButton:hover {
    background-color:#1BB7BD;
    color: black;
    border: 2px solid #fff;
}

@media (max-width: 1200px) {

    #introImageSection h1 {
        font-size: 2.5em;
    }

    .propertyDescription {
        width: 70%;
    }

    #propertyDataContainer {
        width: 50%;
    }
}

@media (max-width: 768px) {

    #introImageSection h1 {
        font-size: 2.2em;
    }

    #slideshow {
        max-width: 80%;
        height: 40vw;
    }

    .slideshowButton {
        width: 35px;
        height: 35px;
    }

    .slideshowButton i {
        font-size: 20px;
    }

    #propertyDataContainer {
        width: 80%;
    }

    .propertyDataGroupTitle {
        font-size: 1.8em;
    }

    .propertyDataRow, .propertyDescription {
        font-size: 1.4em;
    }

    .propertyDescription {
        width: 95%;
    }

    .facebookShareButton {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    #introImageSection h1 {
        font-size: 1.8em;
        letter-spacing: 5px;
    }

    .downArrow {
        font-size: 55px;
    }

    #slideshow {
        max-width: 95%;
        height: 45vw;
    }

    .slideshowButton {
        width: 30px;
        height: 30px;
    }

    .rightButton {
        right: 10px;
    }

    .leftButton {
        left: 10px;
    }

    #propertyDataContainer {
        width: 90%;
    }

    .propertyDataGroupTitle {
        font-size: 1.5em;
    }

    .propertyDataRow, .propertyDescription {
        font-size: 1.2em;
    }

    .facebookShareButton {
        font-size: 1.1em;
    }

    .downArrow {
        font-size: 55px;
    }
}
