@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Open+Sans:wght@300&family=Roboto+Condensed:wght@300&display=swap');;
* {
    box-sizing: border-box;
    padding: 0;
    transition: all 0.3s ease 0s;
    scroll-behavior: smooth;
}
::selection {
    background-color: #ecb233;
    color: #fff; 
}
.mobileLogo {
    display: none;
}
/* HAMBURGER */
.hamburgerMenu {
    display: none;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: #ecb233;
    margin: 6px 0;
}

/* TO TOP BUTTON */
#scrollToTopButton {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 5px;
    color: #ffffff;
    background-color: #969696;
    border: none;
}
#scrollToTopButton:hover {
    background-color: #ecb233;
}

header {
    z-index: 10;
    top: 0 ;
    left: 0;
    position: absolute;
    width: 100%;
    padding: 0.5rem;
    background-color:rgba(0, 0, 0, 0.375);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5rem;
}
.logoDiv {
    height: fit-content;
    display: flex;
    align-items: center;
}
.logoDiv h5 {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: "Lato", sans-serif;
    margin-left: 1rem;
}
.logo {
    width: 5rem;
    height: 5rem;
}
.navLinks li {
    list-style: none;
    display: inline-block;
}
.navLinks li a {
    position: relative;
    text-decoration: none;
    margin-right: 2rem;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    padding-bottom: 5px;
    transition: color 0.3s, padding-bottom 0.3s;
}
.navLinks a:hover {
    color: #ecb233;
}
  
.navLinks a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px; 
    bottom: 0;
    left: 0;
    background-color: #ecb233; 
    transition: width 0.3s; 
}
.navLinks :hover a::after {
    width: 100%;
}
.navDropdown li {
    color: #ffffff;
}
.navDropdown i {
    margin-left: 5px;
}

/* DROPDOWN */
.navDropdown{
    display: inline-block;
    position: relative;
}
.dropdownOptions{
    position: absolute;
    overflow: auto;
    padding: 1rem;
    width: 13rem;
    margin-top: 5px;
    background-color:#000000b3;
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.dropdownOptions a{
    text-decoration: none;
    width: 100%;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: solid 0.5px #ffffff2a;
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    font-family: "Lato", 'Times New Roman', Times, serif;
}
.dropdownOptions a:hover {
    color:#ecb233;
}
.navDropdown:hover .dropdownOptions {
    opacity: 1;
    transform: translateY(0px);
        
}
.divider {
    height: 1px;
    width: 10rem;
    margin: 2rem auto;
    background-color: #ecb233;
}

/* MAIN */
.padding {
    width: 100%;
    height: 30rem;
    margin: auto;
}
.padding img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ SECTION */
.faq {
    padding: 4rem;
    width: 100%;
    height: fit-content;
}
.faq h1 {
    text-align: center;
    color: #000000;
    font-size: 2.8rem;
    font-family: "Lato" sans-serif;
}
.faq p {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    color: #969696;
    width: 78%;
    margin: 1rem auto;
}

/* ACCORDION SECTION */
.accordionSection {
    margin: auto;
    width: 80%;
    height: fit-content;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.accordionButton {
    width: 100%;
    height: fit-content;
    padding: 0.5rem;
    background-color: #ecb233;
    color: #ffffff;
    font-size: 1.5rem;
    text-align: left;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    border: none;
    margin: 0.5rem;
}
.accordionButton i {
    margin-right: 8px;
}
.accordionContent {
    display: none;
    border: solid 1px #ecb233;
    border-top: none;
}
.accordionContent p {
    width: 100%;
    padding: 1rem 3rem;
}

/* CONTACT SECTION */
.contact {
    padding: 3rem;
    width: 100%;
    height: fit-content;
    display: flex;
    gap: 0rem;
    justify-content: space-evenly;
    align-items: flex-start;
}
.getInTouch {
    width: 50%;
    height: fit-content;
    padding: 1rem;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    color: #969696;
}
.getInTouch h1 {
    text-align: center;
    color: #000000;
    font-size: 2.8rem;
    font-weight: lighter;
    font-family: "Lato" sans-serif;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: fit-content;
}
form input, textarea {
    border: solid 1px #ecb233;
    padding: 1rem;
}
form button {
    display: block;
    margin: auto;
    width: 20rem;
    height: 4rem;
    background-color: #ecb233;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: "Lato", sans-serif;
}
form button:hover {
    background-color: #ffffff;
    border: solid 1px #ecb233;
    color: #ecb233;
}
form input::placeholder {
    color: #ecb233;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
}
form textarea::placeholder {
    color: #ecb233;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
}
.listingAgent {
    width: fit-content;
    height: fit-content;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 1rem;
}
.listingAgent h1 {
    font-weight: lighter;
    text-align: center;
    color: #000000;
    font-size: 2.8rem;
    font-family: "Lato" sans-serif;
}
.agentProfile {
    width: 100%;
    height: fit-content;
    display: flex;
    gap: 1rem;
}
.agentPicture {
    width: 50%;
    height: 10rem;
}
.agentPicture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.agentName {
    display: flex;
    flex-direction: column;
}
.contactLinks {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    color: #969696;
}
.contactLinks i {
    margin-right: 5px;
}

/* SCHEDULE SHOWING */
.scheduleShowing {
    position: relative;
    width: 100%;
    height: 40rem;
    background-image: url('Images/scheduleViewing\ \(3\).jpg'); 
    background-size: cover;
    background-position: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 2;
    background-color: rgba(255, 165, 0, 0.7); 
}
.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffa50080; 
}
.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff; 
}
.text h1 {
    font-family: "Lato", sans-serif;
    font-weight: bold;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.text p {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
}
.showingButton {
    width: 20rem;
    height: 4rem;
    background-color: transparent;
    border: solid 2px #ffffff;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: "Lato", sans-serif;
    transform: translateY(20px); 
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.showingButton:hover {
    transform: translateY(0);
}

/* FOOTER */
footer {
    margin-top: 1rem;
    background-color: #9696964a;
    padding: 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer h4 {
    color: #969696;
    font-size: 1.2rem;
    font-family: "Lato", sans-serif;
}
.footerIcons {
    display: flex;
    gap: 1rem;
}
.footerIcons .icons {
    width: 4rem;
    height: 4rem;
    background-color: #9696964a;
    border-radius: 5px;
    color: #969696;
    font-size: 1.8rem;
    text-align: center;
    padding: 0.5rem;
}
.footerIcons .icons:hover {
    background-color: #ecb233;
    color: #ffffff;
}

/* MEDIA QUERY */
@media screen and (min-width: 300px) and (max-width: 1000px) {
    .mobileLogo {
        display: block;
        top: 5px;
        left: 5px;
        position: absolute;
        z-index: 7;
        display: flex;
        align-items: center;
        color: #ffffff;
    }
    .mobileLogo img {
        width: 3rem;
        height: 3rem;
    }
    .hamburgerMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px; 
        z-index: 12; 
    }
    .hamburgerMenu::before, .hamburgerMenu::after {
        width: 20px;
    }
    .hamburgerMenu:active .header{
        display: block;
    }
    .logoDiv {
        display: none;
    }
    header {
        display: none; 
        top: 5rem;
        height: fit-content;
        background-color:rgba(0, 0, 0, 0.375);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    .navLinks li {
        list-style: none;
        display: block;
        margin-bottom: 1.2rem;
    }
    /* DROPDOWN */
    .dropdownOptions{
        position: absolute;
        overflow: auto;
        padding: 1rem;
        width: 12rem;
        margin: -3rem 0 0 5.2rem;
    }
}

/*MOBILE DEVICES*/
@media only screen and (max-width: 767px) {
    /* MAIN */
    .padding {
        width: 100%;
        height: 10rem;
        margin: auto;
    }
    .padding img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* FAQ SECTION */
    .faq {
        padding: 1rem;
    }
    .faq h1 {
        font-size: 1.8rem;
    }
    .faq p {
        font-size: 1.5rem;
        width: 80%;
    }
    /* ACCORDION SECTION */
    .accordionSection {
        width: 100%;
    }
    .accordionButton {
        height: fit-content;
    }
    .accordionContent p {
        padding: 1rem;
    }

    /* CONTACT SECTION */
    .contact {
        padding: 1rem;
        gap: 0rem;
        flex-direction: column;
    }
    .getInTouch {
        width: 100%;
    }
    .getInTouch h1 {
        font-size: 1.8rem;
    }
    form {
        display: flex;
        flex-direction: column;
    }
    form button {
        width: 20rem;
        height: 3rem;
        font-size: 1rem;
    }
    .listingAgent h1 {
        font-size: 1.8rem;
    }
    /* SCHEDULE SHOWING */
    .scheduleShowing {
        height: 20rem;
    }
    .text {
        width: 80%;
        padding: 0;
    }
    .text h1 {
        font-family: "Lato", sans-serif;
        font-weight: bold;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .text p {
        font-size: 1.1rem;
    }
    .showingButton {
        width: 15rem;
        height: 2.5rem;
        font-size: 0.8rem;
    }
    .showingButton:hover {
        transform: translateY(0);
    }
    /* FOOTER */
    footer h4 {
        color: #969696;
        font-size: 0.7rem;
    }
    .footerIcons {
        gap: 0.5rem;
    }
    .footerIcons .icons {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
    #scrollToTopButton {
        position: fixed;
        bottom: 5.5rem;
        right: 2rem;
        width: fit-content;
        height: fit-content;
        border-radius: 5px;
        color: #ffffff;
        background-color: #969696;
        border: none;
        padding: 0.5rem;
    }
}

/* TABLETS */
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    /* SCHEDULE SHOWING */
    .scheduleShowing {
        height: 30rem;
    }
    .text {
        width: 100%;
    }
    .text h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    /* FOOTER */
    footer h4 {
        color: #969696;
        font-size: 1rem;
        font-family: "Lato", sans-serif;
    }
    #scrollToTopButton {
        position: fixed;
        bottom: 7rem;
    }
}