/* --- Variables & Reset --- */
:root {
    --primary-color: #2563EB; /* Royal Blue Modern */
    --secondary-color: #1E293B; /* Dark Slate */
    --accent-color: #F59E0B; /* Gold for badges/stars */
    --success-color: #22C55E; /* WhatsApp Green */
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-gray: #64748B;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { width: 100%; display: block; }

/* Improve touch responsiveness and remove tap delays */
a, button, .btn-primary, .btn-whatsapp, .btn-whatsapp-lg, .btn-book-mobile {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span { color: var(--secondary-color); }

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Mobile menu open state */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 70px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 1100;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--success-color);
    color: var(--white);
    width: 100%;
    display: block;
    text-align: center;
    padding: 0.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #16a34a;
}

/* --- Hero Section --- */
.hero {
    height: 30vh; /* reduced height from 100vh to 30vh */
    min-height: 260px; /* ensure enough space on small screens */
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero-content {
    z-index: 2;
    max-width: 760px;
    animation: fadeInUp 1s ease-out;
}

.hero .hero-text { text-align: center; }
.hero p.hero-sub { margin: 0 auto; max-width: 58ch; color: var(--text-gray); }

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem; /* larger default heading */
    line-height: 1.05;
    margin-bottom: 0.6rem;
    color: var(--secondary-color);
}

/* Decorative brush behind highlight */
.hero h1 .brush {
    position: relative;
    display: inline-block;
}
.hero h1 .brush::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    top: 50%;
    height: 1.1em;
    background: linear-gradient(90deg, rgba(245,158,11,0.18), rgba(245,158,11,0.36));
    transform: translateY(-50%) rotate(-6deg);
    border-radius: 8px;
    z-index: -1;
    filter: blur(0.2px);
}

/* Rotating single-word highlight */
.rotating-word {
    display: inline-block;
    font-weight: 800;
    color: var(--primary-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.rotating-word.fade {
    opacity: 0;
    transform: translateY(-6px);
}

/* Slightly smaller hero text on very small screens */
@media (max-width: 600px) {
    .hero {
        padding-top: 70px; /* keep space for fixed header */
        min-height: 220px;
    }
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1.05rem; }
}

/* Slight downward nudge for hero text on small screens */
@media (max-width: 768px) {
    header.hero.compact-hero .hero-content {
        padding-top: 59px; /* small extra spacing to lower the text */
    }
}
/* Larger, more header-like hero on desktop */
@media (min-width: 1024px) {
    .hero { height: 36vh; min-height: 340px; }
    .hero h1 { font-size: 5.6rem; }
    .hero p { font-size: 1.4rem; }
}

.hero p {
    color: var(--text-gray);
    font-size: 1.25rem; /* slightly larger subtitle */
    margin-bottom: 1.25rem;
}

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

/* --- Search Bar --- */
.search-container {
    margin-top: -3rem; /* Overlap hero */
    position: relative;
    z-index: 10;
}

.search-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.8rem 1rem;
    border-radius: 12px;
}

.input-group i {
    color: var(--text-gray);
    margin-right: 10px;
}

.input-group input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-weight: 500;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-search:hover { background: #0f172a; }

/* --- Sections General --- */
.section {
    padding: 5rem 0;
}

.bg-light { background-color: #f1f5f9; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p { color: var(--text-gray); }

/* --- Villa Cards (Grid) --- */
.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.villa-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    transform: translateY(30px);
}

.villa-card.active {
    opacity: 1;
    transform: translateY(0);
}

.villa-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.price-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    z-index: 2;
}

.price-tag span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.card-content {
    padding: 1.5rem;
}

.rating {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.villa-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.features span {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-content hr {
}

/* --- Detail page: luxury styles moved from detail.php --- */
.description {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,250,250,0.95));
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}
.description h2 { margin-top: 0; font-weight:700; color:#0f172a; }
.description p { color: #334155; line-height:1.7; }

.facilities-section { margin-top: 1rem; }
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 0.75rem;
}
.facility-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
    transition: transform .14s ease, box-shadow .14s ease;
    min-height:56px;
}
.facility-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(2,6,23,0.08); }
.facility-icon { width:36px; height:36px; display:flex; align-items:center; justify-content:center; color:#0f172a; font-size:20px; flex:0 0 36px; }
.facility-icon svg { width:20px; height:20px; }
.facility-label { font-weight:600; color:#0f172a; font-size:0.95rem; }

.info-box { background: linear-gradient(180deg,#ffffff,#fbfbfd); border-radius:12px; padding:1rem; box-shadow: 0 10px 30px rgba(2,6,23,0.05); margin-top:1rem; }
.info-box h2 { margin:0 0 .5rem 0; font-weight:700; color:#0f172a; }
.info-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.info-tag { background: #f8fafc; border-radius:999px; padding:8px 12px; color:#0f172a; font-weight:600; font-size:0.9rem; box-shadow: inset 0 -1px 0 rgba(2,6,23,0.02); }

/* Popular list styles (vertical, elegant) */
.popular-list { list-style: none; margin: 0; padding: 0; margin-top: 0.5rem; }
.popular-item {
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.04);
    display: flex;
    gap: 10px;
    align-items: center;
    color: #0f172a;
    font-weight: 600;
}
.popular-item i { color: #0f172a; font-size: 18px; }

@media(max-width:600px){
    .facility-card { padding:10px; }
    .facility-label { font-size:0.9rem; }
    .swiper { height:260px; }
}

/* Ensure rounded slider images on mobile as well and make portrait-safe */
@media (max-width: 768px) {
    .swiper, .swiper-slide, .swiper-zoom-container {
        border-radius: 12px;
    }
    /* Keep overflow hidden on slider and slide, but avoid hiding wrapper which swiper controls */
    .swiper, .swiper-slide, .swiper-zoom-container { overflow: hidden; }

    /* Center images inside zoom container so portrait photos don't break layout */
    .swiper-slide, .swiper-zoom-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-zoom-container img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
    }
}

/* Make headline sizes consistent for detail subsections */
.description h2,
.facilities-section h2,
.info-box h2 {
    font-size: 1.15rem;
    letter-spacing: -0.2px;
}

/* Ensure slider images keep rounded corners */
.swiper { overflow: hidden; }
.swiper-slide img, .swiper-zoom-container img { border-radius: 12px; }

/* Make slides center their content and handle portrait/landscape gracefully */
.swiper-slide, .swiper-zoom-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.villa-card:hover .overlay { opacity: 1; }

.btn-view {
    background: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover { transform: translateY(-5px); }

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* --- Footer --- */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 0;
}

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

.text-white { color: var(--white); }

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #94a3b8; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.contact-list li {
    display: flex;
    gap: 10px;
    color: #94a3b8;
}

.footer-bottom {
    background: #0f172a;
    padding: 1.5rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .search-box {
        flex-direction: column;
        padding: 1rem;
    }
    
    .btn-search {
        padding: 0.8rem;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   DETAIL PAGE STYLES
   ========================================= */

/* --- Page Header --- */
.page-header { margin-bottom: 2rem; }

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumbs a:hover { color: var(--primary-color); }

.title-section h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.villa-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.villa-meta i { color: var(--primary-color); }
.text-warning { color: var(--accent-color) !important; }

/* --- Gallery Grid (Airbnb Style) --- */
.swiper { width: 100%; height: 450px; border-radius: 20px; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-zoom-container img { width: auto; height: 100%; object-fit: contain; }

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.gallery-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-more {
    position: relative;
    cursor: pointer;
}

.overlay-count {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
}

.gallery-grid img:hover { transform: scale(1.02); }
.gallery-more:hover .overlay-count { background: rgba(0,0,0,0.3); }

/* --- Layout Split --- */
.villa-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
}

/* --- Left Column Content --- */
.divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.stat-item strong { color: var(--secondary-color); }
.stat-item span { font-size: 0.85rem; color: var(--text-gray); }

.description p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.facility-item i {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* === Compact Hero & Mobile Floating CTA (UI/UX upgrade) === */
.hero.compact-hero{
    position:relative;
    padding:8px 0; /* very small to keep hero minimal */
    background: linear-gradient(180deg,#ffffff 0%, #f8fafc 100%);
    color: var(--text-dark);
    overflow:visible;
}
.hero.compact-hero .hero-content{
    z-index:2;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    padding:4px 0;
}
.hero.compact-hero .hero-text .hero-title{
    font-size:16px; /* visually small but keep semantic h1 for SEO */
    line-height:1.15;
    margin:0 0 6px 0;
    font-weight:700;
    color:var(--secondary-color);
}
.hero.compact-hero .hero-text .hero-sub,
.hero-sub-lead{
    margin:0;
    color:var(--text-gray);
    max-width:760px;
    font-size:13px;
    opacity:0.95;
}
.hero.compact-hero .btn-primary{ /* keep style if used elsewhere */
    display:inline-block;
}

/* hide decorative blobs for a cleaner, faster look */
.hero.compact-hero::before, .hero.compact-hero::after{ display:none }

/* Mobile responsiveness: keep hero compact */
@media (max-width:768px){
    .hero.compact-hero{padding:12px 0}
    .hero.compact-hero .hero-text h1{font-size:18px}
    .hero.compact-hero .hero-text .hero-sub{font-size:14px}
}

/* Mobile floating CTA bar */
.mobile-floating-cta{
    display:none;
}
@media (max-width:768px){
    .mobile-floating-cta{
        display:flex;
        position:fixed;
        left:12px;
        right:12px;
        bottom:16px;
        z-index:9999;
        background:linear-gradient(90deg, rgba(15,23,42,0.98), rgba(10,14,30,0.98));
        border-radius:14px;
        padding:14px 12px;
        /* stack content vertically so text sits above the buttons */
        flex-direction:column;
        align-items:stretch;
        gap:10px;
        box-shadow:0 8px 30px rgba(2,6,23,0.5);
        animation:slideUp .36s cubic-bezier(.2,.9,.3,1);
    }
    /* medium-sized, centered text */
    .mobile-floating-cta .cta-text{
        color:#fff;
        font-size:1rem;
        text-align:center;
        line-height:1.3;
    }
    /* buttons placed side-by-side and share available space */
    .mobile-floating-cta .cta-actions{
        display:flex;
        flex-direction:row;
        gap:8px;
        margin-top:8px;
        justify-content:center;
        align-items:center;
    }
    .btn-cta{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        padding:10px 12px;
        border-radius:10px;
        text-decoration:none;
        font-weight:600;
        color:#05203a;
        background:#fff;
        flex:1;
        min-width:0;
    }
    .btn-cta.phone{ background:#ffffff; color:#05203a }
    .btn-cta.whatsapp{ background:#25D366; color:#fff }

    /* vibration animation (will be toggled via JS) */
    @keyframes vibrate {
        0% { transform: translateX(0); }
        20% { transform: translateX(-3px) rotate(-1deg); }
        40% { transform: translateX(3px) rotate(1deg); }
        60% { transform: translateX(-3px) rotate(-1deg); }
        80% { transform: translateX(3px) rotate(1deg); }
        100% { transform: translateX(0); }
    }
    .btn-cta.whatsapp.vibrate{
        animation: vibrate 0.12s linear infinite;
    }
}

@keyframes slideUp{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}

/* small utility: ensure hero images/cards keep performance */
img{max-width:100%;height:auto;display:block}

/* Reduce top padding for villas section so list appears earlier */
#villas.section { padding-top: 0.5rem; padding-bottom: 3rem; }


/* --- Nearby & Popular Lists --- */
.nearby-section h2, .popular-section h2 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.nearby-section ul, .popular-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0.5rem;
}

.nearby-section li, .popular-section li {
    background: var(--white);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e6e9ee;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.nearby-section li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.popular-section li i {
    font-size: 1.05rem;
    color: var(--primary-color);
}

.nearby-section li:hover, .popular-section li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .nearby-section ul, .popular-section ul { grid-template-columns: 1fr; }
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-gray);
}

.map-placeholder i { font-size: 3rem; margin-bottom: 10px; }

/* --- Sidebar Booking Card --- */
.villa-sidebar {
    position: relative;
}

.booking-card {
    position: sticky;
    top: 100px; /* Jarak dari atas saat scroll */
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.price-header {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-period {
    color: var(--text-gray);
    font-weight: 400;
}

.booking-info {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.info-row:last-child { margin-bottom: 0; }

.btn-whatsapp-lg {
    background: #25D366; /* Warna WA Official */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-whatsapp-lg:hover {
    background: #1ebc57;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
}

.agent-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.agent-profile div {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    line-height: 1.3;
}

.agent-profile span { color: var(--text-gray); font-size: 0.8rem; }

/* --- Mobile Sticky Bottom Bar --- */
.mobile-booking-bar {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.mobile-booking-bar .price-info {
    display: flex;
    flex-direction: column;
}

.mobile-booking-bar .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.mobile-booking-bar .label {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.btn-book-mobile {
    background: var(--success-color);
    color: white;
    padding: 0.7rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-book-mobile:hover {
    background: #16a34a;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .gallery-grid {
        height: 300px;
    }
    
    .villa-layout {
        grid-template-columns: 1fr; /* Stack layout */
        gap: 2rem;
    }

    .villa-sidebar {
        display: none; /* Sembunyikan sidebar di mobile */
    }

    .mobile-booking-bar {
        display: flex; /* Munculkan bottom bar di mobile */
    }

    /* Ubah galeri di HP agar full width slider atau grid simpel */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-sub { display: none; } /* Sembunyikan foto kecil di HP agar rapi */
    
    .stats-bar {
        flex-direction: column;
        gap: 1rem;
    }
}
