/* Minisite Premium CSS Reset & Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Base Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Default Theme Variables (Overridden dynamically in blade) */
    --header-bg: #ffffff;
    --nav-link-color: #045654;
    --nav-link-hover-color: #b45309;
    --nav-active-link-color: #045654;
    --nav-underline-color: #045654;
    --btn-bg: #045654;
    --btn-text-color: #ffffff;

    /* Fixed UI Colors */
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #ffffff;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    
    /* System Colors depending on category */
    --plum-dark: #045654;
    --yellow-soft: #fcf38a;
    --yellow-bg: #fdfce8;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation & Header Structure --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

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

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 48px; /* Standard premium logo height */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--nav-link-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nav-underline-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--nav-underline-color);
}

.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone-wa {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--nav-link-color);
    transition: color 0.3s ease;
}

.header-phone-wa:hover {
    color: #22c55e;
}

.header-phone-wa svg {
    transition: transform 0.3s ease;
}

.header-phone-wa:hover svg {
    transform: scale(1.1);
}

.header-cta-top {
    background: var(--nav-link-color);
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.header-cta-top:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hamburger toggle for mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s ease;
}

/* --- Hero Banner & Lead Form Integrated --- */
/* --- Hero Banner (Standalone Full Poster / Slideshow) --- */
.hero {
    padding: 80px 0 0 0; /* Align directly under fixed header */
    background: #ffffff;
    width: 100%;
}

.hero-poster-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slides {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    width: 100%;
}

.hero-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

.hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Slideshow Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.75);
    color: var(--plum-dark);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-poster-wrapper:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn:hover {
    background: var(--plum-dark);
    color: #ffffff;
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
}

/* Hero Dots Indicators */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 14px;
    border-radius: 20px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 5px;
}

.hero-poster-placeholder {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--plum-dark);
}

/* --- Promo & Lead Section (Dark background below Hero) --- */
.promo-lead-section {
    padding: 80px 0;
}

.promo-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promo-lead-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
}

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-info-box {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.promo-badges-center {
    display: flex;
    gap: 2rem;
}

.promo-badge-large {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
}

.promo-badge-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.promo-badge-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.promo-extra-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
}

.promo-extra-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.promo-extra-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.promo-extra-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.promo-extra-list li span {
    color: #ffffff;
    font-weight: 800;
}

/* Embedded Lead Form Card style */
.hero-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 480px;
    animation: fadeIn 1.2s ease-out;
}

.hero-form-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: center;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--btn-bg);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.form-button {
    width: 100%;
    background: var(--btn-bg);
    color: var(--btn-text-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-button:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.form-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.4;
}

/* --- Access Section (Yellow Background Grid) --- */
.access-section {
    padding: 60px 0;
    border-top: 1px solid rgba(234, 179, 8, 0.1);
    border-bottom: 1px solid rgba(234, 179, 8, 0.1);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.access-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: center;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.access-card:hover {
    transform: translateY(-4px);
}

.access-icon-box {
    width: 64px;
    height: 64px;
    background: var(--plum-dark);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.access-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--plum-dark);
    line-height: 1.4;
}

/* --- Tipe Unit Section (Plum Background) --- */
.units-section {
    padding: 90px 0;
}

.units-section .container {
    max-width: 1400px;
}

.units-header {
    text-align: center;
    margin-bottom: 4rem;
}

.units-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.units-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.unit-card {
    background: #ffffff;
    color: var(--text-main);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic Interactive Image Slideshow for Facade & Floorplan */
.unit-image-container {
    position: relative;
    aspect-ratio: 1/1; /* Square ratio matching mockup Akeno */
    overflow: hidden;
}

.unit-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.unit-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.unit-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.unit-slide:hover img {
    transform: scale(1.04);
}

.unit-slide-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(79, 38, 56, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Slideshow Navigation Buttons */
.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--plum-dark);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.unit-image-container:hover .slide-nav-btn {
    opacity: 1;
}

.slide-nav-btn:hover {
    background: var(--plum-dark);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.slide-nav-btn.prev {
    left: 12px;
}

.slide-nav-btn.next {
    right: 12px;
}

/* Dots Indicators */
.slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 10px;
    border-radius: 20px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 4px;
}

.unit-info-box {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unit-title-row {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.unit-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--plum-dark);
}

.unit-card-cluster {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unit-sizes-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    text-align: center;
}

.unit-size-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.15rem;
}

.unit-size-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--plum-dark);
}

/* Detailed specifications grid inside the card */
.unit-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.unit-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.unit-detail-icon {
    width: 28px;
    height: 28px;
    background: rgba(79, 38, 56, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-dark);
}

.unit-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.unit-price-box {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.unit-price-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.unit-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--plum-dark);
    white-space: nowrap;
}

/* --- Facilities Section (Original Aspect Ratio Slideshow) --- */
.facilities-section {
    padding: 80px 0;
}

.facilities-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.facilities-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--plum-dark);
}

.facility-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.facility-track-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.facility-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

.facility-carousel-card {
    flex: 0 0 calc((100% - 3rem) / 3); /* exactly 3 cards on desktop */
    min-width: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facility-carousel-img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* matches what user uploaded in strapi, no cropping */
    border-radius: 12px;
}

.facility-carousel-caption {
    margin-top: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--plum-dark);
    text-align: center;
}

/* Facility Navigation Buttons */
.facility-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--plum-dark);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.facility-nav-btn:hover {
    background: var(--plum-dark);
    color: #ffffff;
}

.facility-nav-btn.prev {
    left: -22px;
}

.facility-nav-btn.next {
    right: -22px;
}

/* Carousel Media Queries */
@media (max-width: 1040px) {
    .facility-nav-btn.prev { left: 10px; }
    .facility-nav-btn.next { right: 10px; }
}

@media (max-width: 960px) {
    .facility-carousel-card {
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 cards on tablet */
    }
    .facility-img-box {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .facility-carousel-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .facility-img-box {
        height: 180px;
    }
}

/* --- Map/Marketing Office Section --- */
.map-section {
    position: relative;
    padding: 0;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    height: 450px;
}

.map-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.map-info-desc {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.map-btn {
    align-self: flex-start;
    background: var(--plum-dark);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-btn:hover {
    opacity: 0.9;
}

.map-iframe-container {
    width: 100%;
    height: 100%;
    filter: grayscale(80%) invert(90%) contrast(90%);
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Floating Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chat-bubble {
    width: 56px;
    height: 56px;
    background: var(--plum-dark);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(79, 38, 56, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble:hover {
    transform: scale(1.08);
}

.chat-bubble svg {
    color: #ffffff;
}

/* Chat window drawer styling */
.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--plum-dark);
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.chat-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.chat-body {
    padding: 1.25rem;
    height: 250px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
}

.chat-message.bot {
    background: #ffffff;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.chat-message.user {
    background: var(--plum-dark);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--plum-dark);
}

.chat-send-btn {
    background: var(--plum-dark);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    padding-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.branding-col .footer-logo-img {
    filter: brightness(0) invert(1); /* Converts logo to white */
    height: 48px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    text-align: justify;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    text-transform: none;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.hours-col .hours-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.hours-col .hours-text.highlight {
    font-weight: 700;
    color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #ffffff;
    color: var(--plum-dark);
    border-color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- Animations --- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .hero-grid, .map-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        align-items: center;
    }
    
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-info {
        padding: 3rem 1.5rem;
        text-align: center;
    }
    
    .map-btn {
        align-self: center;
    }
    
    .map-iframe-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-cta-top {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px; /* adjusted for new header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .access-grid, .units-grid, .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-phone-wa span {
        display: none;
    }
}

/* --- Optimized Mobile & Tablet Responsive Styles --- */
@media (max-width: 768px) {
    /* Centering Section Headers and Titles */
    .units-header {
        text-align: center !important;
        margin-bottom: 2.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .units-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    .section-tag {
        display: inline-block !important;
        text-align: center !important;
        margin: 0 auto 0.5rem !important;
    }

    /* Formulir & Promo Grid Section */
    .promo-lead-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center !important;
    }
    
    .promo-lead-section {
        padding: 60px 0 !important;
    }
    
    .promo-info-box {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero-form-card {
        margin: 0 auto !important;
        padding: 1.75rem 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    }

    .hero-form-card h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }

    .hero-form-card .form-label {
        text-align: left !important;
    }

    /* Access Section Cards */
    .access-card {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem 0 !important;
    }

    .access-icon-box {
        margin: 0 auto 0.75rem !important;
    }

    .access-text {
        font-size: 0.85rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Tipe Hunian Card & Grid Specs */
    .unit-sizes-row {
        grid-template-columns: 1fr 1fr !important;
        padding: 0.5rem !important;
        margin-bottom: 1.25rem !important;
    }

    .unit-size-val {
        font-size: 0.85rem !important;
    }

    .unit-details-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    .unit-detail-item {
        font-size: 0.75rem !important;
        gap: 0.35rem !important;
        justify-content: flex-start !important;
    }

    .unit-detail-icon {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }

    .unit-detail-icon svg {
        width: 12px !important;
        height: 12px !important;
    }
}
