/* ==========================================================================
   Explore Page — Keşfet
   Design: Inter, slate palette, red accent, Apple-style hero
   ========================================================================== */

/* Layout
   ========================================================================== */

.explore-page {
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

.explore-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero
   ========================================================================== */

.explore-header {
    text-align: center;
    padding: 72px 20px 56px;
}

.explore-label {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.explore-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.1;
}

.explore-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Stats grid */

.explore-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.explore-stat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
}

.explore-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.explore-stat-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

/* Sections
   ========================================================================== */

.explore-section {
    margin-bottom: 56px;
}

.explore-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.explore-section-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
}

/* Business cards grid
   ========================================================================== */

.explore-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.explore-cards-grid--wide {
    grid-template-columns: repeat(2, 1fr);
}

/* Business card */

.explore-business-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-business-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
}

.explore-business-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.explore-business-address {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.4;
}

.explore-business-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.explore-business-rating {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.explore-business-reviews {
    font-size: 13px;
    color: #94a3b8;
}

.explore-business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.explore-business-tags span {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

/* Activity feed
   ========================================================================== */

.explore-activity-feed {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 28px;
    max-height: 480px;
    overflow-y: auto;
}

.explore-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.explore-activity-item:not(:last-child) {
    border-bottom: none;
}

.explore-activity-dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
    position: relative;
}

.explore-activity-item:not(:last-child) .explore-activity-dot::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% + 22px);
    background: #e2e8f0;
}

.explore-activity-text {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 2px;
}

.explore-activity-meta {
    font-size: 13px;
    color: #94a3b8;
}

/* Insights grid (regional highlights)
   ========================================================================== */

.explore-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.explore-insight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.explore-insight-card:hover {
    border-color: #94a3b8;
}

.explore-insight-city {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 16px;
}

.explore-insight-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.explore-insight-stat {
    text-align: center;
}

.explore-insight-number {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.explore-insight-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
    font-weight: 500;
}

/* BLM Category cards
   ========================================================================== */

.explore-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.explore-category-card,
.explore-category-card[style] {
    border-color: #e2e8f0 !important;
    border-left: 1px solid #e2e8f0 !important;
}

.explore-category-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
}

.explore-category-sticker {
    display: none;
}

.explore-category-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
}

.explore-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-category-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #475569 !important;
}

.explore-category-name a {
    color: #0f172a !important;
    text-decoration: none;
}

.explore-category-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px;
}

.explore-category-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
}

.explore-category-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
}

/* BLM City cards
   ========================================================================== */

.explore-city-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-city-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
}

.explore-city-image {
    height: 160px;
    overflow: hidden;
}

.explore-city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.explore-city-card:hover .explore-city-image img {
    transform: scale(1.03);
}

.explore-city-name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    padding: 16px 20px 0;
}

.explore-city-desc {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 0;
    padding: 0 20px;
    line-height: 1.5;
}

.explore-city-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px 0;
}

.explore-city-features span {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.explore-city-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-top: auto;
}

.explore-city-count {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.explore-city-link {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
}

/* BLM List cards
   ========================================================================== */

.explore-list-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-list-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
}

.explore-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.explore-list-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.explore-list-time {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
}

.explore-list-excerpt {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px;
    line-height: 1.5;
}

.explore-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.explore-list-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
}

.explore-list-tag--category {
    background: #fef3c7;
    color: #92400e;
}

.explore-list-tag--city {
    background: #dcfce7;
    color: #166534;
}

/* Responsive
   ========================================================================== */

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

    .explore-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }

    .explore-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .explore-header {
        padding: 48px 16px 40px;
    }

    .explore-title {
        font-size: 1.8rem;
    }

    .explore-subtitle {
        font-size: 0.95rem;
    }

    .explore-cards-grid,
    .explore-cards-grid--wide,
    .explore-insights-grid {
        grid-template-columns: 1fr;
    }

    .explore-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
    }

    .explore-section {
        margin-bottom: 40px;
    }

    .explore-list-header {
        flex-direction: column;
    }

    .explore-list-time {
        white-space: normal;
    }
}
