/* public/assets/css/guest/pariwisata.css */

.profil-desa-section {
    font-family: 'Poppins', sans-serif;
    color: #111827;
    padding-bottom: 0;
}

/* Page Header */
.profil-desa-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profil-desa-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2E7D32;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.profil-desa-subtitle::before,
.profil-desa-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #2E7D32;
}

.profil-desa-subtitle::before {
    left: -40px;
}

.profil-desa-subtitle::after {
    right: -40px;
}

.profil-desa-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.profil-desa-title span {
    color: #2E7D32;
}

/* Lightweight Scroll Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Search Box Styling */
.pariwisata-search-box {
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    margin: 0 auto 3rem auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.pariwisata-search-box:focus-within {
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
    border-color: #a5d6a7;
}

.pariwisata-search-box input {
    border: none;
    box-shadow: none !important;
    background: transparent;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #1e293b;
}

.pariwisata-search-box .btn-search {
    border-radius: 50px;
    padding: 8px 24px;
    background: #2E7D32;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pariwisata-search-box .btn-search:hover {
    background: #1b5e20;
}

.pariwisata-search-box .btn-reset {
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pariwisata-search-box .btn-reset:hover {
    background: #e2e8f0;
    color: #ef4444;
}

/* Pariwisata Card */
.pariwisata-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #edf2f7;
}

.pariwisata-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.pariwisata-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f8fafc;
    overflow: hidden;
}

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

.pariwisata-card:hover .pariwisata-img-wrapper img {
    transform: scale(1.05);
}

.pariwisata-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background-color: #f8fafc;
}

.pariwisata-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
}

.pariwisata-location-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 85%;
}

.pariwisata-location-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pariwisata-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pariwisata-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pariwisata-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.pariwisata-read-more {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: #2E7D32;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.25s ease;
}

.pariwisata-card:hover .pariwisata-read-more {
    background: #1b5e20;
    color: #ffffff;
}
