/* ==========================================================================
   GRIYA ASRI - WHERE COMFORT MEETS ELEGANCE
   Design System & Styling - Natural Green & Clean White Theme
   ========================================================================== */

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

:root {
    /* Color Palette - Natural Green & Clean White */
    --bg-primary: #ffffff;
    --bg-secondary: #f0fdf4;
    --bg-card: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #064e3b;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-dark: #0f172a;
    --text-light: #ffffff;
    --text-muted: #64748b;
    
    --gold-primary: #15803d;
    --gold-hover: #166534;
    --gold-light: #22c55e;
    --gold-accent: #15803d;
    --gold-glow: rgba(22, 163, 74, 0.2);
    --gold-gradient: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
    
    --green-primary: #15803d;
    --green-dark: #064e3b;
    --green-accent: #22c55e;
    
    --border-color: #e2e8f0;
    --border-light: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(22, 163, 74, 0.15);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -3px rgba(22, 163, 74, 0.1);
    --shadow-lg: 0 20px 30px -5px rgba(15, 23, 42, 0.08);
    --shadow-gold: 0 10px 25px -5px rgba(22, 163, 74, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gold {
    color: var(--green-primary) !important;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-serif {
    font-family: var(--font-heading);
}

/* Top Announcement Bar */
.top-bar {
    background: var(--gold-gradient);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Main Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.brand-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 2px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #15803d;
}

.brand-tagline {
    font-size: 0.65rem;
    color: #166534;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-primary);
}

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

.nav-ig-link {
    font-size: 1.25rem;
    color: #e1306c !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0 0.25rem;
}
.nav-ig-link::after {
    display: none !important;
}
.nav-ig-link:hover {
    transform: scale(1.2);
    color: #c13584 !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(22, 163, 74, 0.4);
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
}

.btn-outline {
    background: #ffffff;
    color: var(--green-primary);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.btn-outline:hover {
    background: #f0fdf4;
    border-color: var(--green-primary);
    color: var(--green-hover);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(6, 78, 59, 0.35) 100%),
                linear-gradient(0deg, rgba(6, 78, 59, 0.85) 0%, transparent 60%);
}

.slide-item .container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #f0fdf4;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 32px;
    border-radius: var(--radius-full);
    background: #ffffff;
}

.slider-arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.arrow-btn:hover {
    background: #ffffff;
    color: var(--green-primary);
    border-color: transparent;
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-bar {
    position: relative;
    z-index: 30;
    margin-top: -3rem;
}

.stats-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.section-description {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 1rem;
}

/* Property Cards Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-primary);
    box-shadow: var(--shadow-md);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .card-image {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.card-price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--green-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.specs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.spec-item {
    text-align: center;
}

.spec-icon {
    font-size: 1.1rem;
    color: var(--green-primary);
    margin-bottom: 0.25rem;
}

.spec-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.spec-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

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

.card-footer .btn {
    flex: 1;
}

/* Filter buttons */
.filter-btn {
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--green-primary);
    color: #ffffff;
    border-color: var(--green-primary);
}

/* ==========================================================================
   FACILITIES SECTION
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.facility-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.facility-card:hover {
    background: #f0fdf4;
    border-color: var(--green-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.facility-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.facility-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.facility-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   KPR MORTGAGE CALCULATOR
   ========================================================================== */
.kpr-section {
    background: #f0fdf4;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.kpr-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    box-shadow: var(--shadow-lg);
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group-kpr {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-kpr label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
}

.kpr-val-display {
    color: var(--green-primary);
    font-weight: 700;
}

.range-input {
    width: 100%;
    accent-color: var(--green-primary);
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    cursor: pointer;
}

.select-kpr, .input-kpr {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.kpr-result-card {
    background: #f0fdf4;
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kpr-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.result-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-primary);
    margin: 1rem 0;
}

.kpr-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.kpr-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.kpr-detail-row span:first-child {
    color: var(--text-secondary);
}

.kpr-detail-row span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   LOCATION & VISITING FORM
   ========================================================================== */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.booking-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.form-grid .full-width {
    grid-column: span 2;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--green-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Location distance list */
.location-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.location-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.location-info h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.location-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #064e3b;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    color: #dcfce7;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: #dcfce7;
}

.footer-links a:hover {
    color: #4ade80;
    padding-left: 0.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer .brand-text {
    color: #ffffff;
}

.footer .brand-tagline {
    color: #4ade80;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

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

/* ==========================================================================
   CMS ADMIN PANEL STYLING
   ========================================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.admin-sidebar {
    width: 260px;
    background: #064e3b;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.admin-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-nav {
    padding: 1.5rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.5rem;
    color: #dcfce7;
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left-color: #4ade80;
}

.admin-main {
    margin-left: 260px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-topbar h4 {
    color: var(--text-primary) !important;
}

.admin-topbar div {
    color: var(--text-primary);
}

.admin-content {
    padding: 2rem;
}

.admin-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.admin-card h2, .admin-card h3 {
    color: var(--text-primary) !important;
}

.admin-card label {
    color: var(--text-primary) !important;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: #f0fdf4;
    color: var(--green-primary);
    font-weight: 700;
}

.badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-ready { background: rgba(34, 197, 94, 0.15); color: #15803d; }
.badge-indent { background: rgba(234, 179, 8, 0.2); color: #854d0e; }
.badge-sold { background: rgba(239, 68, 68, 0.15); color: #b91c1c; }

/* Responsive Queries */
@media (max-width: 992px) {
    .kpr-box, .contact-section-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .mobile-toggle {
        display: block;
    }
    .admin-sidebar {
        width: 70px;
    }
    .admin-sidebar span {
        display: none;
    }
    .admin-main {
        margin-left: 70px;
    }
}

/* Custom "Rumah" Section Styling Matching Screenshot */
.btn-lihat-produk {
    background: #064e3b;
    color: #ffffff !important;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}
.btn-lihat-produk:hover {
    background: #15803d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
}

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

@media (max-width: 1100px) {
    .rumah-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .rumah-grid {
        grid-template-columns: 1fr;
    }
}

.rumah-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rumah-card:hover {
    transform: translateY(-6px);
}
.rumah-card:hover .rumah-image {
    transform: scale(1.05);
}

.rumah-image-wrap {
    width: 100%;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.rumah-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rumah-body {
    padding: 0 0.15rem;
}
.rumah-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #15803d;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    line-height: 1.25;
    font-family: var(--font-body);
}
.rumah-tagline {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
}
.rumah-location {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}
.rumah-location i {
    color: #475569;
}

/* Project Thumbnails Grid Styling */
.project-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) {
    .project-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .project-thumbnails-grid {
        grid-template-columns: 1fr;
    }
}

.project-thumb-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}
.project-thumb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.15);
    border-color: var(--green-primary);
}

.thumb-img-wrap {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.75rem;
    background: #f1f5f9;
}
.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-thumb-card:hover .thumb-img {
    transform: scale(1.06);
}

.thumb-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.thumb-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumb-loc {
    font-size: 0.78rem;
    color: var(--green-primary);
    font-weight: 600;
}

/* Facility Photo Cards Redesign */
.facility-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (max-width: 992px) {
    .facility-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .facility-photo-grid {
        grid-template-columns: 1fr;
    }
}

.facility-photo-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.facility-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.18);
    border-color: var(--green-primary);
}

.facility-photo-wrap {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}
.facility-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.facility-photo-card:hover .facility-photo-img {
    transform: scale(1.08);
}

.facility-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 10;
}

.facility-photo-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.facility-photo-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.facility-photo-title i {
    color: var(--green-primary);
}
.facility-photo-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Sales Team Section Styling */
.sales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (max-width: 992px) {
    .sales-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .sales-grid {
        grid-template-columns: 1fr;
    }
}

.sales-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sales-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.15);
    border-color: var(--green-primary);
}

.sales-avatar-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 1.25rem;
    padding: 4px;
    background: linear-gradient(135deg, var(--green-primary), var(--gold-accent));
}
.sales-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
}
.sales-status-online {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
}

.sales-tag {
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.6rem;
}
.sales-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.sales-role {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.sales-contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-top: auto;
}
.sales-phone-link {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #f8fafc;
    transition: background 0.2s ease;
}
.sales-phone-link:hover {
    background: #e2e8f0;
    color: var(--green-primary);
}
.btn-sales-wa {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.2rem;
    border-radius: 9999px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-sales-wa:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Mobile Navigation Drawer & Toggle Styling */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #15803d;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(21, 128, 61, 0.2);
    z-index: 1100;
}

@media (max-width: 992px) {
    .mobile-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        padding: 1.25rem 1.75rem !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
        border-bottom: 3px solid var(--green-primary) !important;
        gap: 1.1rem !important;
        align-items: flex-start !important;
        z-index: 1000 !important;
    }

    .nav-links.mobile-active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.05rem;
        width: 100%;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        color: var(--text-primary) !important;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* Comprehensive Mobile Responsiveness Enhancements (Smartphones 320px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3.5rem 0 !important;
    }

    /* Hero Banner & Slider */
    .hero-slider-section {
        min-height: 480px;
        height: 480px;
    }
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 0.92rem !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.75rem !important;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Stats Bar */
    .stats-card {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
    .stat-number {
        font-size: 1.4rem !important;
    }

    /* Section Divider Headings */
    .divider-title-wrap {
        gap: 0.6rem !important;
        margin-bottom: 2rem !important;
    }
    .divider-line {
        max-width: 50px !important;
    }
    .divider-heading {
        font-size: 0.95rem !important;
    }

    /* All 1-Column Mobile Grids */
    .project-cards-grid,
    .project-thumbnails-grid,
    .rumah-grid,
    .facility-photo-grid,
    .sales-grid,
    .property-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .project-img-box {
        height: 190px !important;
    }

    /* Page Hero Headers */
    .proj-title, .fac-title {
        font-size: 2rem !important;
    }
    .proj-hero, .fac-hero {
        padding: 7.5rem 0 3.5rem 0 !important;
    }

    /* KPR Calculator & Contact Form */
    .kpr-box, .contact-section-grid {
        grid-template-columns: 1fr !important;
    }
    .kpr-result-card, .booking-card {
        padding: 1.5rem !important;
    }

    /* Floating WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }
    .brand-tagline {
        font-size: 0.58rem;
    }
}
