/* Custom Properties & Tokens */
:root {
    --primary: #0D9488; /* Tropical Teal */
    --primary-hover: #0F766E;
    --primary-light: rgba(13, 148, 136, 0.08);
    --primary-rgb: 13, 148, 136;
    --primary-gradient: linear-gradient(135deg, #0D9488 0%, #14b8a6 50%, #0EA5E9 100%);
    --primary-gradient-hover: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #0284C7 100%);
    --secondary: #F59E0B; /* Sunset Gold */
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    
    /* Backgrounds */
    --bg-color: #F4F7FB;
    --card-bg: rgba(255, 255, 255, 0.97);
    --nav-bg: rgba(255, 255, 255, 0.82);
    
    /* Text */
    --text-main: #0F172A;
    --text-muted: #475569;
    
    /* Shadows & Border — warmer, multi-layered for depth */
    --shadow-sm: 0 2px 8px -2px rgba(13, 148, 136, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(13, 148, 136, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px -8px rgba(13, 148, 136, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.15);
    --border-color: rgba(226, 232, 240, 0.8);
    --glass-border: rgba(255, 255, 255, 0.7);
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --bg-color: #060A13;
    --card-bg: rgba(12, 18, 32, 0.95);
    --nav-bg: rgba(6, 10, 19, 0.9);
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.6), 0 8px 16px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.2);
    --border-color: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(255, 255, 255, 0.04);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: 
        radial-gradient(ellipse at 10% 0%, rgba(13, 148, 136, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(14, 165, 233, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #EEF4FB 0%, #F4F7FB 30%, #F0F7F6 60%, #F4F7FB 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.3s ease;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Subtle Traditional Balinese Cultural Batik Watermark */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bali_batik_pattern.png');
    background-repeat: repeat;
    background-size: 380px 380px;
    opacity: 0.035;
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] body {
    background: 
        radial-gradient(ellipse at 15% 5%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 25%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 40% 90%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #060A13 0%, #0a1022 40%, #0c1425 70%, #060A13 100%);
    background-attachment: fixed;
}

[data-theme="dark"] body::before {
    opacity: 0.045;
    mix-blend-mode: screen;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    font-family: 'DM Serif Display', serif;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
}

/* Utility Classes */
.glass {
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    background-size: 200% 200%;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 148, 136, 0.04);
    transform: translateY(-2px);
}

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

.navbar.glass {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Navbar Search Form (TripAdvisor style) */
.nav-search-form {
    position: relative;
    width: 380px;
    max-width: 100%;
    margin: 0 20px;
}

.nav-search-form input[type="text"] {
    width: 100%;
    padding: 10px 16px 10px 42px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    font-family: var(--font-primary);
}

.nav-search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.nav-search-form .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition);
}

.nav-search-form input[type="text"]:focus + .search-icon,
.nav-search-form input[type="text"]:focus ~ .search-icon {
    color: var(--primary);
}

.nav-search-form .search-suggestions-dropdown {
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 320px;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    background: #ffffff !important;
    border: 1px solid var(--border-color);
    position: absolute;
    z-index: 1050;
}

[data-theme="dark"] .nav-search-form .search-suggestions-dropdown {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 992px) {
    .nav-search-form {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .nav-search-form {
        width: 180px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .nav-search-form {
        width: 120px;
        margin: 0 5px;
    }
    .nav-search-form input[type="text"] {
        padding-left: 32px;
        font-size: 0.8rem;
    }
    .nav-search-form .search-icon {
        left: 12px;
        font-size: 0.8rem;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dark-mode-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    line-height: 1;
}

.lang-toggle span {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 10;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.02);
}

/* Slide Indicators */
.hero-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.slide-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(6, 10, 19, 0.25) 0%,
        rgba(6, 10, 19, 0.15) 40%,
        rgba(6, 10, 19, 0.55) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 850px;
}

.hero-content h1 {
    font-size: 4.2rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #14b8a6, #06b6d4, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-desc-bottom {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    margin-top: 40px;
    margin-bottom: 0;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Form Card (Glassmorphism / Frosted Blur) */
.hero-search-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-radius: 28px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    max-width: 960px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

[data-theme="dark"] .hero-search-card {
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
}

.hero-search-row-top {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.hero-search-input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-search-input-wrap .search-icon {
    position: absolute;
    left: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.hero-search-input-wrap input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 1rem;
    color: var(--text-main);
    font-family: var(--font-primary);
    transition: var(--transition);
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-search-input-wrap input {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hero-search-input-wrap input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.hero-search-btn {
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.hero-search-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.5);
}

.hero-search-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 868px) {
    .hero-search-row-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hero-search-row-top {
        flex-direction: column;
    }
    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }
    .hero-search-row-bottom {
        grid-template-columns: 1fr;
    }
}

/* Custom Interactive Filter Dropdowns */
.custom-dropdown-wrap {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    outline: none;
    text-align: left;
}

[data-theme="dark"] .custom-dropdown-trigger {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.custom-dropdown-trigger:hover,
.custom-dropdown-wrap.open .custom-dropdown-trigger {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

[data-theme="dark"] .custom-dropdown-trigger:hover,
[data-theme="dark"] .custom-dropdown-wrap.open .custom-dropdown-trigger {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--primary);
}

.custom-dropdown-trigger .icon-left {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.custom-dropdown-trigger .trigger-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-dropdown-trigger .arrow-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.custom-dropdown-wrap.open .custom-dropdown-trigger .arrow-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.custom-dropdown-wrap.open {
    z-index: 2000;
}

/* Custom Dropdown Floating Options Menu */
.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 210px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
}

[data-theme="dark"] .custom-dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.custom-dropdown-wrap.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
}

[data-theme="dark"] .dropdown-item {
    color: #e2e8f0;
}

.dropdown-item:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-item .check-icon {
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-item.active {
    background: var(--primary-gradient);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.dropdown-item.active .check-icon {
    opacity: 1;
    color: #ffffff;
}

.hero-filter-select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    pointer-events: none;
}

.hero-subnav-item i {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    transition: var(--transition-bounce);
}

.hero-subnav-item span {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.02em;
}

.hero-subnav-item:hover {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.45);
}

.hero-subnav-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.hero-subnav-item.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    border-color: white;
}

.hero-subnav-item.active i {
    color: var(--primary);
}

/* TripAdvisor-style Assistant Recommendation Bar */
.hero-assistant-bar {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(24px) saturate(1.6);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    z-index: 5;
    animation: habFadeInUp 1s ease-out;
}

[data-theme="dark"] .hero-assistant-bar {
    background: rgba(15, 23, 42, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.hab-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    text-align: left;
}

.hab-left p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.AI-icon {
    font-size: 1.6rem;
    color: var(--secondary);
    animation: sparkPulse 2s infinite;
}

.hero-assistant-bar .btn {
    flex-shrink: 0;
    margin-left: 20px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

@keyframes sparkPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #fbbf24); }
}

@keyframes habFadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 992px) {
    .hero-assistant-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        bottom: 30px;
    }
    .hab-left {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .hero-assistant-bar .btn {
        margin-left: 0;
        width: 100%;
    }
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.95);
    border-radius: 60px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1050;
}

[data-theme="dark"] .search-box {
    background: rgba(30,30,30,0.95);
}

.search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.search-input i {
    color: var(--primary);
    font-size: 1.2rem;
}

.search-input input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 15px 0;
}

.search-btn {
    padding: 15px 30px;
    border-radius: 50px;
}

.quick-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.qc-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.qc-tag {
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: white;
    transition: var(--transition);
}

.qc-tag:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

/* Sections */
.filter-section, .destinations, .map-section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-card span {
    font-weight: 600;
    color: var(--text-main);
}

.category-card:hover, .category-card.active {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}

.category-card:hover i, .category-card.active i,
.category-card:hover span, .category-card.active span {
    color: white;
}

/* Advanced Filters */
.advanced-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    min-width: 200px;
}

.sort-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
}

/* Destination Cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dest-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(13, 148, 136, 0.15), var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.dest-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dest-card:hover .dest-img {
    transform: scale(1.08);
}

.dest-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 7px 16px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    letter-spacing: 0.03em;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.dest-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dest-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .rating {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.rating i {
    color: #f59e0b;
    font-size: 0.95rem;
}

.location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    border: 1px solid rgba(13, 148, 136, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

[data-theme="dark"] .location {
    background: rgba(13, 148, 136, 0.15);
    color: #2dd4bf;
    border-color: rgba(13, 148, 136, 0.3);
}

.location i {
    color: var(--primary);
    font-size: 0.9rem;
}

.dest-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.dest-content p {
    font-size: 0.92rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    line-height: 1.6;
}

.dest-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.dest-footer .btn {
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-bounce);
}

.dest-footer .btn-outline {
    border-color: rgba(13, 148, 136, 0.4);
    color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.dest-footer .btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.dest-footer .btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.dest-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.45);
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.page-link.active {
    background-color: var(--primary);
    color: white !important;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.page-dots {
    display: inline-block;
    padding: 0 4px;
    color: var(--text-muted);
    font-weight: 600;
    user-select: none;
}

.prev-page, .next-page {
    border: 1px solid var(--border-color);
}

.prev-page:hover, .next-page:hover {
    border-color: var(--primary);
}

/* Map Section */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 4px !important;
}

.leaflet-popup-tip {
    background: var(--card-bg) !important;
}

.map-popup-card {
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 4px;
}

.map-popup-card a:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0c1525 0%, #0F172A 40%, #0a0f1e 100%);
    color: white;
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #030509 0%, #060a13 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .flex-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }
    .search-btn {
        width: 100%;
        border-radius: 12px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   WIZARD PREFERENSI (KUESIONER)
   ========================================== */
.wizard-section {
    padding: 60px 20px;
}

.wizard-container {
    padding: 44px;
    border-radius: 28px;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--card-bg);
}

.wizard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.wizard-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background-image: url('../img/bali_batik_pattern.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: translate(20%, -20%);
}

.wizard-progress-bar {
    position: relative;
    margin-bottom: 50px;
    padding: 0 10px;
}

.progress-line-bg {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background-color: var(--gray-light);
    z-index: 1;
    border-radius: 2px;
}

[data-theme="dark"] .progress-line-bg {
    background-color: var(--border-color);
}

.progress-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #14b8a6, var(--secondary));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-line-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 3px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

[data-theme="dark"] .step-num {
    border-color: var(--border-color);
}

.step-label {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-dot.active .step-num {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.2), 0 0 20px rgba(13, 148, 136, 0.3);
    animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stepBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.step-dot.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.step-dot.completed .step-num {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.step-dot.completed .step-label {
    color: var(--secondary);
}

/* Wizard Steps Content */
.wizard-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.wizard-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-info {
    text-align: center;
    margin-bottom: 35px;
}

.step-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.step-info p {
    font-size: 1rem;
}

.wizard-options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.wizard-options-grid .wizard-option-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 200px;
    max-width: 280px;
}

.location-options-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
}

.location-options-grid .wizard-option-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 180px;
    max-width: 220px;
}

.location-options-grid .option-content {
    padding: 16px 12px !important;
    gap: 8px !important;
}

.location-options-grid .option-content h4 {
    font-size: 0.95rem !important;
}

.location-options-grid .option-content p {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
}

.location-options-grid .option-icon {
    font-size: 1.3rem !important;
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 2px !important;
}

.wizard-option-card {
    cursor: pointer;
    position: relative;
}

.wizard-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.option-content:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.12);
}

.option-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(14, 165, 233, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition-bounce);
}

.option-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.option-content p {
    font-size: 0.85rem;
    line-height: 1.45;
}

/* Selected state option card */
.wizard-option-card input[type="radio"]:checked + .option-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(14, 165, 233, 0.04));
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15), 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.wizard-option-card input[type="radio"]:checked + .option-content .option-icon {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    transform: scale(1.1);
}

/* Nav Buttons inside Wizard */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-top: 10px;
}

/* ==========================================
   DYNAMIC MATCH SCORE IN CARDS
   ========================================== */
.match-score-bar {
    margin-top: 5px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-percentage-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-progress {
    height: 6px;
    width: 100%;
    background-color: var(--gray-light);
    border-radius: 3px;
    overflow: hidden;
}

[data-theme="dark"] .match-progress {
    background-color: var(--border-color);
}

.match-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ==========================================
   LOADING & EMPTY STATE
   ========================================== */
.loading-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 3rem;
    color: var(--primary);
}

.error-state i {
    font-size: 3rem;
    color: var(--gray);
}

/* ==========================================
   DETAIL MODAL & OVERLAY
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 90%;
    max-width: 680px;
    max-height: 90vh;
    border-radius: 24px;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.5);
}

.modal-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-header-img-wrap {
    position: relative;
    height: 280px;
    width: 100%;
}

.modal-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-carousel-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.carousel-bg-blur {
    position: absolute;
    inset: -15px; /* bleed outward to cover edges when blurred */
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.6);
    z-index: 1;
    pointer-events: none;
}

.modal-carousel-slide img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain; /* do not crop! show the whole photo */
    display: block;
}

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    z-index: 10;
}

.modal-carousel-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-btn.prev {
    left: 16px;
}

.modal-carousel-btn.next {
    right: 16px;
}

.modal-carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-carousel-dot.active {
    background-color: white;
    transform: scale(1.25);
    box-shadow: 0 0 6px var(--primary);
}

.modal-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 24px;
    background-color: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.modal-body-content {
    padding: 30px;
}

.modal-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.modal-rating {
    color: #FFB100;
    font-weight: 700;
}

.modal-location {
    color: var(--text-muted);
}

.modal-location i {
    color: var(--primary);
}

.modal-body-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.modal-match-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px dashed var(--primary);
}

.modal-body-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.modal-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-detail-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 3px;
}

.modal-detail-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-detail-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.modal-action-row {
    display: flex;
    gap: 15px;
}

.modal-action-row .btn {
    flex: 1;
}

/* ==========================================
   ADVANCED FILTER LABELS & GROUPS
   ========================================== */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-group label i {
    color: var(--primary);
}

/* Leaflet dark mode overrides */
[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .leaflet-bar a {
    background-color: var(--card-bg);
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .leaflet-bar a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Responsive Wizard adjustments */
@media (max-width: 768px) {
    .wizard-container {
        padding: 20px;
    }
    .wizard-progress-bar {
        margin-bottom: 35px;
    }
    .progress-steps .step-label {
        display: none;
    }
    .progress-line-bg {
        left: 20px;
        right: 20px;
    }
    .wizard-options-grid {
        grid-template-columns: 1fr;
    }
    .modal-action-row {
        flex-direction: column;
    }
}

/* ==========================================
   WIZARD SIMILARITY BADGE & EXPLANATION STYLES
   ========================================== */
.match-score-badge-circular {
    position: absolute;
    top: 15px;
    right: 60px; /* Space from wishlist button */
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulseGlow 2s infinite alternate;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
    stroke: var(--primary);
}

.progress-ring__circle-bg {
    stroke: rgba(0, 0, 0, 0.4);
    fill: rgba(0, 0, 0, 0.65);
}

.match-score-text {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
        transform: scale(1);
    }
    to {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.7);
        transform: scale(1.05);
    }
}

/* Modal Explanation Box */
.modal-explanation-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.modal-explanation-box h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.modal-explanation-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.matched-keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.badge-kw {
    background: var(--card-bg);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.badge-kw:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================
   TOP DESTINATIONS PER CATEGORY SECTION
   ========================================== */
.top-destinations {
    margin-top: 60px;
    margin-bottom: 40px;
}

/* ─── Popular Slider ─── */
.popular-slider {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    height: 480px; /* increased to prevent shadow clipping */
    background: transparent;
    border: none;
    box-shadow: none;
}

.popular-slider-track {
    display: flex;
    gap: 24px; /* spacing between slides */
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center; /* center items vertically to prevent cut-off scaling */
}

.popular-slide {
    flex: 0 0 75%;
    position: relative;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    border-radius: 28px;
    overflow: hidden;
    height: 430px;
    opacity: 0.5;
    transform: scale(0.9);
    filter: saturate(0.7) brightness(0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease, 
                box-shadow 0.6s ease,
                filter 0.6s ease;
}

.popular-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
    box-shadow: 0 24px 56px rgba(3, 12, 28, 0.4), 0 0 0 1px rgba(13, 148, 136, 0.1);
}

/* Hide content of non-active slides to avoid visual clutter and borders */
.popular-slide:not(.active) .popular-card-content {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Overlay */
.popular-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(3, 12, 28, 0.95) 0%,
        rgba(3, 12, 28, 0.6) 45%,
        rgba(3, 12, 28, 0.1) 100%),
        rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* Content */
.popular-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 48px;
    width: 100%;
    max-width: 700px;
    color: #ffffff;
}

.pcb-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.pcb-cat i {
    color: #2ec4b6; /* primary-like custom highlight */
}

.popular-slide h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.popular-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    margin-bottom: 16px;
    opacity: 0.95;
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.popular-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.popular-card-meta span i {
    color: #ffffff !important;
}

.popular-card-meta .fa-star {
    color: #ffb703 !important; /* gold star */
}

.popular-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 650px;
}

.popular-slider-track > .popular-slide:not(.spotlight-card) .view-detail-btn {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.3);
    transition: var(--transition);
}

/* ── Arrows ── */
.popular-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.popular-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.popular-slider-prev { left: 4%; }
.popular-slider-next { right: 4%; }

/* ── Dots ── */
.popular-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.popular-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.popular-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.popular-dot:hover:not(.active) {
    background: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .popular-slider {
        height: 380px;
        border: none;
        box-shadow: none;
    }
    .popular-slide {
        flex: 0 0 88% !important;
        height: 340px !important;
        border-radius: 16px;
    }
    .popular-card-content {
        padding: 22px 24px;
    }
    .popular-slide h3 {
        font-size: 1.25rem;
    }
    .popular-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .popular-slider-prev { left: 10px; }
    .popular-slider-next { right: 10px; }
}

@media (max-width: 480px) {
    .popular-slider {
        height: 340px;
    }
    .popular-slide {
        flex: 0 0 92% !important;
        height: 300px !important;
    }
    .popular-card-content {
        padding: 18px 20px;
    }
    .popular-slide h3 {
        font-size: 1.1rem;
    }
}

/* ─── Modal Similar Recommendations ─── */
.modal-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.similar-place-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.similar-place-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.similar-place-img {
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.similar-place-info {
    padding: 10px 12px;
}

.similar-place-info h4 {
    font-size: 0.85rem !important;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
    font-weight: 700;
}

.similar-place-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.similar-place-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.similar-place-meta .fa-star {
    color: #fbbf24;
}

#modalSimilarBtn.active {
    background-color: var(--text-main) !important;
    border-color: var(--text-main) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Autocomplete suggestions dropdown */
.search-input {
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1100;
}

[data-theme="dark"] .search-suggestions-dropdown {
    background: #0f172a;
}

.suggestion-item {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

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

.suggestion-item:hover, .suggestion-item.highlighted {
    background-color: var(--primary-light);
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.suggestion-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.suggestion-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.suggestion-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
}
.suggestion-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggestion-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* ==========================================
   GLOBAL KEYFRAME ANIMATIONS
   ========================================== */

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes glowPulse {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 20px rgba(13, 148, 136, 0.15);
    }
}

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */

.reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: none;
}

/* Individual card styling */
.dest-card {
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Image overlay gradient for better text contrast on cards */
.dest-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 24px 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dest-card:hover .dest-img-wrap::after {
    opacity: 1;
}

/* Modal backdrop enhancement */
.modal-overlay {
    background-color: rgba(6, 10, 19, 0.7);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

/* Section headings premium style */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 12px auto 0;
    border-radius: 2px;
}

.flex-header h2::after {
    margin: 12px 0 0;
}

/* Map section enhancement */
.map-container {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Footer link hover animation */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Footer bottom separator */
.footer-bottom {
    border-top: 1px solid rgba(13, 148, 136, 0.15);
}

/* Pagination enhancement */
.page-link {
    transition: var(--transition-bounce);
}

.page-link:hover {
    transform: scale(1.1);
}

.page-link.active {
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transform: scale(1.05);
}

/* ==========================================
   DESTINASI WISATA PAGE STYLING
   ========================================== */
.destinasi-page .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.destinasi-page .hero-search-card {
    max-width: 920px;
    margin: 0 auto;
}

.destinasi-page .destination-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.destinasi-page .map-container {
    height: 500px;
}

@media (max-width: 1024px) {
    .destinasi-page .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .destinasi-page .destination-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ✨ PREMIUM UI MICRO-DETAIL POLISH
   ============================================================ */

/* 1. CURSOR GLOW EFFECT */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.07) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .cursor-glow {
    background: radial-gradient(circle, rgba(13, 148, 136, 0.14) 0%, transparent 65%);
}

/* 2. SCROLL-REVEAL ANIMATION (already have class, enhance it) */
.reveal-on-scroll {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. SHIMMER ON CARD IMAGE ON HOVER */
.dest-img-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.dest-card:hover .dest-img-wrap::before {
    animation: imageShine 0.65s ease forwards;
}

@keyframes imageShine {
    0% { left: -100%; }
    100% { left: 160%; }
}

/* 4. RIPPLE EFFECT ON BUTTONS */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleAnim 0.55s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* 5. ANIMATED GRADIENT BORDER AROUND SEARCH CARD */
.hero-search-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 31px;
    background: linear-gradient(135deg, rgba(13,148,136,0.5), rgba(14,165,233,0.35), rgba(245,158,11,0.25), rgba(13,148,136,0.5));
    background-size: 300% 300%;
    animation: borderGradient 6s ease infinite;
    z-index: -1;
    opacity: 0.55;
}

@keyframes borderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 6. TOOLTIP FOR ELEMENTS WITH data-tooltip */
[data-tooltip] { position: relative; }

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 11px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 200;
    font-family: var(--font-primary);
    font-weight: 500;
    backdrop-filter: blur(6px);
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 7. ANIMATED UNDERLINE ON NAV LINKS */
.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

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

/* 8. LOGO ICON GENTLE WAVE */
.logo i {
    display: inline-block;
    animation: logoWave 4s ease-in-out infinite;
}

@keyframes logoWave {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-14deg); }
    70% { transform: rotate(10deg); }
}

/* 9. RATING STAR SPARKLE */
.rating i {
    animation: starSparkle 3s ease-in-out infinite;
}

@keyframes starSparkle {
    0%, 75%, 100% { transform: scale(1); filter: brightness(1); }
    88% { transform: scale(1.3) rotate(8deg); filter: brightness(1.5) drop-shadow(0 0 5px #f59e0b); }
}

/* 10. LOCATION PIN SUBTLE BOUNCE */
.location i {
    animation: pinBounce 2.5s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 11. SECTION HEADER ANIMATED UNDERLINE */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 52px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.reveal-on-scroll.revealed .section-header h2::after,
.section-header:hover h2::after {
    width: 100%;
}

/* 12. HERO SEARCH BTN GLOW HALO */
.hero-search-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 53px;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.hero-search-btn:hover::before { opacity: 0.65; }

/* 13. PAGE HERO ENTRANCE ANIMATION */
@keyframes pageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 { animation: pageIn 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both; }
.hero-content > p { animation: pageIn 0.8s 0.25s cubic-bezier(0.4, 0, 0.2, 1) both; }
.hero-search-card { animation: pageIn 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both; }

/* 14. DEST CARD GLASS EDGE HIGHLIGHT */
.dest-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    pointer-events: none;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dest-card:hover::after { opacity: 1; }

/* 15. BADGE ENTRANCE ANIMATION */
.dest-badge {
    animation: badgePop 0.4s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badgePop {
    from { transform: scale(0.6) translateY(-6px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* 16. MAP CONTAINER GLOW HOVER */
.map-container {
    transition: box-shadow 0.45s ease;
}

.map-container:hover {
    box-shadow: var(--shadow-lg), 0 0 50px rgba(13, 148, 136, 0.18);
}

/* 17. FLOATING BACKGROUND BLOBS (decorative) */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: blobDrift 18s ease-in-out infinite alternate;
}

body::before {
    width: 600px; height: 600px;
    top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
}

body::after {
    width: 500px; height: 500px;
    bottom: -150px; left: -150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, transparent 70%);
    animation-delay: -9s;
}

@keyframes blobDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, 20px) scale(1.08); }
}

/* 18. SCROLL INDICATOR IN HERO */
.hero-scroll-indicator {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 5;
    cursor: pointer;
    animation: scrollBob 2.5s ease-in-out infinite;
    user-select: none;
}

.scroll-arrow-box {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.scroll-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBob {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
    50% { transform: translateX(-50%) translateY(7px); opacity: 0.9; }
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    80%, 100% { transform: translateY(20px); opacity: 0; }
}

/* 19. CATEGORY CARD FOCUS RING */
.category-card:focus,
.category-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.3), var(--shadow-sm);
}

/* 20. PREFERS-REDUCED-MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   21. PREFERENCE QUICK FILTER BUTTONS (DESTINASI.PHP)
   ========================================== */
.preference-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px 0;
    padding: 14px 20px;
    background: var(--bg-card, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color, rgba(226, 232, 240, 0.8));
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pref-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color, #1e293b);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pref-label i {
    color: var(--primary, #0d9488);
}

.pref-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--bg-body, #f8fafc);
    color: var(--text-color, #334155);
    border: 1px solid var(--border-color, #cbd5e1);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.pref-btn:hover {
    background: var(--primary-light, rgba(13, 148, 136, 0.1));
    color: var(--primary, #0d9488);
    border-color: var(--primary, #0d9488);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.pref-btn.active {
    background: linear-gradient(135deg, var(--primary, #0d9488), #0284c7) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.pref-btn.active i {
    color: #ffffff !important;
}

body.dark-theme .preference-filter-bar {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .pref-btn {
    background: rgba(15, 23, 42, 0.6);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-theme .pref-btn:hover {
    background: rgba(13, 148, 136, 0.25);
    color: #38bdf8;
    border-color: #38bdf8;
}

/* ==========================================
   22. FAVORITES / WISHLIST STYLES
   ========================================== */
.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.favorite-btn i {
    font-size: 1rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.12);
    background: #ffffff;
}

.favorite-btn.active {
    background: #ffffff;
}

.favorite-btn.active i {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

.wishlist-toggle-btn.active {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

.wishlist-toggle-btn.active i {
    color: #ffffff !important;
}

.wishlist-toggle-btn.active #wishlistCountBadge {
    background: #ffffff !important;
    color: #ef4444 !important;
}

/* ==========================================
   23. STATS OVERVIEW CARD (INDEX.PHP)
   ========================================== */
.stats-grid-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: var(--bg-card, rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color, rgba(226, 232, 240, 0.8));
    border-radius: 24px;
    padding: 24px 30px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary, #0d9488);
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color, #0f172a);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    margin-top: 4px;
}

body.dark-theme .stats-grid-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .stats-grid-card {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ==========================================
   24. 9 REGENCIES & CITIES GRID (INDEX.PHP)
   ========================================== */
.regencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.regency-card {
    position: relative;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.regency-card-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.regency-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
    transition: background 0.35s ease;
}

.regency-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    z-index: 2;
    color: #ffffff;
}

.regency-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(13, 148, 136, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.regency-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.regency-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.3;
}

.regency-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.25);
}

.regency-card:hover .regency-card-img {
    transform: scale(1.08);
}

.regency-card:hover .regency-card-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
}

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

@media (max-width: 576px) {
    .regencies-grid {
        grid-template-columns: 1fr;
    }
    .regency-card {
        height: 220px;
    }
}

/* ==========================================
   25. DECORATIVE ORNAMENTS & VISUAL FLAIR
   ========================================== */

/* Animated gradient underline on section headers */
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), #14b8a6, #0EA5E9);
    background-size: 200% 200%;
    animation: gradientSlide 3s ease infinite;
}

.section-header.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative dot pattern behind section headers */
.section-header {
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--primary) 1.2px, transparent 1.2px);
    background-size: 10px 10px;
    opacity: 0.12;
    border-radius: 8px;
    pointer-events: none;
}

/* Hero sparkle decoration */
.hero-content h1 {
    position: relative;
}

.hero-content h1 span {
    position: relative;
}

.hero-content h1 span::before {
    content: '✦';
    position: absolute;
    top: -18px;
    right: -22px;
    font-size: 0.7rem;
    color: var(--secondary);
    animation: sparkleRotate 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-content h1 span::after {
    content: '✦';
    position: absolute;
    bottom: -8px;
    left: -16px;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: sparkleRotate 4s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes sparkleRotate {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    25% { transform: scale(1.4) rotate(45deg); opacity: 1; }
    50% { transform: scale(0.8) rotate(90deg); opacity: 0.5; }
    75% { transform: scale(1.3) rotate(135deg); opacity: 0.9; }
}

/* Subtle card hover soft glow (no contrasting border) */
.dest-card {
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-card:hover {
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Regency card subtle shine sweep on hover */
.regency-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.regency-card:hover::after {
    left: 120%;
}

/* Stats number animated count-up feel */
.stat-number {
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated wave divider between hero and content */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23F4F7FB' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,35 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
}

[data-theme="dark"] .hero::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23060A13' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,35 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* Smooth entrance for hero buttons */
.hero-actions a {
    animation: heroFadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions a:nth-child(1) { animation-delay: 0.4s; }
.hero-actions a:nth-child(2) { animation-delay: 0.6s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Click Spring & Ripple Animations */
.btn, .hero-search-btn, .hero-actions a {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.3s ease;
}

.btn:active, .hero-search-btn:active, .hero-actions a:active {
    transform: scale(0.92) translateY(2px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: rippleWave 0.55s linear;
    pointer-events: none;
}

@keyframes rippleWave {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hero Action Cards with Explanations */
.hero-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 18px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-width: 325px;
    width: 100%;
    text-decoration: none;
}

.hero-action-card.primary-card {
    background: rgba(13, 148, 136, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.hero-action-card.secondary-card {
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-action-card:hover {
    transform: translateY(-4px) scale(1.015);
}

.hero-action-card:active {
    transform: translateY(-1px) scale(0.97);
}

.hero-action-card.primary-card:hover {
    background: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #0EA5E9 100%);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.5);
}

.hero-action-card.secondary-card:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: var(--primary);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.hero-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #ffffff;
}

.hero-action-text {
    flex: 1;
}

.hero-action-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.2;
}

.hero-action-text p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.3;
}

.hero-action-arrow {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.hero-action-card:hover .hero-action-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

/* Spotlight Showcase Section (Luxury Editorial Layout) */
.spotlight-showcase-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #060a13 0%, #0a1120 50%, #080d18 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Vector Barong Watermark Shadow Overlay */
.spotlight-showcase-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 620px;
    background-image: url('../img/barong_watermark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(13, 148, 136, 0.25));
}

[data-theme="light"] .spotlight-showcase-section {
    background: linear-gradient(135deg, #0b1320 0%, #0e1a2b 100%);
    color: #ffffff;
}

.spotlight-showcase-container {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1080px) {
    .spotlight-showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left Panel Styling */
.spotlight-left-panel {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.spotlight-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotlight-main-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2.7rem;
    font-weight: 400;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.spotlight-main-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 350px;
}

.spotlight-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 280px;
    margin-bottom: 40px;
}

.spotlight-explore-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.spotlight-explore-btn i {
    transition: transform 0.3s ease;
}

.spotlight-explore-btn:hover i {
    transform: translateX(4px);
}

/* Bottom Controls Block */
.spotlight-controls-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    position: relative;
    z-index: 50;
    pointer-events: auto;
}

.spotlight-counter {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.spotlight-total-num {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.spotlight-progress-line-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.spotlight-progress-line-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.45s ease;
}

.spotlight-nav-buttons {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 50;
    pointer-events: auto;
}

.spotlight-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    position: relative;
    z-index: 50;
    pointer-events: auto;
}

.spotlight-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* Right Carousel Panel */
.spotlight-right-panel {
    overflow: hidden;
    width: 100%;
    position: relative;
    min-width: 0;
}

.spotlight-viewport {
    overflow: hidden;
    width: 100%;
}

.spotlight-track {
    display: flex;
    gap: 20px;
    width: max-content;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.spotlight-card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: 450px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    opacity: 1 !important;
    filter: none !important;
}

@media (max-width: 768px) {
    .spotlight-card {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
        max-width: 280px;
        height: 410px;
    }
}

.spotlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.spotlight-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 10, 19, 0.98) 0%,
        rgba(6, 10, 19, 0.72) 42%,
        rgba(6, 10, 19, 0.15) 100%
    );
    z-index: 1;
}

.spotlight-card-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.76rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.spotlight-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
    z-index: 2;
    color: #ffffff;
    text-align: left;
}

.spotlight-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.35rem;
    color: #ffffff !important;
    margin-bottom: 8px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    word-break: normal;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 14px;
}

.spotlight-meta-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #ffffff;
}

.spotlight-meta-star {
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.spotlight-meta-dot {
    color: rgba(255, 255, 255, 0.4);
}

.spotlight-meta-loc {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

.spotlight-meta-loc i {
    color: var(--primary);
    font-size: 0.78rem;
}

.spotlight-card .spotlight-card-btn,
.spotlight-card .view-detail-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 14px !important;
    border-radius: 24px !important;
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.spotlight-card .spotlight-card-btn:hover,
.spotlight-card .view-detail-btn:hover {
    background: var(--primary-gradient-hover) !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 5px 14px rgba(13, 148, 136, 0.45) !important;
}

.spotlight-card .spotlight-card-btn i,
.spotlight-card .view-detail-btn i {
    font-size: 0.72rem !important;
    transition: transform 0.25s ease !important;
}

.spotlight-card .spotlight-card-btn:hover i,
.spotlight-card .view-detail-btn:hover i {
    transform: translateX(3px) !important;
}
