/** File: home/rb-home.css */
.herbie-home-wrapper { width: 100%; overflow: hidden; font-family: inherit; }
.herbie-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.herbie-sec { padding: 60px 0; border-bottom: 1px solid #f0f0f0; }
.herbie-sec-title { font-size: 32px; font-weight: 800; color: #001D3D; margin-bottom: 15px; line-height: 1.3; text-transform: uppercase; }
.herbie-sec-desc { font-size: 16px; color: #475569; line-height: 1.7; margin-bottom: 25px; }
.herbie-sec-desc p { margin-bottom: 10px; }
.herbie-text-center { text-align: center; }

/* SEKSI WELCOME */
.herbie-welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.herbie-welcome-media img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.herbie-ratio-landscape img { aspect-ratio: 16/9; object-fit: cover; }
.herbie-ratio-square img { aspect-ratio: 1/1; object-fit: cover; max-width: 400px; margin: 0 auto; }
.herbie-ratio-portrait img { aspect-ratio: 4/5; object-fit: cover; max-width: 400px; margin: 0 auto; }
.herbie-ratio-auto img { object-fit: contain; }

/* SEKSI WHY CHOOSE US */
.herbie-why-desc { max-width: 800px; margin-left: auto; margin-right: auto; }
.herbie-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 30px; }
.herbie-why-card { background: #ffffff; padding: 30px 20px; border-radius: 12px; text-align: center; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: transform 0.3s ease; }
.herbie-why-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.herbie-why-icon { font-size: 48px; margin-bottom: 8px; display: inline-block; line-height: 1; }
.herbie-why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #001D3D; line-height: 1.3; }
.herbie-why-card p { font-size: 15px; color: #64748b; margin: 0; line-height: 1.5; }

/* SEKSI PAKET TUR (HERBIE STANDARD) */
.herbie-tour-desc { max-width: 800px; margin-left: auto; margin-right: auto; }
.herbie-tour-grid { display: grid; gap: 20px; margin-top: 15px; padding: 15px 10px; width: 100%; box-sizing: border-box; justify-content: center; }
.herbie-layout-grid3 { grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); }
.herbie-layout-grid4 { grid-template-columns: repeat(auto-fit, minmax(250px, 280px)); }
.herbie-layout-list { grid-template-columns: minmax(300px, 850px); }

.herbie-tour-carousel-wrapper { width: 100%; padding: 15px 10px 45px 10px !important; margin-top: 15px; position: relative; overflow: hidden; box-sizing: border-box; }
.herbie-carousel-pagination { bottom: 0px !important; }
.herbie-carousel-pagination .swiper-pagination-bullet { background: #001D3D !important; opacity: 0.3 !important; }
.herbie-carousel-pagination .swiper-pagination-bullet-active { background: #FFD700 !important; opacity: 1 !important; width: 25px !important; border-radius: 5px !important; }

.herbie-tour-carousel-wrapper .swiper-wrapper { display: flex; align-items: stretch; }
.herbie-tour-card-item { width: 100%; display: flex; justify-content: center; box-sizing: border-box; height: auto !important; }

/* KARTU TUR */
.herbie-tour-card { width: 100%; max-width: 380px; display: flex !important; flex-direction: column !important; background: #ffffff; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); height: 100% !important; border: 1px solid #eee; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; box-sizing: border-box; }
.herbie-tour-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); z-index: 10; }

.herbie-image-container { width: 100% !important; height: 240px !important; min-height: 240px !important; flex-shrink: 0 !important; position: relative; overflow: hidden; background: #f4f4f4; display: block !important; }
.herbie-tour-slider .swiper-wrapper { height: 100% !important; display: flex !important; }
.herbie-tour-slider .swiper-slide { height: 100% !important; display: block !important; overflow: hidden !important; }
.herbie-card-link-wrapper { text-decoration: none; display: block !important; width: 100% !important; height: 100% !important; position: relative; z-index: 5; }
.herbie-image-container img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.5s ease; display: block !important; }
.herbie-card-link-wrapper:hover img { transform: scale(1.08); }

.herbie-tour-badges { position: absolute; top: 12px; left: 12px; z-index: 10; display: flex; gap: 5px; flex-wrap: wrap; }
.herbie-badge-item { background: #FFD700; color: #000; padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; text-decoration: none !important; transition: 0.3s; }
.herbie-badge-item:hover { background: #001D3D; color: #fff; }

.herbie-tour-slider .swiper-pagination { z-index: 20 !important; pointer-events: auto !important; bottom: 12px !important; }
.herbie-tour-slider .swiper-pagination-bullet { background: #ffffff !important; opacity: 0.6 !important; width: 10px !important; height: 10px !important; border-radius: 50% !important; transition: all 0.3s ease !important; margin: 0 4px !important; }
.herbie-tour-slider .swiper-pagination-bullet-active { background: #FFD700 !important; opacity: 1 !important; width: 25px !important; border-radius: 5px !important; }

/* KONTEN KARTU */
.herbie-tour-content { padding: 22px; flex-grow: 1 !important; display: flex !important; flex-direction: column !important; justify-content: space-between; }
.herbie-tour-title { margin: 0 0 10px 0; font-size: 1.25rem; color: #001D3D; font-weight: 800; line-height: 1.3; }
.herbie-tour-title a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.herbie-tour-title a:hover { color: #0073aa; }
.herbie-tour-excerpt { color: #666; font-size: 0.9rem; margin-bottom: 15px; line-height: 1.6; }
.herbie-view-detail { color: #0073aa; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; }

.herbie-tour-features { list-style: none; padding: 0; margin: auto 0 20px 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #f0f0f0; padding-top: 18px; }
.herbie-tour-features li { font-size: 0.85rem; color: #444; display: flex; align-items: flex-start; gap: 5px; line-height: 1.4; }
.herbie-tour-features .dashicons { color: #28a745; font-size: 16px; margin-top: 1px; }

.herbie-tour-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 18px; margin-top: 0; }
.herbie-price-box { display: flex; flex-direction: column; }
.herbie-price-label { font-size: 11px; color: #999; text-transform: uppercase; display: block; font-weight: 600; line-height: 1; margin-bottom: 3px; letter-spacing: 0.5px; }
.herbie-price-amount { font-weight: 800; font-size: 1.3rem; color: #001D3D; display: block; line-height: 1; margin-top: 2px; }
.herbie-currency { font-size: 0.8rem; margin-right: 3px; }
.herbie-price-sublabel { font-size: 11px; color: #777; margin-top: 4px; }

.herbie-btn-booking { background: #25D366; color: #fff !important; padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 13px; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; transition: 0.3s; }
.herbie-btn-booking:hover { transform: scale(1.05); opacity: 0.9; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }

/* TOMBOL VIEW ALL */
.herbie-tour-action-bottom { margin-top: 20px; text-align: center; }
.herbie-btn-view-all { display: inline-flex; align-items: center; padding: 14px 35px; background: #FFD700; color: #001D3D; font-weight: 800; font-size: 15px; border-radius: 50px; text-decoration: none; transition: 0.3s; box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3); text-transform: uppercase; letter-spacing: 0.5px; }
.herbie-btn-view-all:hover { background: #001D3D; color: #FFD700; box-shadow: 0 8px 20px rgba(0, 29, 61, 0.3); transform: translateY(-3px); }

/* LAYOUT LIST (BARIS) */
.herbie-layout-list .herbie-tour-card-item { max-width: 100%; }
.herbie-layout-list .herbie-tour-card { flex-direction: row !important; max-width: 100%; }
.herbie-layout-list .herbie-image-container { width: 320px !important; height: auto !important; aspect-ratio: 16/10; }

/* RESPONSIVE MOBILE FIX */
@media (max-width: 992px) { 
    .herbie-layout-grid3, .herbie-layout-grid4 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .herbie-welcome-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } 
    .herbie-ratio-square img, .herbie-ratio-portrait img { max-width: 100%; }
    .herbie-layout-list .herbie-tour-card { flex-direction: column !important; }
    .herbie-layout-list .herbie-image-container { width: 100% !important; }
    .herbie-tour-card { max-width: 450px; }
}

@media (max-width: 768px) { 
    .herbie-sec { padding: 35px 0; } 
    .herbie-sec-title { font-size: 24px; margin-bottom: 10px; } 
    .herbie-sec-desc { font-size: 14px; margin-bottom: 15px; } 
    .herbie-why-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding: 0 5px; } 
    .herbie-why-card { padding: 16px 16px; display: flex; align-items: center; text-align: left; gap: 15px; border-radius: 10px; } 
    .herbie-why-icon { font-size: 32px; margin-bottom: 0; flex-shrink: 0; } 
    .herbie-why-card h3 { font-size: 16px; margin-bottom: 4px; } 
    .herbie-why-card p { font-size: 13px; line-height: 1.4; } 
    
    .herbie-layout-grid3, .herbie-layout-grid4, .herbie-layout-list { grid-template-columns: 1fr; }
    .herbie-tour-card { max-width: 100%; }
    
    .herbie-tour-carousel-wrapper { padding: 15px 5px 30px 5px !important; margin-top: 5px; }
    .herbie-carousel-pagination { bottom: 0px !important; }
    
    .herbie-image-container { height: 230px !important; min-height: 230px !important; }
    .herbie-tour-content { padding: 22px !important; }
    .herbie-tour-title { font-size: 1.2rem !important; }
    .herbie-tour-features { grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding-top: 20px !important; }
    .herbie-tour-footer { padding-top: 20px !important; }
    .herbie-btn-booking { padding: 12px 22px !important; font-size: 13px !important; }
    .herbie-btn-view-all { padding: 12px 25px; font-size: 14px; }
}

@media (max-width: 480px) {
    .herbie-tour-features { grid-template-columns: 1fr !important; gap: 8px !important; }
}

/* ========================================================= */
/* SEKSI DESTINASI POPULER (HERBIE STANDARD) */
/* ========================================================= */
.herbie-sec-dest { background: #f8fafc; } /* Latar belakang beda agar tidak monoton */
.herbie-dest-desc { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Grid System */
.herbie-dest-grid { display: grid; gap: 20px; margin-top: 30px; width: 100%; box-sizing: border-box; justify-content: center; }
.herbie-layout-grid3 { grid-template-columns: repeat(auto-fit, minmax(250px, 350px)); }
.herbie-layout-grid4 { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
.herbie-layout-grid5 { grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); }

/* Slider System */
.herbie-dest-carousel-wrapper { width: 100%; padding: 15px 10px 45px 10px !important; margin-top: 15px; position: relative; overflow: hidden; box-sizing: border-box; }
.herbie-dest-pagination { bottom: 0px !important; }
.herbie-dest-pagination .swiper-pagination-bullet { background: #001D3D !important; opacity: 0.3 !important; }
.herbie-dest-pagination .swiper-pagination-bullet-active { background: #FFD700 !important; opacity: 1 !important; width: 25px !important; border-radius: 5px !important; }
.herbie-dest-carousel-wrapper .swiper-wrapper { display: flex; align-items: stretch; }

/* Desain Kartu Destinasi (Sleek Box) */
.herbie-dest-card { background: #ffffff; padding: 20px; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; align-items: center; gap: 15px; text-decoration: none !important; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.02); box-sizing: border-box; }
.herbie-dest-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #38bdf8; background: #f0f9ff; }

.herbie-dest-icon { font-size: 32px; background: #e0f2fe; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; }
.herbie-dest-info { display: flex; flex-direction: column; }
.herbie-dest-name { font-size: 17px; font-weight: 800; color: #001D3D; margin: 0 0 4px 0; line-height: 1.2; }
.herbie-dest-count { font-size: 13px; font-weight: 600; color: #64748b; background: #f1f5f9; padding: 2px 8px; border-radius: 20px; display: inline-block; width: max-content; }

@media (max-width: 768px) {
    .herbie-dest-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 5px; }
    .herbie-dest-card { padding: 15px; flex-direction: column; text-align: center; justify-content: center; gap: 10px; }
    .herbie-dest-icon { width: 40px; height: 40px; font-size: 24px; margin: 0 auto; }
    .herbie-dest-name { font-size: 15px; }
    .herbie-dest-count { margin: 0 auto; }
}
