/**
 * Single Location Activities & Experiences Styling
 * @package Tourify
 */

.tourify-location-activities-section {
    margin: 28px 0 42px 0;
}

/* Experience Metadata Strip */
.loc-experience-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.loc-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(16, 26, 61, 0.04);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-strip-item:hover {
    border-color: #0FA3C4;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(16, 26, 61, 0.1);
}

.loc-strip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 19px;
    flex-shrink: 0;
}

.loc-strip-icon--type {
    background: #e6f6f2;
    color: #0d7a64;
}

.loc-strip-icon--dest {
    background: #e8f4fc;
    color: #124B8C;
}

.loc-strip-icon--country {
    background: #f1f5f9;
    color: #475569;
}

.loc-strip-icon--badge {
    background: #fef5e7;
    color: #DE9127;
}

.loc-strip-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.loc-strip-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 2px;
}

.loc-strip-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loc-dest-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #124B8C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.loc-dest-link i {
    font-size: 11px;
    opacity: 0.7;
}

.loc-dest-link:hover {
    color: #DE9127;
}

/* Address Banner */
.loc-address-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 38px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.loc-address-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
}

.loc-address-pin {
    color: #DE9127;
    font-size: 19px;
    flex-shrink: 0;
}

.loc-address-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

.loc-map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #00142b;
    color: #F9A61D;
    font-size: 13px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 20, 43, 0.15);
    white-space: nowrap;
}

.loc-map-directions-btn:hover {
    background: #124B8C;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(18, 75, 140, 0.25);
}

/* Activities Showcase Header */
.loc-activities-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.loc-sec-subtitle {
    display: block;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #DE9127;
    margin-bottom: 4px;
}

.loc-sec-title {
    font-size: 24px;
    color: #00142b;
    line-height: 1.25;
    margin: 0;
}

.loc-view-dest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #124B8C;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 999px;
}

.loc-view-dest-btn:hover {
    color: #ffffff;
    background: #124B8C;
    transform: translateX(3px);
}

/* Activities Grid */
.loc-activities-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 640px) {
    .loc-activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .loc-activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Activity Card */
.loc-activity-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(16, 26, 61, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-activity-card:hover {
    transform: translateY(-5px);
    border-color: #0FA3C4;
    box-shadow: 0 16px 32px -8px rgba(16, 26, 61, 0.14);
}

.loc-activity-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.loc-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.loc-activity-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.loc-activity-card:hover .loc-activity-card-media img {
    transform: scale(1.08);
}

.loc-card-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.loc-card-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #101a3d 0%, #1e293b 100%);
    color: #64748b;
    font-size: 38px;
}

.loc-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    z-index: 3;
    pointer-events: none;
}

.loc-card-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.loc-type-activity {
    background: var(--tourify-badge-bg, rgba(13, 122, 100, 0.92));
    color: var(--tourify-badge-text, #ffffff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.loc-type-attraction {
    background: var(--tourify-badge-bg, rgba(184, 110, 14, 0.92));
    color: var(--tourify-badge-text, #ffffff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.loc-card-promo-badge {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--tourify-badge-bg, rgba(0, 20, 43, 0.88));
    color: var(--tourify-badge-text, #F9A61D);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

/* Card Body */
.loc-activity-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.loc-card-meta-top {
    margin-bottom: 6px;
}

.loc-card-country-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-secondary, #0d7a64);
}

.loc-card-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.loc-card-title a {
    color: #00142b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.loc-activity-card:hover .loc-card-title a {
    color: #124B8C;
}

.loc-card-address {
    margin: 0 0 16px 0;
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.loc-card-address i {
    color: #DE9127;
    margin-top: 3px;
    flex-shrink: 0;
}

.loc-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.loc-card-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.25s ease;
}

.loc-activity-card:hover .loc-card-action-btn {
    background: linear-gradient(135deg, #124B8C 0%, #0FA3C4 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(18, 75, 140, 0.25);
}

.loc-card-action-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.loc-activity-card:hover .loc-card-action-btn i {
    transform: translateX(3px);
}

