:root {
    --primary: #c5a059;
    /* Gold from logo */
    --primary-dark: #b38f4d;
    --secondary: #1e272e;
    /* Deep Charcoal/Navy for premium feel */
    --accent: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, rgba(197, 160, 89, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(197, 160, 89, 0.02) 0px, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a059' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.01em;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-cta {
    display: flex;
    gap: 15px;
}

.btn-small {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('image/Mutiara-Lake-BG.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.2s ease;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-hero {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: none;
    background: var(--primary);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.btn-hero:hover {
    transform: scale(1.05);
    background: var(--white);
    color: var(--primary);
}

/* Swiper Gallery */
.gallery-section {
    padding: 100px 0;
    background: #fbfbfb;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    margin-top: 40px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper Gallery Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* Highlights */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.highlight-card {
    background: #ffffff;
    padding: 34px 28px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.highlight-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 14px;
    border-radius: 18px;
}

.highlight-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2px;
    color: var(--secondary);
    line-height: 1.25;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Layouts */
.layouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.layout-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.layout-img-container {
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.layout-info {
    padding: 40px;
    border-top: 1px solid #eee;
}

.layout-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.layout-specs {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.layout-specs li {
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Connectivity */
.conn-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.conn-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Contact Form */
.booking-section {
    background: var(--secondary);
    padding: 120px 0;
}

.booking-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.booking-card h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.booking-card p {
    margin-bottom: 40px;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #edeff2;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group .error {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Developer Reputation */
.developer-section {
    padding: 100px 0;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.dev-card {
    background: var(--accent);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.dev-card h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
}

/* Detailed Connectivity */
.proximity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.proximity-item {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.proximity-item h5 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.proximity-item ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-light);
}

.location-map {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

/* Facilities Section */
.facilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.facility-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

footer {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    text-decoration: none !important;
    border: none !important;
    animation: bounce 2s infinite;
}

.floating-wa i {
    line-height: 1;
    display: block;
    margin-top: -2px;
}

/* Lightbox Styling */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

#lightbox.active {
    visibility: visible;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 2010;
}

.lightbox-btn:hover {
    background: var(--primary);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .lightbox-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('image/Mutiara-Lake-BG_NB-WAP.jpg');
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.22rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 22px;
    }

    .layouts-grid {
        grid-template-columns: 1fr;
    }

    .proximity-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .booking-card {
        padding: 40px 20px;
        border-radius: 24px;
        margin: 0 10px;
    }

    .booking-card h2 {
        font-size: 2rem;
    }

    nav {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-cta {
        display: flex;
        gap: 8px;
    }

    .btn-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Layout fix for connectivity on mobile */
    .section .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .swiper {
        height: 350px;
    }

    .developer-section {
        padding: 60px 0;
    }

    .dev-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .proximity-list {
        grid-template-columns: 1fr;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .facility-item {
        padding: 15px;
    }
}
