/* Custom Real Estate Styles for Kari Properti */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Navbar */
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary-color) !important;
}
.navbar-brand span {
    color: var(--primary-color);
}
.nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0 120px 0;
    color: white;
}
.hero-search-box {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: #cbd5e1;
}
.property-card-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-card-img img {
    transform: scale(1.05);
}
.property-badge-type {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.property-badge-status {
    position: absolute;
    top: 14px;
    right: 14px;
}
.property-price-tag {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}
.property-specs-icons {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.property-specs-icons span i {
    color: #94a3b8;
    margin-right: 4px;
}

/* Section Titles */
.section-title {
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Category Cards Themed Colors */
.category-card {
    background: white;
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px auto;
    transition: all 0.3s ease;
    color: white;
}

/* Category: Rumah */
.category-card.cat-rumah {
    background: linear-gradient(165deg, #ffffff 0%, #f0f7ff 100%);
    border-color: #dbeafe;
}
.category-card.cat-rumah::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}
.category-card.cat-rumah .category-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}
.category-card.cat-rumah:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15);
}

/* Category: Ruko & Komersial */
.category-card.cat-ruko {
    background: linear-gradient(165deg, #ffffff 0%, #fffbeb 100%);
    border-color: #fef3c7;
}
.category-card.cat-ruko::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}
.category-card.cat-ruko .category-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.25);
}
.category-card.cat-ruko:hover {
    transform: translateY(-6px);
    border-color: #f59e0b;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

/* Category: Tanah Kavling */
.category-card.cat-tanah {
    background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #d1fae5;
}
.category-card.cat-tanah::before {
    background: linear-gradient(90deg, #10b981, #059669);
}
.category-card.cat-tanah .category-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
}
.category-card.cat-tanah:hover {
    transform: translateY(-6px);
    border-color: #10b981;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
}

/* Category: Apartemen */
.category-card.cat-apartemen {
    background: linear-gradient(165deg, #ffffff 0%, #f5f3ff 100%);
    border-color: #ede9fe;
}
.category-card.cat-apartemen::before {
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}
.category-card.cat-apartemen .category-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.25);
}
.category-card.cat-apartemen:hover {
    transform: translateY(-6px);
    border-color: #8b5cf6;
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.15);
}

/* Category: Villa Mewah */
.category-card.cat-villa {
    background: linear-gradient(165deg, #ffffff 0%, #ecfeff 100%);
    border-color: #cffafe;
}
.category-card.cat-villa::before {
    background: linear-gradient(90deg, #06b6d4, #0284c7);
}
.category-card.cat-villa .category-icon {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.25);
}
.category-card.cat-villa:hover {
    transform: translateY(-6px);
    border-color: #06b6d4;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.15);
}


/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.floating-wa:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Detail Page Specifics */
.gallery-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
}
.gallery-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--primary-color);
    opacity: 0.9;
}
.spec-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.spec-box-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.spec-box-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.spec-box-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #cbd5e1;
    padding: 70px 0 30px 0;
}
footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}
footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
footer a:hover {
    color: white;
}
footer p, footer .text-light, footer .text-white-50 {
    color: #cbd5e1 !important;
}
footer .small.text-muted, footer .text-muted {
    color: #cbd5e1 !important;
}

