/*
Theme Name: palma
Author: Francesco Zani
Theme URI: francescozani.com    
Author URI: francescozani.com
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 5.6
Version: 1.2
*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Colors */
    --heading-color: #40493C;
    /* Description of where this color is used */
    --accent-color: #D7D2CB;
    /* Description of where this color is used */
    --text-color: #010203;
    /* Description of where this color is used */
    --white-color: #fff;
    /* Description of where this color is used */
    --frond-color: #40493C;
    /* Description of where this color is used */
    --pearl-color: #FAF1EE;

    /* Font Sizes */
    --font-size-h1: clamp(1.75rem, 1.3rem + 2.25vw, 4rem);
    /* Heading 1 (H1) - 40px to 64px */
    --font-size-h2: clamp(2rem, 1.875rem + 0.625vw, 2.625rem);
    /* Heading 2 (H2) - 32px to 42px */
    --font-size-h3: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    /* Heading 3 (H3) - 24px to 32px */
    --font-size-h4: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
    /* Heading 4 (H4) - 18px to 24px */
    --font-size-h5: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    /* Heading 5 (H5) - 16px to 20px */
    --font-size-h6: clamp(0.75rem, 0.7375rem + 0.0625vw, 0.8125rem);
    /* Heading 6 (H6) - 12px to 13px */
    --font-size-text: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    /* Paragraphs, Buttons, Input Fields - 16px to 18px */
    --line-height-120: 120%;
    /* Line Height - Universal Heading */
    --line-height-140: 140%;
    /* Line Height - Universal Body */
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 1440px !important;
    padding: 0 !important;
}

/* Body - Universal Line Height Applied */
body {
    font-family: 'Jost', sans-serif !important;
    /* line-height: var(--line-height-120) !important; */
    font-weight: 300;
    background-color: var(--white-color) !important;
    margin: 0;
}

h1 {
    margin: 0 !important;
    font-weight: 300 !important;
    line-height: var(--line-height-120) !important;
}

h2,
h3,
h4,
h5,
h6 {
    margin: 0 !important;
    font-weight: 200 !important;
    line-height: var(--line-height-120) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

/* Headings */
h1 {
    font-size: var(--font-size-h1) !important;
    text-transform: uppercase !important;
}

h2 {
    font-size: var(--font-size-h2) !important;
    text-transform: uppercase !important;
}

h3 {
    font-size: var(--font-size-h3) !important;
    text-transform: uppercase !important;
}

h4 {
    font-size: var(--font-size-h4) !important;
}

h5 {
    font-size: var(--font-size-h5) !important;
}

h6 {
    font-size: var(--font-size-h6) !important;
    text-transform: uppercase !important;
}

/* Paragraphs, Buttons, Input Fields */
p,
button,
input,
textarea,
li {
    font-size: var(--font-size-text) !important;
    /* 16px - 18px */
    font-weight: 300;
    line-height: var(--line-height-140) !important;
}

p {
    margin: 25px 0 0;
}

a {
    font-weight: 400;
}

.btn-link {
    margin: 45px 0 0;
    text-decoration: none !important;
}

.btn-link a,
a.btn-link {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 20px 24px;
    transition: 0.3s ease-in-out;
    letter-spacing: 10%;
    line-height: 150%;
    text-transform: uppercase;
    text-decoration: none !important;
    text-align: center;
}

.btn-link a:hover,
a.btn-link:hover {
    background: var(--frond-color);
    color: var(--white-color);
}

#primary {
    max-width: 100%;
    padding: 0;
}

.ctpadding {
    padding: 100px 48px;
}

.ctfooter {
    background: var(--frond-color);
    padding: 48px;
}

footer p {
    margin: 0;
}

footer a,
footer p {
    text-decoration: none;
    color: var(--white-color) !important;
    text-transform: uppercase;
    font-weight: 200;
}

footer .site-branding img {
    max-width: 250px;
    max-height: 200px;
}

.top-footer,
.bottom-footer {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.top-right-footer-content {
    display: flex;
    gap: 60px;
    flex-direction: column;
}

.bottom-footer {
    margin: 70px 0 0;
}

.bottom-right-footer-content {
    display: flex;
    gap: 35px;
}

.top-right-footer-content .content {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    gap: 70px;
    max-width: 500px;
}

.top-right-footer-content .content-right {
    max-width: 300px;
}

footer h6 {
    color: var(--white-color);
}

.top-right-footer-content .content-right .social-icons a {
    color: var(--white-color);
    margin: 0 10px 0 0;
    font-size: 24px;
}

.bgcolored-sec {
    background: var(--pearl-color);
}

.hero-sec {
    transform: scale(1) !important;
}

.fullwidth-slider-sec {
    padding-right: 0 !important;
}

.fullwidth-img-sec,
.hero-sec {
    padding: 0 !important;
}

.fullwidth-img-sec img {
    width: 100%;
    object-fit: cover;
}

/*FORM*/
.ctform {
    max-width: 1140px;
    margin: 0 auto;
    width: fit-content;
}

.ctform form {
    margin: 60px 0 0
}

.ctform .ctrow {
    display: flex;
    gap: 24px;
    margin: 40px 0;
    max-width: 100%;
    overflow: hidden;
}

.ctform label {
    font-size: var(--font-size-h6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
}

.ctform input,
.ctform input:focus-visible {
    border: none;
    border-bottom: 1px solid var(--text-color);
    outline: none;
    background: transparent;
}

.ctform input.btn-link {
    border: none;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 20px 24px;
    transition: 0.3s ease-in-out;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
}

.ctform input.btn-link:hover {
    background: var(--frond-color);
    color: var(--white-color);
}

.ctform .wpcf7-not-valid-tip {
    margin: 5px 0 0;
}

.ctform .wpcf7-response-output {
    margin: 0 !important;
}

.ctform .are_you_broker h5 {
    font-weight: 300 !important;
}

.ctform .are_you_broker .wpcf7-radio {
    display: flex;
    gap: 20px;
}

.ctform .are_you_broker .wpcf7-radio .wpcf7-list-item {
    margin: 15px 0 0;
}

.ctform .are_you_broker .wpcf7-radio label {
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.ctform .are_you_broker input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px !important;
    height: 20px;
    border: 2px solid var(--frond-color);
    outline: none;
    position: relative;
    cursor: pointer;
    border-radius:50%;
}

.ctform .are_you_broker input[type="radio"]:checked {
    border-color: var(--frond-color);
    border-radius:50%;
}

.ctform .are_you_broker input[type="radio"]:checked::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--frond-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius:50%;
    
}

/*FORM*/

/* Section Content Width */
.right-sec-content {
    max-width: 660px;
    margin: 0 0 0 auto;
    padding-bottom: 50px;
}

.left-sec-content {
    max-width: 650px;
    margin: 0 auto 0 0;
}

/* Default styles For Accordian */
.section-accordian {
    max-width: 750px !important;
    width: 100% !important;
}

.section-accordian .accordion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex-direction: column;
    &.horizontal{
        flex-direction: row;
        max-height: auto;
    }
}

.section-accordian .accordion-container .accordion-item {
    width: 46%;
}

.section-accordian .accordion-container p {
    margin: 20px 0 10px;
}

.section-accordian .accordion-content p {
    margin: 0;
}

.section-accordian .accordion-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    display: none;
}

.section-accordian .accordion-header p {
    text-transform: uppercase;
}

/* Aniamtions Styling */
/* Image Tag In View */
.img-in-view {
    overflow: hidden;
    z-index: 50;
    position: relative;
}

/* Ensure reveal animation elements are hidden initially */
.ctreveal-animation {
    opacity: 0;
    /* Initially hidden */
    /* transform: translateY(20px); Optional: Slight vertical offset */
    transition: opacity 0.4s ease, transform 0.4s ease;
    /* Smooth transition */
}

.ctreveal-animation.visible {
    opacity: 1;
    /* Fully visible */
    transform: translateY(0);
    /* Reset offset */
}

/* Bg Image and Content Animation */
.bgimg-animation {
    background-size: cover;
    background-position: left center;
    /* Start from the left */
    overflow: visible;
    /* Ensure the background image doesn't overflow */
}

.bganimation-content {
    position: relative;
    /* Ensure content is positioned correctly */
    z-index: 1;
    /* Ensure content is above the background image */
    transform: translateY(-160px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}

/* Gallery Item in View Animation */
.gallery-appear-animation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Adjust 200px to your desired minimum column width */
    gap: 50px;
    margin: 0 auto;
    padding: 40px 0;
}

.gallery-appear-animation img {
    max-width: 100%;
    width: 100%;
}

.gallery-appear-animation .gallery-item {
    opacity: 0;
    transform: translateY(-50px);
    /* Start above */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.gallery-item a {
    width: 100% !important;
    pointer-events: none;
}

.gallery-appear-animation .gallery-item img {
    width: 100% !important;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-appear-animation .gallery-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggering Effect */
.gallery-appear-animation .gallery-item:nth-child(1) {
    transition-delay: 0.2s;
}

.gallery-appear-animation .gallery-item:nth-child(2) {
    transition-delay: 0.4s;
}

.gallery-appear-animation .gallery-item:nth-child(3) {
    transition-delay: 0.6s;
}

.gallery-appear-animation .gallery-item:nth-child(4) {
    transition-delay: 0.8s;
}

.gallery-appear-animation .gallery-item:nth-child(5) {
    transition-delay: 1s;
}

/* Mobile Gallery Slider */
.mobilegallery-slider.right-slider {
    width: 100%;
    margin: 50px 0 0;
}

.right-slider {
    margin: 30px 0 0;
}

/* GSAP Slider Wrapper */
.mobilegallery-slider .gsap-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* GSAP Slider (Horizontal Layout) */
.mobilegallery-slider .gsap-slider-gallery {
    display: flex;
    gap: 20px;
    will-change: transform;
}

/* GSAP Slide */
.mobilegallery-slider .gsap-slide-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32% !important;
}

.mobilegallery-slider .gsap-slide-gallery:last-child {
    width: 40% !important;
}

.mobilegallery-slider .gsap-slide-gallery img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/* Custom Pagination */
.mobilegallery-slider .custom-gsap-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6% 0 0;
}

.mobilegallery-slider .slider-pagination {
    color: var(--text-color);
    font-size: var(--font-size-h4);
}

.mobilegallery-slider .slider-pagination .current-slide {
    color: var(--accent-color);
}

/* Navigation Buttons */
.mobilegallery-slider .slider-arrows {
    display: flex;
    gap: 8px;
}

.mobilegallery-slider .gsap-prev-gallery,
.mobilegallery-slider .gsap-next-gallery {
    border: none;
    background: none;
    padding: 0;
}

.mobilegallery-slider .gsap-prev-gallery img,
.mobilegallery-slider .gsap-next-gallery img {
    width: 35px;
}

.mobilegallery-slider .gsap-prev-gallery img {
    transform: rotate(180deg)
}

.mobilegallery-slider .gsap-prev-gallery.disabled,
.mobilegallery-slider .gsap-next-gallery.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Non Transparent Header */
.nontransparent-header-section {
    padding-top: 200px !important;
}

@media(min-width: 767px) {
    .mobilegallery-slider {
        display: none;
    }
}

@media(max-width: 1024px) {
    .ctpadding {
        padding: 70px 20px;
    }

    .btn-link a {
        padding: 17px;
    }

    .ctfooter {
        padding: 48px 20px;
    }

    .bganimation-content {
        transform: translateY(-100px);
    }

    .gallery-appear-animation {
        gap: 20px;
    }

    .fullwidth-slider-sec {
        padding-right: 20px !important;
    }
}

@media(max-width: 767px) {
    .ctpadding {
        padding: 50px 20px;
    }

    .right-sec-content {
        max-width: 100%;
    }

    /* Footer */
    .top-footer,
    .bottom-footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    footer .site-branding img {
        max-width: 170px;
    }

    .top-right-footer-content {
        gap: 30px;
    }

    .top-right-footer-content .content {
        gap: 30px;
        text-align: center;
        flex-direction: column;
        margin: 0 auto;
    }

    .top-footer .site-branding {
        text-align: center;
    }

    .bottom-footer {
        margin: 40px 0 0;
    }

    .bottom-right-footer-content {
        flex-direction: column;
        gap: 15px;
    }

    /* Form */
    .ctform .ctrow {
        flex-direction: column;
    }

    .ctform .ctrow input {
        width: 100%
    }

    /* Accordian */
    .section-accordian .accordion-container {
        flex-direction: column;
        gap: 15px;
    }

    .section-accordian .accordion-container .accordion-item {
        width: 100% !important;
    }

    .section-accordian .accordion-header {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .section-accordian .accordion-header div {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .section-accordian .accordion-header p {
        margin: 0;
    }

    .section-accordian .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin: 12px 0 0;
    }

    /* .section-accordian .accordion-item.active .accordion-content{
        display: block;
    } */
    .section-accordian .accordion-item.active .accordion-arrow {
        transform: rotate(180deg);
    }

    .section-accordian .accordion-arrow {
        display: block;
    }

    /* Animations */
    .gallery-appear-animation {
        grid-template-columns: 1fr;
    }

    .gallery-appear-animation .gallery-item {
        margin-top: 0px !important;
        /* Remove stagger on mobile */
    }

    .desktopgallery-grid-none {
        display: none !important;
    }

    .ctform input.btn-link {
        margin: 0 auto;
        display: block;
        padding: 17px 55px;
    }

    .btn-link {
        margin: 30px 0 0;
        text-align: center;
    }

    .btn-link a {
        line-height: 120%;
    }

    .nontransparent-header-section {
        padding-top: 100px !important;
    }
}



/* All Stlying related to MAP MODULE */
.information__box .outer__information {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
}

.information__box .outer__information .more__info {
    width: 100%;
    max-width: 600px
}

.information__box .outer__information .more__info .list__content {
    width: 100%
}

.information__box .outer__information .more__info .list__content .elem {
    width: 100%
}

.information__box .outer__information .more__info .list__content .elem>ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 60px;
    grid-row-gap: 20px
}

.information__box .outer__information .more__info .list__content .elem>ul>li {
    font-size: 21px;
    line-height: 28px;
    font-weight: 300;
    color: #363430;
    padding-left: 25px;
    position: relative
}

.information__box .outer__information .more__info .list__content .elem>ul>li:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    width: 2px;
    height: 2px;
    border-radius: 250px;
    background-color: #000
}

.information__box .outer__information .more__info>ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    display: flex;
    align-items: center;
    border: 1px solid #40493c;
    justify-content: center;
    margin-bottom: 40px
}

.information__box .outer__information .more__info>ul>li {
    width: 100%
}

.information__box .outer__information .more__info>ul>li>p {
    cursor: pointer;
    margin: 0px;
    min-height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    line-height: 120%;
    font-weight: 300;
    color: #40493c;
    text-transform: uppercase
}

.information__box .outer__information .more__info>ul>li>p.current {
    color: #e7e2dc;
    background-color: #40493c
}

.information__box .outer__information>.txt {
    max-width: 740px;
    width: 100%;
    margin-right: 40px
}

.information__box .outer__information>.txt>p {
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 34px;
    color: #363430;
    font-weight: 300
}

.information__box .outer__information>.txt>p:last-child {
    margin-bottom: 0px
}

.information__box .outer__information .more__info .list__content .elem>ul {
    align-items: flex-start
}

.information__box .outer__information .more__info .list__content .elem>ul>li:before {
    top: 13px;
    transform: none
}

@media(max-width: 1440px) {
    .information__box .outer__information>.txt>p {
        font-size: 22px;
        line-height: 30px
    }

    .information__box .outer__information .more__info .list__content .elem>ul>li {
        font-size: 19px;
        line-height: 25px
    }

    .information__box .outer__information .more__info .list__content .elem>ul {
        grid-column-gap: 40px;
        grid-row-gap: 15px
    }

    .information__box .outer__information .more__info>ul {
        margin-bottom: 25px
    }

    .information__box .outer__information .more__info>ul>li>a {
        font-size: 21px
    }
}

@media(max-width: 1440px) {
    .information__box {
        padding: 45px 0px
    }

    .information__box .outer__information .more__info>ul>li>a {
        font-size: 19px
    }
}

@media(max-width: 991px) {
    .information__box .outer__information {
        flex-direction: column
    }

    .information__box .outer__information>.txt {
        max-width: 100%;
        margin-right: 0px;
        margin-bottom: 30px
    }
}

@media(max-width: 767px) {
    .information__box .outer__information>.txt>p {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 15px
    }

    .information__box .outer__information .more__info .list__content .elem>ul>li {
        font-size: 16px;
        line-height: 22px
    }

    .information__box .outer__information .more__info>ul>li>a {
        font-size: 16px;
        min-height: 44px
    }

    .information__box .outer__information .more__info .list__content .elem>ul>li:before {
        top: 9px
    }
}

@media(max-width: 480px) {
    .information__box {
        padding: 25px 0px
    }

    .information__box .outer__information .more__info>ul>li>a {
        font-size: 14px
    }

    .information__box .outer__information .more__info .list__content .elem>ul {
        grid-template-columns: 1fr;
        grid-row-gap: 8px
    }
}

.poi-map {
    display: flex
}

.poi-map>div {
    width: 50%
}

@media screen and (max-width: 924px) {
    .poi-map {
        flex-direction: column
    }

    .poi-map>div {
        width: 100%
    }
}

.poi-listings {
    z-index: 10
}

.poi-listings ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0
}

.poi-listings li {
    cursor: pointer;
    font-weight: 300;
    padding-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 5
}

.poi-listings li.active {
    color: #fff
}

.poi-listings li.active:after {
    width: calc(100% - 5px)
}

.poi-listings li:after {
    content: "";
    width: 0;
    height: calc(100% + 10px);
    background: #40493c;
    transition: .4s ease-in-out;
    transition-delay: .2s;
    position: absolute;
    top: -5px;
    left: 5px;
    z-index: -1
}

.poi-listings li:before {
    content: "";
    position: absolute;
    display: block;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background: #40493c;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: .4s ease-in-out
}

.map__wrapper {
    position: relative;
    min-height: 700px
}

.map__wrapper>* {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(max-width: 1440px) {
    .map__wrapper {
        height: 550px
    }
}

@media(max-width: 991px) {
    .map__wrapper {
        height: 400px
    }
}

@media(max-width: 640px) {
    .map__wrapper {
        height: 400px;
        max-height: 400px;
        min-height: 400px
    }
}