/* =========================================
   WELCOME PAGE - DESA WISATA PAISUPOK EDITION
   ========================================= */

/* Hero Floating Quick-Finder Bar */
.hero-quick-bar {
    background: rgba(8, 47, 73, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1rem 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.hero-quick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
}

.hero-quick-item:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(251, 191, 36, 0.55);
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--village-secondary), var(--village-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(6, 182, 212, 0.35);
}

/* Bento Destinasi Unggulan */
.bento-dest-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #082f49;
    display: block;
    text-decoration: none;
    box-shadow: 0 18px 40px -12px rgba(8, 47, 73, 0.2);
}

.bento-dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.bento-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.12) 0%, rgba(8, 47, 73, 0.3) 45%, rgba(4, 20, 34, 0.94) 100%);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-dest-large {
    min-height: 510px;
    height: 100%;
}

.bento-dest-small {
    height: 243px;
}

@media (max-width: 991.98px) {
    .bento-dest-large { min-height: 380px; }
    .bento-dest-small { height: 250px; }
}

/* Tourism Ecosystem Nav Pills */
.ecosystem-pills .nav-link {
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ecosystem-pills .nav-link:hover {
    border-color: var(--village-primary);
    color: var(--village-primary);
}

.ecosystem-pills .nav-link.active {
    background: linear-gradient(135deg, var(--village-primary), var(--village-secondary));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 10px 25px -5px rgba(14, 116, 144, 0.4);
}

/* Route Journey Banner */
.journey-banner {
    background: linear-gradient(135deg, #082f49 0%, #0e7490 55%, #065f46 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.journey-step-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 1.35rem;
    height: 100%;
}

/* Custom Grid: 5 Kolom presisi untuk Sistem Informasi Terintegrasi */
.satudes-premium-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) { .satudes-premium-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .satudes-premium-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .satudes-premium-grid { grid-template-columns: 1fr; } }

.satudes-pro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.6rem 1.2rem;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.satudes-pro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--village-primary), var(--village-secondary), var(--village-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.satudes-pro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(8, 47, 73, 0.1);
    border-color: rgba(14, 116, 144, 0.3);
}

.satudes-pro-card:hover::before {
    transform: scaleX(1);
}

.pro-icon-glass {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--village-primary) 10%, #ffffff);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.15rem;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pro-icon-glass i {
    font-size: 1.55rem;
    color: var(--village-primary);
    transition: all 0.4s ease;
}

.satudes-pro-card:hover .pro-icon-glass {
    background: var(--village-primary);
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 10px 18px -4px rgba(14, 116, 144, 0.35);
}

.satudes-pro-card:hover .pro-icon-glass i {
    color: #ffffff;
}

.pro-card-title { font-size: 1.02rem; font-weight: 800; color: #0f172a; margin-bottom: 0.4rem; }
.pro-card-desc { font-size: 0.8rem; color: #64748b; line-height: 1.5; flex-grow: 1; margin-bottom: 0; }

.pro-arrow-link {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--village-primary);
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.satudes-pro-card:hover .pro-arrow-link {
    opacity: 1;
    transform: translateX(4px);
}

/* Galeri Visual Grid */
.dpmd-gallery-card {
    aspect-ratio: 4/3;
    cursor: zoom-in;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.dpmd-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(8, 47, 73, 0.2) !important;
}
.gallery-img-zoom {
    transition: transform 0.7s ease-in-out;
}
.dpmd-gallery-card:hover .gallery-img-zoom {
    transform: scale(1.1);
}
.gallery-overlay-dark {
    background: linear-gradient(to top, rgba(4, 20, 34, 0.92) 0%, rgba(8, 47, 73, 0.35) 55%, transparent 100%);
    opacity: 0.72;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.dpmd-gallery-card:hover .gallery-overlay-dark {
    opacity: 0.92;
}
.text-content-wrapper {
    transform: translateY(8px);
    transition: transform 0.3s ease;
    z-index: 2;
}
.dpmd-gallery-card:hover .text-content-wrapper {
    transform: translateY(0);
}
.gallery-desc-fade {
    opacity: 0.85;
    transition: opacity 0.4s ease;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
