@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Noto+Sans+TC:wght@100;300;400;500;700&display=swap");

[lang]:lang(zh-TW) {
    font-family: "SF Pro TC", "SF Pro Text", "SF Pro Icons", "PingFang TC",
        "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

:root {
    --color-a: #f0efed;
    --color-b: #ccb9ac;
    --color-c: #b2793e;
    --color-d: #3a3430;
}

:lang(en) {
    font-family: "Lora", serif;
    line-height: 1.5;
}

:lang(zh-TW) {
    font-family: "Noto Sans TC", sans-serif;
}

* {
    box-sizing: border-box;
}

/* General Styles */
body {
    position: relative;
    letter-spacing: 0.05rem;
}

.btn {
    border: none;
    box-shadow: none;
    text-transform: uppercase;
    transition-duration: 0.3s;
}

a {
    transition-duration: 0.3s;
}

h1,
h2,
h3 {
    text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    font: inherit;
    color: inherit;
}

h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}
/* h title style */
.section-header {
    margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
    margin: 0 0 30px 0;
}

.home-section-header h1,
.home-section-header h2 {
    position: relative;
}

.home-section-header h1::before,
.home-section-header h1::after,
.home-section-header h2::before,
.home-section-header h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 1px;
    border: 1px solid var(--color-c);
}

.home-section-header h1::before,
.home-section-header h2::before {
    bottom: -8px;
    width: 60px;
}

.home-section-header h1::after,
.home-section-header h2::after {
    bottom: -12px;
    width: 35px;
}

#home-property-for-rent-listing .section-header h2,
#home-property-listing .section-header h1 {
    color: inherit;
    color: var(--color-d);
}

#home-property-for-rent-listing .section-header h2::before,
#home-property-listing .section-header h1::before,
#home-property-for-rent-listing .section-header h2::after,
#home-property-listing .section-header h1::after {
    border-color: inherit;
    color: var(--color-c);
}

#home-property-for-rent-listing .section-header p {
    color: #8d8d8d;
}
/* h title style ### */
img {
    max-width: 100%;
    height: auto;
}

#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    color: #fff;
    background: #33333329;
    width: 3rem;
    height: 3rem;
    border-radius: 4px;
}

#scroll-top:hover {
    background: var(--color-a);
}

#scroll-top > .right {
    transform: rotate(270deg);
    color: var(--color-d);
    right: 13px;
}

.social-icons {
    width: 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons li {
    list-style: none;
}

.social-icons li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.slick-slider .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -35px;
    z-index: 9;
    background: #3a343026;
    border-radius: 50%;
    padding: 25px;
    width: 70px;
    height: 70px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}

.slick-slider .slick-arrow:hover {
    background: var(--color-b);
}

.btn-3d {
    position: relative;
    perspective: 800px;
    transition: background 0.6s;
    transform-origin: 50% 0;
    transform-style: preserve-3d;
    background: var(--color-d);
    color: var(--color-a);
    display: flex;
    width: 35%;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.btn-3d::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-c);
    border-radius: inherit;
    color: inherit;
    content: attr(data-hover);
    transform: rotateX(270deg);
    transition: transform 0.6s;
    transform-origin: 0 0;
    pointer-events: none;
    font: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-3d:hover::before,
.btn-3d:focus::before {
    transform: rotateX(10deg);
}

.btn-3d > img {
    max-width: 20px;
}

#site-header {
    padding: 1rem 0;
    background: #fff;
}

#site-nav {
    background: none;
}

#site-nav li {
    list-style: none;
    position: relative;
}

#site-nav li:hover > a {
    color: var(--color-c);
}

#site-nav a {
    color: inherit;
    display: block;
}

#site-nav a:hover {
    color: var(--color-c);
}

/* line立即訂房 */
.contact-in-header {
    border-left: 1px solid #dfdfdf;
    margin-left: 30px;
    padding-left: 27px;
    display: flex;
    gap: 0.8rem;
}

.contact-in-header span {
    color: #707070;
}

.contact-in-header strong {
    font-size: 21px;
    color: #07b53b;
}

.contact-in-header > img {
    max-width: 60px;
}

.main-slider-wrapper {
    position: relative;
}

#home-property-listing {
    padding: 80px 0 60px 0;
}

#home-property-for-rent-listing {
    padding: 80px 0 60px 0;
    background: #f0efed;
}

#property-for-rent-slider .slick-arrow {
    background: none;
    border: 1px solid var(--color-d);
    color: var(--color-d);
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 38px;
}

#property-for-rent-slider .slick-arrow:hover {
    background: #e8e5e0;
}

#property-for-rent-slider .left {
    left: -60px;
}

#property-for-rent-slider .right {
    right: -60px;
}

.property {
    background: #fff;
    padding: 10px;
    margin-bottom: 30px;
}

.property .feature-image {
    position: relative;
    margin-bottom: 24px;
}

.property .feature-image img {
    width: 100%;
}


.property .property-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.property .booking-right{
    justify-content: flex-end;
}
.property .pull-left{
    text-align: center;
}
.property .entry-title {
    text-transform: capitalize;
    margin: 0 0 0.2rem 0;
    font-size: 1.12rem;
}

.property .property-location {
    color: #999;
    display: block;
    font-size: 0.95rem;
}

.property .btn-price {
    font-size: 15px;
    font-weight: 600;
}

#footer {
    background: #323232;
    color: var(--color-d);
}

#footer a:hover {
    color: var(--color-c);
}

#footer {
    position: relative;
    background: url("../img/footer-bg.webp") center no-repeat;
    padding: 70px 0;
}

#footer:after {
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: inline-block;
    background: linear-gradient(#ffffff00, #dbc4b3);
}

#footer h2.title {
    font-size: 45px;
    color: #fff;
    text-transform: capitalize;
    margin: 0 0 20px 0;
}

#footer .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* add */
p {
    margin: 0;
}

#site-logo > a > img {
    max-width: 10rem;
}

.nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.top-bar {
    display: flex;
    align-items: center;
}

.content-1 {
    display: flex;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.content-3 {
    display: flex;
    align-items: center;
    max-width: 100%;
    justify-content: flex-end;
}

.content-3 > .product-photo {
    width: 50%;
}

.float-img img:first-child {
    width: 50%;
    height: auto;
    margin: 10% 5% 0 0;
    transform: translate(0, 0);
    -webkit-animation-name: small;
    animation-name: small;
    -webkit-animation-duration: 6s;
    animation-duration: 6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    box-shadow: 0px 7px 20px 4px rgba(204, 185, 172, 0.29);
}

.float-img img:last-child {
    width: 34%;
    height: atuo;
    -webkit-animation-name: big;
    animation-name: big;
    -webkit-animation-duration: 6s;
    animation-duration: 6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    animation-direction: reverse;
    box-shadow: 0px 7px 20px 4px rgba(204, 185, 172, 0.29);
}

@keyframes small {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, 2rem);
    }

    100% {
        transform: translate(0, 0);
    }
}

@-webkit-keyframes big {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -3rem);
    }

    100% {
        transform: translate(0, 0);
    }
}

.runtext {
    border-top: 2px solid #ccb9ac;
    border-bottom: 2px solid #ccb9ac;
    display: inline-flex;
    align-items: center;
    width: 100%;
    background: rgba(240, 239, 237, 0.31);
    padding: 0.25rem 2rem;
    letter-spacing: 0.05rem;
}

.runtext > strong {
    color: var(--color-c);
    font-style: italic;
}

.runtext > marquee {
    padding-left: 2rem;
}

.right::after,
.left::after {
    font-size: 1rem;
    opacity: 0.5;
}

.product-photo {
    width: 60%;
}

.content-R-box {
    width: 40%;
}

.about {
    padding-left: 1.5rem;
    border-left: 8px solid rgba(58, 52, 48, 0.5);
}

.icon-box {
    border-bottom: 1px solid #d2d2d2;
    max-width: 85%;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.noborder {
    border-bottom: unset;
}

.icon-box > h3 {
    margin-bottom: 1.5rem;
}

.icon-box > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.icon-box > ul > li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
}

.icon-box > ul > li > div:first-child {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-b);
    border-radius: 100%;
}

.icon-box > ul > li > div:last-child > p {
    margin: 0;
}

.tips {
    font-size: 0.8rem;
    color: var(--color-b);
}

.disabled > div:first-child {
    background-color: #dbdbdb !important;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo > img {
    max-width: 120px;
}

.footer-logo > p {
    color: #a39890;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 75%;
}

.notice > .about > p {
    margin-bottom: 1.5rem;
}

.notice > img,
.social-icons > li > a > img {
    max-width: 30px;
}

.more-notice {
    border-bottom: 2px solid #b19b84;
    padding-bottom: 0.3rem;
}

.footer-info {
    display: flex;
    width: 75%;
    justify-content: space-between;
    padding-top: 2.5rem;
    border-top: 1px solid #f0efed;
}

.footer-info > a > img {
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
}

.copyright {
    display: flex;
    color: #f0efed;
    font-size: 0.9rem;
}

.copyright a {
    color: #b19b84;
    text-decoration: underline;
}

header#sticknav {
    position: fixed;
    width: 100%;
    z-index: 1024;
    right: 0;
    top: 6rem;
}
/* 大於筆電 */
@media (min-width: 1440px) {
    .p-hide {
        display: none;
    }

    .s-hide {
        display: block;
    }
}
/* 需大於平板 小於筆電 */
@media (max-width: 1440px) {
    .s-hide {
        display: none;
    }

    .p-hide {
        display: block;
        margin-bottom: 1.2rem;
    }

    .content-3 {
        flex-direction: column-reverse;
    }

    .content-3 > .product-photo {
        width: 100%;
    }
}

/* 大於筆電 */
@media (min-width: 1200px) {
    #site-nav {
        margin-right: -30px;
    }
}

/* 筆電 */
@media (min-width: 1200px) and (max-width: 1600px) {
    .content-1 {
        max-width: 90%;
    }

    .content-3 {
        max-width: 100%;
    }

    .icon-box > ul {
        gap: 0.8rem;
    }

    .icon-box > ul > li {
        min-width: 160px;
    }
}

/* 小筆電 */
@media (max-width: 1200px) {
    .contact-in-header {
        margin-left: 10px;
        padding-left: 20px;
    }

    .contact-in-header strong {
        font-size: 18px;
    }

    #property-for-rent-slider .fa-angle-right {
        right: 0;
    }

    #property-for-rent-slider .fa-angle-left {
        left: 0;
    }

    .content-1,
    .m-padding {
        padding: 0 1.5rem;
    }

    .content-3 > .product-photo {
        width: 100%;
    }

    .notice {
        max-width: 100%;
    }

    .footer-info {
        width: 100%;
    }

    #property-for-rent-slider .right,
    #property-for-rent-slider .left {
        display: none !important;
    }

    .btn-3d {
        width: 45%;
    }

    .icon-box > ul {
        padding: 0;
    }
}

/* 小平板 */
@media (min-width: 992px) {
  #site-logo > a > img {
      max-width: 6rem;
  }
}

@media (max-width: 992px) {
    #scroll-top {
        display: none !important;
    }
}



/* 平板 */
@media (min-width: 768px) and (max-width: 991px) {
  #site-logo > a > img {
      max-width: 5.2rem;
  }
  .footer-info,
  .copyright {
      flex-direction: column;
  }

  .footer-info > a {
      text-align: center;
  }

  .copyright {
      align-items: center;
  }

  header#sticknav {
      top: unset;
  }
  .content-1>.product-photo{
    width: 55%;
  }
}

/* 手機 */
@media (max-width: 768px) {
    .slicknav_menu {
        width: 50%;
        display: inline-block;
        float: right;
        position: absolute;
        right: 0;
        top: 2rem;
        z-index: 999;
    }

    .slicknav_nav {
        background: var(--color-a);
        width: 100%;
        border-radius: 4px;
    }

    #site-nav {
        display: none;
    }

    #site-logo > a > img {
        max-width: 4.5rem;
    }

    .nav-hide {
        display: none;
    }

    #site-header .col-md-3 {
        float: left;
    }

    .contact-in-header span {
        float: left;
    }

    #home-property-listing,
    #home-property-for-rent-listing {
        padding: 30px 0;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    #footer {
        padding: 30px 0;
    }
}




/* 手機 */
@media (max-width: 600px) {
    .slicknav_menu {
        width: 100%;
        float: none;
        position: relative;
        z-index: 999;
        background: var(--color-a);
        top: 0;
        box-shadow: 1px 5px 10px 0px #b1ada54d;
    }

    .slicknav_menu > a {
        margin-right: 0;
        width: 100%;
        background: none;
    }

    .slicknav_menu .slicknav_icon {
        float: right;
    }

    .slicknav_nav {
        background: none;
    }

    .top-bar {
        justify-content: center;
    }

    #site-header {
        padding: 1rem 0;
        position: fixed;
        width: 100%;
        z-index: 100;
    }

    .content-1 {
        flex-direction: column;
    }

    .float-img {
        width: 100%;
    }

    .content-R-box {
        width: 100%;
    }

    .icon-box {
        max-width: 100%;
        padding: 0 1rem 2rem 1rem;
    }

    .footer-info,
    .copyright {
        flex-direction: column;
    }

    .social-icons {
        width: 100%;
    }

    .copyright {
        align-items: center;
    }
    .icon-box > ul {
        gap: 1.2rem;
    }
    .icon-box > ul > li > div:first-child {
        width: 2.5rem;
        height: 2.5rem;
    }
    .main-slider-wrapper {
        padding-top: 9rem;
    }
}
