:root {
    --primary: #8D6E63;
    --primary-light: #D7CCC8;
    --bg-cream: #F9F7F2;
    --text-dark: #4E342E;
    --text-light: #795548;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 4px 15px rgba(78, 52, 46, 0.08);
    --urgent-bg: #EFEBE9;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

.hidden {
    display: none !important;
}

.section {
    padding: 60px 0;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    /* Wider for "lebih pinggir" */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Slightly reduced gap */
    font-size: 1.4rem;
    /* Balanced size */
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: normal;
}

.logo img {
    height: 50px;
    /* Balanced logo size */
    width: auto;
}

.nav-menu {
    display: none;
    /* Hidden on mobile by default */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Removed old lang-btn styles to prevent conflict */

/* Language State Visuals */
body.lang-id .label-id {
    font-weight: 800;
    opacity: 1;
    text-decoration: underline;
}

body.lang-id .label-en {
    opacity: 0.6;
    font-weight: 400;
    text-decoration: none;
}

body.lang-en .label-en {
    font-weight: 800;
    opacity: 1;
    text-decoration: underline;
}

body.lang-en .label-id {
    opacity: 0.6;
    font-weight: 400;
    text-decoration: none;
}

/* Hero Section - Updated */
.hero {
    position: relative;
    min-height: 80vh;
    /* Reduced height slightly */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    /* Account for fixed header on mobile */
    padding-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(249, 247, 242, 0.95), rgba(215, 204, 200, 0.9)), url('assets/header_pattern.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Removed hero-img and overlay */

.hero-content {
    color: var(--text-dark);
    /* Changed to dark text */
    max-width: 900px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 2.2rem;
    /* Mobile Size */
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    color: var(--text-light);
}

.tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255, 255, 255, 0.6);
    /* Lighter tag bg */
    border: 1px solid var(--primary-light);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button {
    text-decoration: none;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 110, 99, 0.6);
}

/* Availability Banner */
.availability-banner {
    padding: 20px 0;
    /* Reduced padding */
    margin-top: -30px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.urgent-box {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid var(--primary-light);
    flex-direction: column;
    /* Mobile stack */
    text-align: center;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: #e53935;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

.urgent-text {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Features */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary-light);
    margin: 0 auto;
}

.sub-heading {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.2rem;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.mt-large {
    margin-top: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Compact Mobile: 2 cols */
    gap: 10px;
    /* Small gap */
}

.feature-card {
    background: var(--white);
    padding: 15px 10px;
    /* Compact padding */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
}

.feature-card i {
    font-size: 1.5rem;
    /* Smaller icons */
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card .icon-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card div span {
    font-size: 0.8rem;
    /* Smaller text */
    line-height: 1.2;
    display: block;
}

/* Pricing - Updated */
.bg-soft {
    background-color: #F1EBE6;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Reduced Gap for compactness */
    width: 100%;
    padding: 0 10px;
}

.pricing-card {
    background: var(--white);
    padding: 30px;
    /* Reduced Padding */
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 280px;
    /* Smaller min-width */
    max-width: 400px;
    /* Smaller max-width */
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    width: auto;
    /* Auto width */
}

.pricing-card h3 {
    font-size: 1.5rem;
    /* Smaller Font */
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    /* Smaller Font */
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Language Switch System */
body.lang-id .lang-en {
    display: none !important;
}

body.lang-en .lang-id {
    display: none !important;
}

body.lang-id .lang-id.hidden {
    display: inline !important;
}

body.lang-en .lang-en.hidden {
    display: inline !important;
}


.price .period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.price-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.price-features i {
    color: var(--primary);
}

/* Gallery - New */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    color: var(--primary);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 200px;
    /* Smaller mobile height */
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(78, 52, 46, 0.8);
    color: white;
    padding: 8px;
    font-size: 0.8rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    max-width: 80%;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Location - Updated */
.location-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-frame {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-light);
}

.landmarks-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.location-item:hover {
    transform: translateX(5px);
}

.location-icon {
    font-size: 1.2rem;
    color: var(--primary);
    background: var(--bg-cream);
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.place-details {
    display: flex;
    flex-direction: column;
}

.place-name {
    font-weight: 700;
    color: var(--text-dark);
}

.place-dist {
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Contact Section - New */
.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--primary-light);
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.large-btn {
    padding: 15px 30px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
}

.center {
    text-align: center;
}

.center-divider {
    margin: 0 auto;
}

/* Language Switch System - Visuals */
.lang-btn {
    background: var(--white);
    border: 1px solid var(--primary);
    padding: 2px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
    /* No gap, pill style */
    overflow: hidden;
}

.lang-btn span {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--primary);
}

.lang-btn:hover {
    background: var(--white);
    /* Override previous hover */
}

/* Active States */
body.lang-id .lang-btn .label-id {
    background: var(--primary);
    color: var(--white);
}

body.lang-en .lang-btn .label-en {
    background: var(--primary);
    color: var(--white);
}

/* Hide divider/old styles if any remain */
.divider {
    display: none;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--primary-light);
    padding: 30px 0;
    text-align: center;
    margin-bottom: 0;
    /* Removed whitespace */
}

/* Social Media Icons (Custom Palette) */
.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    color: var(--primary-light);
    /* Soft brown/gold */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Floating WhatsApp with Close */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

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

.whatsapp-float {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.wa-close {
    background: #fff;
    color: #444;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -10px;
    right: -5px;
    z-index: 1001;
}

.wa-close:hover {
    background: #eee;
}

/* Media Queries */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cols on desktop */
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card div span {
        font-size: 1rem;
    }

    .feature-card i {
        font-size: 2rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .urgent-box {
        flex-direction: row;
        text-align: left;
    }

    .location-container {
        flex-direction: row;
        align-items: center;
    }

    .map-frame {
        flex: 1;
        height: 400px;
    }

    .landmarks-content {
        flex: 1;
    }

    .contact-card {
        padding: 50px;
    }
}

@media (min-width: 1024px) {
    .header-content {
        max-width: 1200px;
        /* Standard width on large screens */
    }

    .pricing-card.featured {
        transform: scale(1.05);
    }

    /* Removed Hero left-align overrides to keep it centered as requested */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;

        /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        display: block;
        margin: 10px 0;
        text-align: center;
        width: 100%;
        padding: 10px;
    }

    /* Make logo slightly smaller on mobile to fit hamburger */
    .logo {
        font-size: 1.1rem;
    }
}