/* communities */

.activities-showcase {
    margin: 5% 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
}

.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.empty-card {
    background: var(--light-blue-color);
    border: 1px solid var(--light-grey-color-2);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    text-align: center;
    color: var(--blue-color-2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.activity-section {
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    max-height: 655px;
}

/* Sticky stacking so next section appears over previous on scroll */
.stack-card {
    position: sticky;
    top: 0;
    z-index: var(--z, 1);
}

.stack-card + .stack-card {
    margin-top: -120px;
}

@media (max-width: 768px) {
    .stack-card + .stack-card {
        margin-top: -80px;
    }
}

.activity-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
}

.activity-section:hover {
    transform: translateY(-8px);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.activity-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.activity-content {
    padding: 1rem 1rem 0.5rem;
    position: relative;
    z-index: 2;
}

.content-inner {
    margin: 0 auto;
}

.title-section {
    margin-bottom: 1rem;
    text-align: center;
}

.activity-title {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(
        135deg,
        currentColor 0%,
        currentColor 80%,
        transparent 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

.title-decoration {
    display: flex;
    justify-content: center;
}

.underline-swoosh {
    width: min(150px, 60%);
    height: 20px;
    margin-left: 15%;
    margin-top: -2%;
}

.description-section {
    margin-bottom: 1.5rem;
}

.activity-description {
    font-family: var(--font-roboto);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
    opacity: 0.9;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    text-align: center;
}

.cta-button {
    font-family: var(--font-palmer-lake-print);
    padding: 3px 24px 10px 24px;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    border: none;
    border-radius: 22px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

.button-text {
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-button:hover .button-shine {
    left: 100%;
}

.activity-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: min(92%, 980px);
    height: 350px;
    overflow: hidden;
    margin-bottom: 12px;
}

@media (min-width: 1280px) {
    .image-container {
        height: 420px;
    }
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
}

/* .activity-section:hover .activity-image {
    transform: scale(1.08);
} */

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-section:hover .image-overlay {
    opacity: 1;
}

/* Responsive Design */
.activity-section + .activity-section {
    margin-top: -120px;
}

@media (max-width: 1200px) {
    .activity-title {
        font-size: 50px;
    }

    .underline-swoosh {
        width: min(100px, 58%);
        height: 24px;
    }

    .activity-description {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .activity-content {
        padding: 1.25rem 1rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .activity-section + .activity-section {
        margin-top: -80px;
    }

    .activities-showcase {
        padding: 0.75rem 0;
    }

    .container {
        padding: 0 0.5rem;
    }

    .activity-section {
        margin-bottom: 1.25rem;
    }

    .activity-content {
        padding: 1rem 0.75rem 0.25rem;
    }

    .activity-title {
        font-size: 50px;
    }

    .underline-swoosh {
        width: min(80px, 65%);
        height: 22px;
    }

    .activity-description {
        font-size: 15px;
    }

    .cta-button {
        padding: 0.6rem 1.3rem;
        font-size: 25px;
        border-radius: 20px;
    }

    .image-container {
        width: 96%;
        height: 520px;
    }
}

@media (max-width: 480px) {
    .activity-content {
        padding: 0.75rem 0.5rem 0.25rem;
    }

    .activity-title {
        font-size: 50px;
        letter-spacing: 1px;
    }

    .underline-swoosh {
        width: min(120px, 70%);
        height: 18px;
        margin-left:40%;
        margin-top:-2%;
    }

    .cta-button {
        padding: 0.55rem 1.05rem;
        font-size: 25px;
        letter-spacing: 0.96px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-section {
    animation: fadeInUp 0.6s ease-out;
}

.activity-section:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-section:nth-child(3) {
    animation-delay: 0.4s;
}

.activity-section:nth-child(4) {
    animation-delay: 0.6s;
}

.spa-heading {
    text-align: center;
    margin: 10px 0 8px;
}

.section-heading {
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
    text-transform: uppercase;
    color: var(--brown-color-3);
    margin: 0;
}



/* homespa */
.homespa-section {
    padding: 48px 0 24px;
    background: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.homespa-title {
    text-align: center;
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
    line-height: 96px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--brown-color-3);
    margin: 0 0 18px 0;
}

.homespa-panel {
    background: var(--s5);
    border-radius: 0;
}

.homespa-desc {
    font-family: var(--font-roboto);
    margin: 0 0 18px 0;
    text-align: center;
    color: var(--brown-color-3);
    font-size: 18px;
    line-height: 19.2px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.homespa-hero {
    background: var(--s5);
    border-radius: 16px;
    margin: 8px 0 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homespa-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homespa-cta {
    display: flex;
    gap: 14px;
    padding: 22px 0;
    justify-content: center;
}

.btn-pill {
    background: var(--white-color);
    color: var(--brown-color-3);
    border: none;
    border-radius: 999px;
    padding: 5px 28px;
    font-size: 35px;
    font-weight: 500;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 1px #dcdcdc inset;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-pill:last-child {
    background: var(--s5);
    color: var(--brown-color-3);
    border: 2px solid var(--white-color);
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .homespa-title {
        font-size: 67.2px;
        line-height: 67.2px;
    }


    .btn-pill {
        font-size: 16px;
        padding: 10px 24px;
    }
}

@media (max-width: 640px) {
    .homespa-title {
        font-size: 48px;
        line-height: 52.8px;
        letter-spacing: -0.01em;
    }



    .homespa-desc {
        font-size: 15px;
        line-height: 19.2px;
    }

    .homespa-cta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-pill {
        font-size: 24px;
        padding: 8px 20px;
        width: max-content;
        text-align: center;
    }
}
/* philosophy */

.philosophy-section-spa {
    padding: 20px;
    background: var(--white-color);
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-heading {
    text-align: center;
    font-weight: 800;
    font-style: italic;
    color: var(--black-color-2);
    margin: 0 0 1.25rem 0;
    font-size: 80px;
    text-transform: uppercase;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: var(--white-color);
}

.hero-left {
    background: var(--s4);
    padding: clamp(20px, 3.5vw, 28px);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.hero-right {
    aspect-ratio: 16 / 10;
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-title {
    font-weight: 800;
    color: var(--black-color-2);
    margin: 0 0 12px 0;
    font-size: 50px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    text-align: left;
}

.hero-text {
    font-family: var(--font-roboto);
    color: var(--black-color-2);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
    max-width: 520px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-align: left;
    line-height: 1.6;
}

/* Decorative pale circles matching the mock */
.bg-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: var(--s9);
}

.circle-1 {
    width: 140px;
    height: 140px;
    right: -8%;
    bottom: 27%;
    opacity: 0.9;
}

.circle-2 {
    width: 120px;
    height: 120px;
    right: 14%;
    bottom: 20%;
    opacity: 0.9;
}

.circle-3 {
    width: 150px;
    height: 150px;
    left: 53%;
    bottom: -18%;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: 2;
    }
    .hero-left {
        order: 1;
    }
}

/* spaslide */

.community-section {
    padding: 10px 0 40px;
    background: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.community-header {
    text-align: center;
    margin-bottom: 22px;
}

.community-title {
    font-size: 80px;
    font-weight: 800;
    color: var(--brown-color-3);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-style: italic;
    margin: 0 0 10px 0;
}

.community-passage {
    font-family: var(--font-roboto);
    font-weight: 300;
    font-size: 16px;
    max-width: 950px;
    margin: 0 auto 18px auto;
    line-height: 1.65;
    color: var(--brown-color-3);
}

/* Swiper sizing */

.community-swiper {
    width: 100%;
    padding: 4px 2px;
}

.community-item {
    background: var(--white-color);
    /* border: 2px solid #D9D9D9; */
    padding: 8px;
}

.community-image,
.community-placeholder {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.community-placeholder {
    background: var(--light-grey-color-2);
}

/* Empty state */
.empty-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.empty-box {
    background: var(--light-blue-color);
    border: 1px solid var(--light-grey-color-2);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    text-align: center;
    color: var(--blue-color-2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.empty-box h2 {
    margin: 0 0 0.5rem;
}

.empty-box p {
    margin: 0;
    opacity: 0.8;
}

.book-now-btn{
    text-decoration: none;
    color:#fff;
    font-family: var(--font-palmer-print);
    background: #332928;
    border: none;
    border-radius: 40px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 0px 30px 5px 30px;
    font-size: 40px;
    display: flex;
}

/* Pagination */
.community-pagination {
    position: static;
    margin: 16px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.community-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    margin: 0 5px;
}

.community-pagination .swiper-pagination-bullet-active {
    background: var(--blue-color-2);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .community-image,
    .community-placeholder {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .community-title {
        font-size: 50px;
        letter-spacing: 4px;
    }

    .community-passage {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .community-image,
    .community-placeholder {
        height: 200px;
    }

    .book-now-btn{
        padding: 0px 30px 5px 30px;
        font-size: 24px;
    }
}

/* topcontent */

.community-hero {
    width: 100%;
    border-radius: 8px;
}
.community-hero-img {
    width: 100%;
    object-fit: fill;
    display: block;
}

.spawellness_header {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--brown-color-3);
}

.wellness_title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    font-weight: 800;
    font-size: 80px;
    line-height: 88px;
    letter-spacing: -2%;
    color: var(--brown-color-3);
}

.wellness_underline {
    position: absolute;
    left: 85%;
    transform: translateX(-50%);
    bottom: 15px;
    height: 15px;
    width: 260px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.wellness_intro {
    font-family: var(--font-roboto);
    font-size: 20px;
    max-width: 1000px;
    margin: 6px auto 0;
    color: var(--grey-color);
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
}
.wellness_intro p {
    margin: 0 0 4px;
}

@media (max-width: 768px) {
    .philosophy-heading {
        font-size: 40px;
        display: none;
    }
    .wellness_title {
        font-size: 43px;
    }
    .wellness_underline {
        bottom: 27px;
        width: 115px;
    }
    .wellness_intro {
        font-size: 12px;
        max-width: 90%;
    }
    .spawellness_header {
        margin-top: 0;
    }
    .hero-title {
        font-size: 40px;
        text-align: center;
        margin: 10px;
    }
    .section-heading {
        font-size: 40px;
    }
}
