/* ==========================================================
   EXPERIENCE - BAGIAN 8/9: DESTINASI & GRID AKTIVITAS
   Dipecah dari css/experience.css. Urutan load = urutan angka (kaskade)
   ========================================================== */

/* =========================================
   TANÉA — DESTINATIONS EDITORIAL REFINEMENT
   ========================================= */

/* Destination grid */
.experience-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Editorial-style destination card */
.experience-destination {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(128, 102, 78, 0.2);
    border-radius: 12px;
    background: #F8F3E8;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Larger, consistent destination imagery */
.experience-destination img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

/* Editorial card information */
.experience-destination-info {
    padding: 15px 14px 16px;
}

.experience-destination-info h5 {
    margin: 0 0 7px;
    color: #303426;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.experience-destination-info p {
    margin: 0;
    color: #777568;
    font-size: 11px;
    line-height: 1.7;
}

/* Subtle hover effect */
@media (hover: hover) and (pointer: fine) {
    .experience-destination:hover {
        transform: translateY(-3px);
        border-color: rgba(101, 112, 94, 0.55);
        box-shadow: 0 10px 24px rgba(48, 52, 38, 0.08);
    }

    .experience-destination:hover img {
        transform: scale(1.035);
    }
}

/* Destination category filters */
.experience-destination-filter {
    padding: 8px 14px;
    border: 1px solid rgba(128, 102, 78, 0.3);
    border-radius: 999px;
    background: transparent;
    color: #594938;

    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.04em;
    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.experience-destination-filter:hover {
    border-color: #65705E;
    background: rgba(101, 112, 94, 0.08);
}

.experience-destination-filter.is-active {
    border-color: #65705E;
    background: #65705E;
    color: #F8F3E8;
}

.experience-destination-filter:focus-visible {
    outline: 2px solid #80664E;
    outline-offset: 3px;
}

/* Tablet and mobile */
@media (max-width: 640px) {
    .experience-destinations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .experience-destination {
        border-radius: 10px;
    }

    .experience-destination-info {
        padding: 12px 10px;
    }

    .experience-destination-info h5 {
        font-size: 13px;
    }

    .experience-destination-info p {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .experience-destinations {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   ADVENTURE — ACTIVITY GRID
   REFINED LAYOUT
   ========================================================= */

.experience-adventure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    align-items: start;
}

.experience-adventure-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.experience-adventure-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.experience-adventure-content {
    min-width: 0;
    padding: 12px 10px 14px;
}

.experience-adventure-title {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    font-style: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.experience-adventure-description {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    opacity: 0.85;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Tablet */
@media (max-width: 900px) {
    .experience-adventure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .experience-adventure-content {
        padding: 14px 12px;
    }

    .experience-adventure-title {
        font-size: 14px;
    }

    .experience-adventure-description {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .experience-adventure-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-adventure-image {
        aspect-ratio: 16 / 9;
    }

    .experience-adventure-content {
        padding: 14px;
    }

    .experience-adventure-title {
        font-size: 15px;
    }

    .experience-adventure-description {
        font-size: 13px;
        line-height: 1.7;
    }
}


/* ADVENTURE — IMPROVE TEXT READABILITY */

.experience-detail[data-experience-type="adventure"]
.experience-adventure-card {
    background: rgba(245, 237, 222, 0.82);
    border-color: rgba(70, 72, 55, 0.12);
}

.experience-detail[data-experience-type="adventure"]
.experience-adventure-title {
    overflow-wrap: normal;
    word-break: normal;
    letter-spacing: 0.08em;
}

.experience-detail[data-experience-type="adventure"]
.experience-adventure-description {
    color: #625f53;
    opacity: 1;
}


