@import url('https://fonts.cdnfonts.com/css/tasa-explorer');

:root {
    --bg-color: #fff;
    --text-color: #787878;
    --text-white: #fff;
    --text-black: #080808;
    --accent-gold: #d4af37;
    --accent-gold-dim: #aa8c2c;
    --font-heading: 'Playfair', serif;
    --font-body: 'TASA Explorer', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    opacity: 0; /* For initial load animation */
    visibility: hidden;
}

body.loaded {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, #12224f 0%, #5067aa 45%, #9cb2e9 69.71%, #fff 100%); */
    background: linear-gradient(180deg, #C0EAFF -5.93%, #76CBF5 32.83%, #91D7F9 66.39%, #98D9F9 75.86%, #FFFFFF 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out;
}



.loader.hidden {
    transform: translateY(-100%);
}

/* Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 100;
    /* mix-blend-mode: difference; */
    /* opacity: 0; Removed for debugging/visibility fix */
    /* visibility: hidden; Removed for debugging/visibility fix */
}

nav {
    display: flex;
    justify-content: space-between; /* Distribute items left and right */
    align-items: center;
    position: relative;
    height: 60px;
}

.logo {
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    /* Keep logo centered absolutely */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Loader Logo */
.loader-logo {
    width: 200px;
    opacity: 0; /* Start hidden for animation */
}

.loader-logo img {
    width: 100%;
    height: auto;
}

/* Hamburger Menu */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 200;
    transition: transform 0.3s ease;
    /* Reset absolute positioning */
    position: relative; 
}

.menu-toggle img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* Light Theme for Header */
.fixed-header.light-theme .menu-toggle img {
    filter: invert(1) brightness(0); /* Turn white to black */
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Register CTA */
.nav-cta {
    font-family: var(--font-heading);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 19px;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    background-size: 200% 200%;
    border-radius: 1000px;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    20% {
        background-position: 100% 50%;
    }
    40% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 80, 49, 0.4);
}

/* Fullscreen Menu Overlay */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #121623;
    z-index: 150; /* Below toggle, above header bg */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    padding: 40px;
    /* Optional: backdrop blur for luxury feel */
    backdrop-filter: blur(10px);
}

.menu-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.menu-links li a {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s, transform 0.3s;
    transform: translateY(100%); /* Hidden initially for animation */
}

.menu-links li a:hover {
    color: var(--accent-gold);
    transform: translateY(0) scale(1.05);
}

.menu-close {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.menu-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
    transition: background 0.3s ease;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

.menu-close:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.menu-register {
    position: absolute;
    top: 26px;
    right: 32px;
}

.menu-secondary-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.menu-cta svg {
    flex-shrink: 0;
}

.menu-cta span {
    letter-spacing: 0.5px;
}

.menu-cta:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Intro Sequence */
.intro-sequence {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-bg-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('assets/images/hero-banner-with-sun-bg.jpg'); */
    background-image: url('assets/images/hero-banner3.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2; /* Behind canvas */
    opacity: 0;
}

.intro-logo-top-right {
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 10;
    width: 180px;
}

.intro-logo-top-right img {
    width: 100%;
    height: auto;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0; /* Hidden initially */
    visibility: hidden;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: var(--font-heading);
    font-size: 6rem; /* Larger for impact */
    font-weight: 400; /* Elegant, not too bold */
    line-height: 1.1;
    color: #fff;
    margin-bottom: 30px;
}

.lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: 710px;
    margin: 0 auto 48px; /* Center align */
}

.hero-content  h1 {
    max-width: 860px;
    font-size: 120px;
    text-transform: uppercase;
    line-height: 0.84;
}

.hero-content p.reveal-text {
    font-family: var(--font-heading);
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 35px;
}

/* Content Sections */
.content-section {
    padding: 100px 50px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2; /* Above canvas */
}

.dark-bg {
    background-color: #050505;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.container.reverse {
    flex-direction: row-reverse;
}

.container.center-content {
    flex-direction: column;
    text-align: center;
}

.text-block {
    width: 45%;
}

.image-block {
    width: 50%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.placeholder-box {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border: 1px solid var(--accent-gold-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    transition: transform 0.5s ease;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 60px;
    color: var(--text-black);
    margin-bottom: 20px;
}

.facilities-list li {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Lifestyle Grid */
.lifestyle-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.lifestyle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px; /* Fixed width for alignment */
}

.lifestyle-item img {
    height: auto;
    margin-bottom: 7px;
}

.lifestyle-item p {
    font-size: 16px;
    margin-top: auto;
}

/* Gallery */
.gallery-section {
    padding: 100px 50px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    height: 400px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

/* Contact */
.contact-section {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.contact-section .container {
    z-index: 3;
    position: relative;
}

.contact-hero {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.contact-hero img {
    max-width: 100%;
}

.contact-form {
    text-align: left;
}

.frame-wrapper {
    position: relative;
    width: 100%;
    padding-top: 486px;
}

.frame-wrapper .top-bar{
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFAEB 100%);
    height: 30px;
    width: 100%;
}

.frame-wrapper .left-bar{
    position: absolute;
    top: 30px;
    left: 0;
    background: linear-gradient(0deg, #FFFFFF 0%, #FFFAEB 100%);
    width: 30px;
    height: 456px;
}


.frame-wrapper .right-bar{
    position: absolute;
    top: 30px;
    right: 0;
    background: linear-gradient(0deg, #FFFFFF 0%, #FFFAEB 100%);
    width: 30px;
    height: 456px;
}

.contact-form-wrapper {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFAEB 100%);
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 58px 97px 66px;
}

.contact-form-text {
    text-align: left;
    max-width: 421px;
}

.contact-form-text .section-title {
    font-weight: normal;
    line-height: 1;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    font-family: var(--font-body);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: #080808;
    border: 0;
    border-bottom: 1px solid #BFBFBF;
}

input::placeholder {
    font-size: 17px;
    font-family: var(--font-heading);
    color: #616161;
}

input:focus {
    border-color: var(--accent-gold);
}

label {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    font-size: 15px;
    gap: 5px;
    position: relative;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 100%;
    border: 1px solid #BFBFBF;
    padding: 0;
    flex: 0 0 16px;
    margin-top: 1px;
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    background: url(assets/images/tick.png) top left no-repeat;
    width: 17px;
    height: 17px;
    background-size: 100%;
    opacity: 0;
    transition: opacity 0.15s ease;
}

input[type="checkbox"]:checked::after {
    opacity: 1;
}

button[type="submit"] {
    font-family: var(--font-heading);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 19px;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    background-size: 200% 200%;
    border-radius: 1000px;
    animation: gradient-shift 8s ease infinite;
    margin-top: 35px;
    cursor: pointer;
    min-width: 96px;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #000;
    padding: 15px 40px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn-gold:hover {
    background-color: #fff;
}

.btn-glass {
    display: inline-block;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 13px 22px;
    position: relative;
    overflow: hidden;
}

/* Shimmer Effect */
.btn-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glass:hover::before {
    left: 150%;
    transition: 0.7s;
}

footer {
    padding: 60px 20px 0;
    position: relative;
    z-index: 2;
    color: var(--text-black);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top {
    display: flex;
    gap: 40px;
    align-items: start;
    justify-content: space-between;
}

.footer-address {
    flex: 0 0 270px;
}

.footer-address h4 {
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;    
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-address p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-operation-hours {
    display: flex;
    margin-top: 20px;
}

.footer-operation-hours p {
    flex: 0 0 80px;
}

.footer-operation-hours p:last-child {
    border-left: 1px solid #CDCDCD;
    margin-left: 20px;
    padding-left: 20px;
    flex: 0 0 110px;
}

.footer-menus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 70px;
}

.footer-menu-column a {
    display: block;
    padding: 14px 0;
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-menu-column a:hover {
    color: var(--accent-gold);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #CDCDCD;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.brand-logo img {
    width: 226px;
}

.brand-separator {
    width: 1px;
    height: 111px;
    background: #CDCDCD
}

.brand-partner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partner-heading {
    font-size: 16px;
    color: #9E9E9E;
    margin: 0;
    margin-bottom: 10px;
}

.brand-partner img {
    width: 173px;
}

.footer-legal p {
    margin: 0;
    color: #9E9E9E;
    margin-bottom: 25px;
}

#hero-sunlight {
    position: absolute;
    top: -4%;
    right: 8%;
}

#hero-cloud-topright {
    position: absolute;
    top: 22%;
    right: 2%;
    width: 269px;
    height: 143px;
    background-image: url('assets/images/cloud-topright.png');
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    z-index: -1;
    opacity: 0;
}

#hero-cloud-bottomleft {
    position: absolute;
    bottom: 32%;
    left: 10%;
    width: 405px;
    height: 192px;
    background-image: url('assets/images/cloud-bottomleft.png');
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    z-index: -1;
    opacity: 0;
}

#hero-cloud-bottom {
    position: absolute;
    bottom: -28%;
    left: -10%;
    width: 3744px;
    height: 659px;
    background-image: url('assets/images/cloud-bottom.png');
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    z-index: -1;
    opacity: 0;
}

#hero-hummingbird {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Above background, below text */
    pointer-events: none; /* Let clicks pass through */
    opacity: 0; /* Hidden initially */
    visibility: hidden;
}

/* WhatsApp CTA */
.whatsapp-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
    opacity: 0; /* Hidden initially */
    visibility: hidden;
}

.whatsapp-cta:hover {
    transform: scale(1.1);
}

.whatsapp-cta img {
    width: 60px;
    height: 61px;
    z-index: 2;
    display: block;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.5), inset 0 0 10px rgba(135, 206, 235, 0.2); /* Sky glow */
    border-radius: 100%;
}

.whatsapp-cta.light-theme img {
    filter: brightness(0) invert(1); /* Invert to black/dark */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 0.5px solid #25D366; /* WhatsApp Green */
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: pulse-ring-anim 3s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.pulse-ring.delay-0 {
    animation-delay: 0s;
}

.pulse-ring.delay-1 {
    animation-delay: 1s;
}

.pulse-ring.delay-2 {
    animation-delay: 2s;
}

#sticky-ctas {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
    padding: 29px 12px 2px 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-right: 0;
    box-shadow: 0 0 15px rgba(10, 174, 241, 0.15);
    opacity: 0;
    visibility: hidden;
}

#sticky-ctas a {
    margin-bottom: 19px;
    position: relative;
}

#sticky-ctas a + a {
    margin-top: 23px;
}

#sticky-ctas a::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

#sticky-ctas a:last-child::after {
    display: none;
}

#sticky-ctas a.cta-sound {
    transition: opacity 0.3s ease;
}

#sticky-ctas a.cta-sound.muted {
    opacity: 0.5;
}

@keyframes pulse-ring-anim {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Music Wave Indicator */
.music-wave-indicator {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.music-wave-indicator.playing {
    opacity: 1;
}

.music-wave-indicator .bar {
    width: 4px;
    height: 10px;
    background-color: #fff;
    border-radius: 2px;
    animation: wave-anim 1s ease-in-out infinite;
}

.music-wave-indicator.light-theme .bar {
    background-color: #000;
}

.music-wave-indicator .bar:nth-child(1) { animation-delay: 0.0s; }
.music-wave-indicator .bar:nth-child(2) { animation-delay: 0.2s; }
.music-wave-indicator .bar:nth-child(3) { animation-delay: 0.4s; }
.music-wave-indicator .bar:nth-child(4) { animation-delay: 0.6s; }
.music-wave-indicator .bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes wave-anim {
    0%, 100% { height: 10px; }
    50% { height: 25px; }
}

/* Responsive */
@media (max-width: 768px) {
    .container, .container.reverse {
        flex-direction: column;
    }
    .text-block, .image-block {
        width: 100%;
    }
    .image-block {
        height: 400px;
        margin-top: 30px;
    }
    h1 {
        font-size: 3rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Simple hide for now, would need JS for toggle */
    }
    .menu-toggle {
        display: block;
    }

    .fullscreen-menu {
        padding: 30px 20px;
    }

    .menu-links li a {
        font-size: 2.2rem;
    }

    .menu-secondary-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-register {
        top: 22px;
        right: 20px;
    }

    .menu-close {
        top: 22px;
        left: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-menus {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        gap: 20px;
    }

    .brand-separator {
        display: none;
    }
}

@media (max-width: 520px) {
    .footer-menus {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-branding {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Light Theme Overrides (for About Section) */
/* Light Theme Overrides (Component Specific) */
#sticky-ctas {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
}

#sticky-ctas.light-theme {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#sticky-ctas a svg path{
    transition: all 0.3s ease;
}

#sticky-ctas.light-theme a svg path {
    stroke: #000;
}

#sticky-ctas.light-theme a.cta-waze svg path {
    stroke: none;
    fill: #000;
}

#sticky-ctas a::after {
    transition: background-color 0.3s ease;
}

#sticky-ctas.light-theme a::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.whatsapp-cta img {
    transition: filter 0.3s ease;
}

.whatsapp-cta.light-theme img {
    filter: invert(1);
}

.pulse-ring {
    transition: border-color 0.3s ease;
}

.whatsapp-cta.light-theme .pulse-ring {
    border-color: #000;
}

/* Developer Section */
.developer-section {
    position: relative;
    z-index: 5; /* Higher than About section for stacking effect */
    overflow: hidden; /* Hide overflow during expansion */
    margin-top: -100vh; /* Pull up to overlap the pinned About section */
    min-height: 100vh; /* Ensure full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.developer-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    max-width: none;
    margin: 0;
    background: linear-gradient(136deg, #d09c7d 0.73%, #835031 49.04%, #d09c7d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%; /* Initial rounded corners */
}

.developer-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    margin: 0;
    max-width: 537px;
    scale: 0.5;
    opacity: 0; /* Hidden initially */
    transform: scale(0.8); /* Scaled down initially */
}

.developer-icons-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    opacity: 0; /* Hidden initially */
    visibility: hidden;
    position: absolute; /* Absolute to overlay or appear after */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.dev-icon {
    width: 350px;
    height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 55px;
}

.dev-icon + .dev-icon {
    margin-left: -117px;
}

.dev-icon .dev-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dev-icon .icon {
    margin-bottom: 7px;
}

.dev-icon p {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    text-align: left;
}

.dev-icon.main {
    justify-content: center;
    align-items: center;
    padding-left: 0;
}

.dev-icon.main p {
    text-align: center;
}

/* facilities Section */
.facilities-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* Background Layer */
.facilities-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.amenity-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* transition: opacity 1s ease; */ /* Fallback */
}

.amenity-bg.active {
    opacity: 1;
}

/* UI Layer */
.facilities-ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Allow clicks to pass through to underlying if needed */
}

/* Section Header (Top Left - Slide 1) */
.section-header {
    position: absolute;
    top: 100px;
    left: 100px;
    max-width: 600px;
    pointer-events: auto;
    opacity: 1; /* Controlled by GSAP */
}

.facilities-title {
    font-family: 'Playfair', serif;
    font-size: 60px;
    font-weight: normal;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.facilities-subtitle {
    font-size: 16px;
    line-height: 1.3;
    max-width: 500px;
    color: #fff;
}

/* Persistent Content (Bottom Left - Slide 2+) */
.persistent-content {
    position: absolute;
    bottom: 100px;
    left: 100px;
    max-width: 500px;
    pointer-events: auto;
    opacity: 0; /* Hidden initially, controlled by GSAP */
    visibility: hidden;
}

.persistent-text {
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Info Boxes Container (Bottom Right) */
.info-boxes-container {
    position: absolute;
    bottom: 50px;
    right: 150px;
    width: 400px;
    min-height: 420px;
    pointer-events: none; /* Allow clicks through the container area */
}

/* Individual Info Box */
.info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.08);
    background-blend-mode: plus-lighter;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 0.5px solid #fff;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    /* Opacity and Transform controlled by GSAP */
}

.box-header {
    width: 100%;
    padding: 10px 20px;
    border-bottom: 0.5px solid #fff;
    box-sizing: border-box;
}

.slide-number {
    font-family: var(--font-heading);
    font-size: 30px;
    color: #fff;
}

.box-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    box-sizing: border-box;
}

.facility-name {
    font-family: var(--font-heading);
    font-size: 30px;
    color: #fff;
    font-weight: normal;
}

.facility-desc {
    font-size: 16px;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .section-header, .persistent-content {
        left: 50px;
    }
    .info-box-container {
        right: 50px;
    }
}

@media (max-width: 900px) {
    .section-header {
        top: 80px;
        left: 30px;
        right: 30px;
        max-width: none;
    }
    .facilities-title {
        font-size: 3rem;
    }
    .persistent-content {
        bottom: auto;
        top: 100px; /* Move to top on smaller screens? Or keep bottom but adjust */
        left: 30px;
        right: 30px;
        max-width: none;
    }
    .info-box-container {
        width: auto;
        left: 30px;
        right: 30px;
        bottom: 30px;
        min-height: 300px; /* Reduce height on mobile */
    }
    .info-box-wrapper {
        min-height: 300px;
    }
}

/* Amenities Section */
.amenities-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.amenities-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.layer-1 {
    z-index: 3;
    background-color: #121623;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.layer-1-content {
    max-width: 1190px;
    color: #fff;
}

.amenities-main-title {
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 900;
    margin-bottom: 42px;
    line-height: 80px;
    text-align: left;
    
    /* Knockout Text Effect */
    background-image: url('assets/images/public-transport.jpg');
    background-size: 238%;
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.amenities-main-subtitle {
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    max-width: 850px;
}

.layer-2 {
    z-index: 2;
}

.layer-3 {
    z-index: 1;
}

.amenities-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 147px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.amenities-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amenities-layer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #D4AF37;
}

.amenities-details {
    display: flex;
    gap: 2rem;
}

.amenity-item {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.amenity-name {
    font-weight: 700;
    margin-right: 0.5rem;
}

.amenity-dist {
    opacity: 0.8;
}

.layer-controls {
    display: flex;
    gap: 1rem;
}

.btn-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-toggle:hover, .btn-toggle.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.iconic-tower {
    position: absolute;
    bottom: -8%;
    right: 13%;
}

/* Amenities Layer 2 Specifics */
.amenities-bg-image {
    width: 100%;
    height: calc(100% - 147px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.amenities-bottom-content.white-theme {
    background: #fff;
    color: #000;
    backdrop-filter: none;
}

.amenities-bottom-content.white-theme .amenities-layer-title {
    color: #D4AF37;
}

.amenities-bottom-content.white-theme .btn-toggle {
    border-color: #000;
    color: #000;
}

.amenities-bottom-content.white-theme .btn-toggle:hover,
.amenities-bottom-content.white-theme .btn-toggle.active {
    background: #000;
    color: #fff;
}

/* MRT Train Wrapper (Outside, sticks to top of white section) */
.mrt-train-wrapper {
    position: absolute;
    bottom: 132px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 1920px;
    height: 225px;
    /* z-index: 10; */
    pointer-events: none;
}

.mrt-train {
    position: absolute;
    width: 1920px;
    height: 225px;
    left: 27.27%; /* Start at Raja Uda (station 3 out of 10) */
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: left 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    pointer-events: auto;
}

.mrt-train:active {
    cursor: grabbing;
}

/* MRT Progress Bar (Inside white section) */
.mrt-progress-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.mrt-track {
    position: relative;
    width: 100%;
}

/* Track line background - full width */
.mrt-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #7592D3;
    z-index: 0;
}

.mrt-track::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 4px;
    background-color: #D09C7D;
    z-index: 0;
}

.mrt-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 39%; /* Progress to Raja Uda (station 3) */
    height: 4px;
    background: linear-gradient(90deg, #D09C7D 0%, #835031 100%);
    transition: width 0.3s ease;
    z-index: 1;
}

.mrt-stations {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.mrt-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.station-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7592D3;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    margin-top: -2px; /* Move up so 1px extends above the white section */
}

.mrt-station.active .station-dot {
    background: linear-gradient(42.34deg, #D09C7D 14.97%, #835031 48.15%, #D09C7D 81.32%);
    width: 8px;
    height: 8px;
}

.mrt-station.passed .station-dot {
    background: #8D5A3B;
}

.station-name {
    font-size: 16px;
    color: #080808;
    text-align: center;
}

.mrt-station.active .station-name {
    color: #000;
}

/* Station Transit Line Icons */
.station-lines {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.station-lines img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

/* Station Logo (for KL360 at Raja Uda) */
.station-logo {
    margin-top: -13px;
}

.station-logo img {
    width: 95px;
    height: auto;
    object-fit: contain;
}

/* Track line background */
.mrt-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #7592D3;
    z-index: 0;
}

/* Infrastructure Section - Accordion */
.infrastructure-section {
    position: absolute;
    bottom: 0;
    left: 10%;
}

.infrastructure-toggle {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    padding: 9px 33px 5px 16px;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 0;
    color: #fff;
    position: relative;
    font-family: var(--font-heading);
}

.infrastructure-toggle svg {
    display: block;
    position: absolute;
    top: 15px;
    right: 12px;
    transition: transform 0.3s ease;
}

.infrastructure-section.open .infrastructure-toggle svg {
    transform: rotate(180deg);
}

.infrastructure-section.open .toggle-arrow {
    transform: rotate(180deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.infrastructure-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.infrastructure-section.open .infrastructure-content {
    max-height: 200px;
}

.infrastructure-lines {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.infrastructure-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 20px 0;
    background: transparent;
}

.infrastructure-item + .infrastructure-item {
    margin-left: 30px;
}

.infrastructure-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.infrastructure-item span {
    font-size: 16px;
    color: #000;
    white-space: nowrap;
}

.amenities-layer-3-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.kl360-model {
    position: absolute;
    top: 15%;
    left: 6%;
}

.kl360-model img {
    width: 61%;
}

.distance-bullet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #121623;
    transition: all .2s ease;
    cursor: pointer;
    user-select: none;
}

.distance-bullet .text {
    line-height: 0.9;
    color: #fff;
    font-size: 45px;
    font-family: var(--font-heading);
    position: absolute;
    top: -3px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.distance-bullet span {
    font-size: 16px;
}

.distance-1{
    top: 39%;
    left: 35.5%;
}

.distance-2{
    top: 58%;
    left: 39%;
}

.distance-3{
    top: 15%;
    left: 42%;
}

.distance-4 {
    top: 87%;
    left: 34.5%;
}

.distance-bullet.active {
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
}

.distance-bullet::before {
    content: "";
    background: url(assets/images/shining.png) top left no-repeat;
    width: 272px;
    height: 243px;
    background-size: 100%;
    position: absolute;
    top: -77px;
    left: -106px;
    z-index: -1;
    mix-blend-mode: screen;
    opacity: 0;
}

.distance-bullet.active::before {
    opacity: 1;
}

.distance-bullet .content {
    position: absolute;
    display: flex;
    top: 17%;
    left: 647%;
    opacity: 0;
}

.distance-bullet.active .content {
    opacity: 1;
}

.distance-bullet .content .title {
    display: flex;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 382px;
    font-family: var(--font-heading);
    align-items: flex-start;
    line-height: 116px;
}

.distance-bullet .content .title span {
    font-size: 31px;
    line-height: 1;
    margin-left: -26px;
}

.distance-bullet .content .desc {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    color: #080808;
    width: 500px;
    gap: 12px;
    margin-left: 15px;
}

.distance-bullet .content .line {
    display: block;
    width: 47%;
    height: 1px;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    position: absolute;
    top: 7%;
    left: -51%;
    z-index: -1;
    transform-origin: left center;
}

.distance-bullet .content .bullet {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background: linear-gradient(133.26deg, #D09C7D -1.3%, #835031 45.6%, #D09C7D 95.06%);
    position: absolute;
    top: 6.3%;
    left: -4%;
}

.distance-bullet.distance-3 .content {
    top: -3%;
}

.distance-bullet.distance-4 .content {
    top: -238%;
}

.distance-bullet.distance-4 .content .desc {
    margin-top: -78px;
}

.distance-bullet.distance-4 .content .line {
    top: 81%;
}

.distance-bullet.distance-4  .content .bullet {
    top: 80.2%
}

.distance-bullet.distance-2 .content .bullet {
    top: 6.2%;
}
