/**
 * Interests Styles
 *
 * Styles for interests listing and interest details pages
 *
 * @package TravelSuggest
 * @since 1.0.0
 */

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

/* All Interests Page Hero */
.interests-hero-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.interests-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.interests-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.interests-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.interests-hero .hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.interests-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.interests-hero .hero-subtitle {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
}

.interests-hero .hero-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.interests-hero .hero-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

/* ========================================
   Interests Grid
   ======================================== */

.interests-container,
.interest-destinations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 60px 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.interest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.interest-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.interest-card-content {
    position: relative;
    z-index: 2;
}

.interest-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.interest-card-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.interest-badge-popular {
    display: none;
}

.interest-card-arrow {
    display: none;
}

/* ========================================
   No Results Messages
   ======================================== */

.no-interests-message,
.no-destinations-message {
    text-align: center;
    padding: 60px 20px;
}

.no-interests-message p,
.no-destinations-message p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.no-interests-message .button,
.no-destinations-message .button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-interests-message .button:hover,
.no-destinations-message .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Interests Section on Destinations Page
   ======================================== */

.destinations-interests-section {
    max-width: 1200px;
    margin: 60px auto;
    /* padding: 0 20px; */
}

.destinations-interests-section .section-header {
    margin-bottom: 32px;
}

.destinations-interests-section .section-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.destinations-interests-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.destinations-interests-section .section-header p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.destinations-interests-section .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.destinations-interests-section .view-all-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

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

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

@media (max-width: 768px) {
    .interests-hero .hero-title {
        font-size: 2rem;
    }

    .interests-hero .hero-subtitle {
        font-size: 1rem;
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .destinations-interests-section .section-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .interests-hero {
        height: 300px;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .interest-card {
        padding: 20px;
        min-height: 160px;
    }

    .interest-card-title {
        font-size: 1.25rem;
    }
}

