/* ==================== VARIABLES ==================== */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #c9a227;
    --secondary-hover: #b89220;
    --accent: #16a34a;
    --danger: #dc2626;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    padding-top: 80px;
    padding-bottom: 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ==================== UTILITY CLASSES ==================== */
.text-gold { color: var(--secondary) !important; }
.text-primary { color: var(--primary) !important; }
.bg-gold { background-color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }

.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }

/* ==================== BUTTONS ==================== */
.btn-gold {
    background: linear-gradient(135deg, var(--secondary) 0%, #b89220 100%);
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b89220 0%, #a38118 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.4);
}

/* ==================== NAVBAR ==================== */
#mainNavbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mainNavbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(15, 23, 42, 0.98);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.logo-primary { color: white; font-weight: 700; }
.logo-secondary { color: var(--secondary); font-weight: 400; }
.logo-icon { color: var(--secondary); font-size: 1.8rem; }

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 10px 18px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 250px;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--secondary);
    border-left-color: var(--secondary);
    padding-left: 25px;
}

.dropdown-item i { width: 20px; }
.dropdown-item .badge { font-size: 0.65rem; }
.dropdown-divider { margin: 8px 0; border-color: var(--gray-light); }

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus { box-shadow: none; }

/* Contact Phone Button */
.btn-contact-phone {
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-contact-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider { position: relative; height: 100%; }

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-control-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-control-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.hero-indicators { display: flex; gap: 10px; }

.hero-indicator {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== SEARCH SECTION ==================== */
.search-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 3rem;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
}

.form-label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-select, .form-control {
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 500;
    color: var(--dark);
}

.form-select:focus, .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

/* ==================== SECTION HEADERS ==================== */
.section-header { margin-bottom: 3rem; }

.section-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.feature-icon-wrapper {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, #b89220 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-text { color: var(--gray); }

/* ==================== PROPERTY CARDS ==================== */
.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-light);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.property-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.property-badge.hot { background: var(--danger); color: white; }
.property-badge.promo { background: var(--accent); color: white; }
.property-badge.status { background: var(--primary); color: white; }

.property-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px; height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.property-favorite:hover {
    background: var(--danger);
    color: white;
}

.property-body { padding: 20px; }

.property-type-badge {
    display: inline-block;
    background: var(--gray-light);
    color: var(--gray);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.property-category {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.property-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--gray);
    flex: 0 0 calc(50% - 6px);
}

.spec-item i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 16px;
}

.property-price { margin-bottom: 15px; }

.price-normal {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 3px;
}

.price-promo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.price-normal-only {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.property-buttons {
    display: flex;
    gap: 10px;
}

.property-buttons .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px 15px;
}

/* ==================== CATEGORY TABS ==================== */
.category-tabs .nav-link {
    color: var(--primary) !important;
    background: white !important;
    border: 2px solid var(--gray-light) !important;
    margin: 0 5px;
    font-weight: 600;
    padding: 12px 25px !important;
}

.category-tabs .nav-link:hover {
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    background: white !important;
}

.category-tabs .nav-link.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.testimonial-info h5 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.testimonial-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    color: var(--secondary);
    margin-bottom: 15px;
}

.testimonial-content {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
}

/* ==================== ARTICLES ==================== */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

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

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

.article-body { padding: 25px; }

.article-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
    font-size: 0.85rem;
    color: var(--gray);
}

/* ==================== CTA SECTION ==================== */
.cta-section { background: var(--primary); }

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--dark);
    color: white;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
}

.footer-brand .logo-primary { color: white; }
.footer-brand .logo-secondary { color: var(--secondary); }

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links { padding: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary) !important;
    padding-left: 5px;
}

.footer-contact { padding: 0; }
.footer-contact li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.8) !important;
}

.footer-contact a:hover {
    color: var(--secondary) !important;
}

.footer-section .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.social-links { margin-top: 20px; }

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

.social-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-section .border-top,
.footer-section .border-secondary {
    border-color: rgba(255,255,255,0.1) !important;
}

/* ==================== FOOTER NAVBAR (ALL DEVICES) ==================== */
.footer-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    padding-bottom: env(safe-area-inset-bottom, 0); /* iPhone safe area */
}

.footer-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: none;
    border: none;
    cursor: pointer;
    flex: 1;
    max-width: 80px;
    position: relative;
}

.footer-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.footer-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.footer-nav-item:hover,
.footer-nav-item.active {
    color: var(--secondary);
    background: rgba(201, 162, 39, 0.1);
}

.footer-nav-item:hover i,
.footer-nav-item.active i {
    transform: translateY(-3px);
}

.footer-nav-item .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.6rem;
    padding: 2px 6px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
}

/* Center FAB (WhatsApp) */
.footer-nav-fab {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin: 0 -15px;
    transform: translateY(-15px);
    border: 3px solid rgba(15, 23, 42, 0.98);
}

.footer-nav-fab i {
    font-size: 1.8rem;
    margin: 0;
}

.footer-nav-fab:hover {
    transform: translateY(-20px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Body Padding untuk Footer Navbar */
body {
    padding-bottom: 100px; /* Space for footer navbar */
}

/* ==================== BOTTOM SHEET MENU ==================== */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bottom-sheet.show {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.bottom-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 25px 25px 0 0;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.bottom-sheet.show .bottom-sheet-content {
    transform: translateY(0);
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--gray-light);
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 25px 25px 0 0;
}

.bottom-sheet-header h5 {
    margin: 0;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.bottom-sheet-header .btn-close {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.bottom-sheet-header .btn-close:hover {
    opacity: 1;
}

/* Menu Categories */
.menu-category {
    padding: 15px 20px 10px;
    background: var(--light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}

.menu-category:first-child {
    padding-top: 20px;
}

.bottom-sheet-items {
    display: flex;
    flex-direction: column;
}

/* Sheet Items */
.sheet-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-light);
}

.sheet-item:last-child {
    border-bottom: none;
}

.sheet-item:hover {
    background: var(--light);
    transform: translateX(5px);
}

.sheet-item i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sheet-item:hover i {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

.sheet-item-content {
    flex: 1;
}

.sheet-item span {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.sheet-item .badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 3px 8px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 6px;
    font-weight: 700;
    margin-top: 3px;
}

.sheet-item-arrow {
    color: var(--gray);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.sheet-item:hover .sheet-item-arrow {
    transform: translateX(5px);
    color: var(--secondary);
}

/* Quick Actions Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: var(--light);
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quick-action-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quick-action-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, #b89220 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.quick-action-item span {
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 767px) {
    .bottom-sheet-content {
        max-height: 80vh;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-action-item {
        padding: 15px 10px;
    }
    
    .quick-action-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .quick-action-item span {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .bottom-sheet-content {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        border-radius: 25px 25px 0 0;
    }
    
    .bottom-sheet.show .bottom-sheet-content {
        transform: translateX(-50%) translateY(0);
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Scrollbar Styling */
.bottom-sheet-content::-webkit-scrollbar {
    width: 6px;
}

.bottom-sheet-content::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 0 25px 25px 0;
}

.bottom-sheet-content::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 3px;
}

.bottom-sheet-content::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 767px) {
    .footer-nav-item span {
        font-size: 0.65rem;
    }
    
    .footer-nav-item i {
        font-size: 1.2rem;
    }
    
    .footer-nav-fab {
        width: 55px;
        height: 55px;
        margin: 0 -12px;
    }
    
    .footer-nav-fab i {
        font-size: 1.5rem;
    }
    
    body {
        padding-bottom: 95px;
    }
}

@media (min-width: 768px) {
    .footer-nav-container {
        padding: 0 40px;
    }
    
    .footer-nav-item {
        padding: 10px 15px;
    }
    
    .footer-nav-item i {
        font-size: 1.5rem;
    }
    
    .footer-nav-item span {
        font-size: 0.75rem;
    }
    
    .footer-nav-fab {
        width: 65px;
        height: 65px;
        margin: 0 -20px;
    }
    
    .footer-nav-fab i {
        font-size: 2rem;
    }
    
    body {
        padding-bottom: 110px;
    }
}

/* Small mobile */
@media (max-width: 375px) {
    .footer-nav-container {
        padding: 0 10px;
        gap: 5px;
    }
    
    .footer-nav-item {
        padding: 6px 8px;
        max-width: 70px;
    }
    
    .footer-nav-item i {
        font-size: 1.1rem;
    }
    
    .footer-nav-item span {
        font-size: 0.6rem;
    }
    
    body {
        padding-bottom: 90px;
    }
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px; height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .search-section { margin-top: 0; }
    .cta-box { padding: 30px; text-align: center; }
    .col-lg-4.text-lg-end { text-align: center !important; margin-top: 20px; }
    
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item { width: 100%; margin: 5px 0; }
    
    .nav-link {
        padding: 12px 20px !important;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-link::after { display: none; }
    
    .nav-link:hover, .nav-link.active {
        background: rgba(201, 162, 39, 0.1);
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-left: 20px;
        margin-top: 5px;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 10px 15px;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary);
        padding-left: 20px;
    }
    
    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .btn-contact-phone {
        width: 100%;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
    }
    
    #nav-cta { width: 100%; text-align: center; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-controls { bottom: 60px; }
    .property-specs .spec-item { flex: 0 0 100%; }
    
    .floating-sidebar { display: none !important; }
    
    body { padding-bottom: 120px; }
    
    .category-tabs .nav-link {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .bottom-nav-item span { font-size: 0.65rem; }
    .bottom-nav-item i { font-size: 1.1rem; }
    .bottom-nav-fab { width: 50px; height: 50px; }
    .bottom-nav-fab i { font-size: 1.5rem; }
}