/* PREMIUM PUBLIC STYLES (Ultra Modern & Responsive) */

:root {
    --bg-dark: #09090b; /* Zinc 950 */
    --surface-dark: #18181b; /* Zinc 900 */
    --primary-glow: #3b82f6;
    --accent-glow: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}

body {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Typography Upgrades */
h1, h2, h3, .logo h2 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after, 
.nav-links a.active:not(.btn):after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 8% 4rem;
    position: relative;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease, transform 8s ease-out;
    transform: scale(1.1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    max-width: 750px;
    z-index: 10;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-badge-wrapper {
    margin-bottom: 2rem;
}

.premium-badge {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #38bdf8;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 3rem;
    left: 8%;
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #38bdf8;
    width: 48px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features */
.features-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.premium-glass {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.premium-glass:hover {
    transform: translateY(-10px);
    background: rgba(39, 39, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.glow-blue { background: rgba(56, 189, 248, 0.1); color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.2); }
.glow-purple { background: rgba(167, 139, 250, 0.1); color: #a78bfa; box-shadow: 0 0 20px rgba(167, 139, 250, 0.2); }
.glow-pink { background: rgba(244, 114, 182, 0.1); color: #f472b6; box-shadow: 0 0 20px rgba(244, 114, 182, 0.2); }

.premium-glass h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.premium-glass p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Property Catalog */
.public-content {
    padding: 2rem 5% 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: var(--surface-dark);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.property-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.property-card:hover .property-img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.status-Tersedia { color: #34d399; }
.status-Terjual { color: #f87171; }

.property-details {
    padding: 2rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.property-type {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.property-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 1.5rem;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.public-footer {
    background: #000;
    position: relative;
    padding: 6rem 5% 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.5) 0%, transparent 100%);
    box-shadow: 0 0 40px 10px rgba(56, 189, 248, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.footer-brand h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #38bdf8;
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-item svg {
    color: #38bdf8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #52525b;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Mobile Navbar */
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a.btn {
        width: 100%;
    }

    /* Hero */
    .hero {
        padding: 8rem 5% 4rem;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    
    .carousel-indicators {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Sections */
    .section-header h2 { font-size: 2.2rem; }
    .features-section, .public-content { padding: 4rem 5%; }
    .properties-grid { grid-template-columns: 1fr; }
    
    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .social-icons { justify-content: center; }
    .contact-item { justify-content: center; }
}
