/* ============================================
   Bali Landing Pages - Styles
   ============================================ */

/* --- Hero Section --- */
.bali-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.bali-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.bali-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem 1rem;
}
.bali-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    color: #fff;
}
.bali-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}
.bali-hero .btn {
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
}
@media (max-width: 767.98px) {
    .bali-hero {
        min-height: 280px;
    }
    .bali-hero h1 {
        font-size: 1.6rem;
    }
    .bali-hero p {
        font-size: 0.95rem;
    }
}

/* --- Filter Chips --- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.filter-chips .chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #444;
    background: #fff;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.filter-chips .chip:hover {
    border-color: #333;
    color: #222;
    background: #f8f8f8;
}
.filter-chips .chip.active {
    background: #222;
    color: #fff;
    border-color: #222;
}
@media (max-width: 767.98px) {
    .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .filter-chips::-webkit-scrollbar {
        display: none;
    }
}

/* --- Villa Card Enhancements --- */
.villa-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.villa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}
.villa-card-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
}
.villa-card-body {
    padding: 16px;
}
.villa-card-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}
.villa-card-title h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #222;
}
.villa-card-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    text-align: right;
}
.villa-card-price span {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #888;
}
.villa-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 8px;
}
.villa-card-meta .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b0b0b0;
    display: inline-block;
}
.villa-card-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.villa-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}
.villa-card-badges .badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f0f7f0;
    color: #2d7a3a;
    border: 1px solid #d4ead4;
}
.villa-card-badges .badge-luxury {
    background: #fdf6ec;
    color: #9a6d1f;
    border-color: #f0ddb8;
}
.villa-card-badges .badge-budget {
    background: #ecf5fd;
    color: #1f6a9a;
    border-color: #b8dbf0;
}
.villa-card-actions {
    display: flex;
    gap: 8px;
}
.villa-card-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
}

/* --- Sidebar --- */
.bali-sidebar {
    position: sticky;
    top: 100px;
}
.bali-sidebar .nav.flex-column .nav-link {
    font-size: 0.88rem;
    color: #555;
    padding: 6px 12px 6px 20px;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.bali-sidebar .nav-link:hover {
    color: #222;
    background: #f5f5f5;
}
.bali-sidebar .nav-link.active {
    color: #222;
    font-weight: 600;
    background: #f0ead8;
}
.bali-sidebar .sidebar-heading {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    padding: 12px 12px 6px;
    margin-top: 8px;
}
.bali-sidebar .sidebar-heading:first-child {
    margin-top: 0;
}

/* --- Breadcrumbs --- */
.bali-breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 1rem;
}
.bali-breadcrumb .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}
.bali-breadcrumb .breadcrumb-item a:hover {
    color: #222;
}
.bali-breadcrumb .breadcrumb-item.active {
    color: #999;
}

/* --- Section Headings --- */
.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}
.section-heading:first-of-type {
    margin-top: 1.5rem;
}

/* --- Area Guide --- */
.area-guide {
    padding: 2rem 0;
}
.area-guide-content p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #444;
}
.area-guide-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}
.area-guide-highlights li {
    font-size: 0.9rem;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.area-guide-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: #efddab;
    margin-top: 7px;
}

/* --- Trust Section --- */
.trust-section {
    padding: 2rem 0;
}
.trust-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
}
.trust-item i {
    font-size: 1.6rem;
    color: #c9a84c;
    margin-bottom: 0.75rem;
    display: block;
}
.trust-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.35rem;
}
.trust-item p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* --- Related Pages --- */
.related-page-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.2s ease;
    height: 100%;
}
.related-page-card:hover {
    border-color: #ccc;
    background: #fafafa;
    color: inherit;
    text-decoration: none;
}
.related-page-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}
.related-page-card p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* --- FAQ Section --- */
.bali-faq .accordion-button {
    font-size: 0.93rem;
    font-weight: 600;
    color: #222;
}
.bali-faq .accordion-button:not(.collapsed) {
    background: #faf7ee;
    color: #222;
    box-shadow: none;
}
.bali-faq .accordion-button:focus {
    box-shadow: none;
    border-color: #ddd;
}
.bali-faq .accordion-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2.5rem 0;
}
.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}
.cta-section p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn-primary {
    background: #efddab;
    border-color: #efddab;
    color: #222;
    font-weight: 600;
    padding: 0.6rem 2rem;
    border-radius: 6px;
}
.cta-section .btn-primary:hover {
    background: #e6d198;
    border-color: #e6d198;
}
.cta-section .btn-outline-light {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    font-weight: 500;
    padding: 0.6rem 2rem;
    border-radius: 6px;
}
.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
}
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}
.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.4;
}
.empty-state h3 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}
.empty-state p {
    font-size: 0.9rem;
}

/* --- Navbar About Dropdown --- */
.nav-item.dropdown .dropdown-menu {
    min-width: 160px;
}

/* --- Landing Page H1 --- */
.landing-h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.75rem;
}
@media (max-width: 767.98px) {
    .landing-h1 {
        font-size: 1.4rem;
    }
}

/* --- Intro Text --- */
.landing-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}
