/* trips/static/trips/explore.css */

/* ========================================
   EXPLORE PAGE SPECIFIC STYLES
   ======================================== */

/* Explore Page Container */
.explore-page-container {
    min-height: 100vh;
    background: var(--neutral-light);
    padding: 2rem 0;
}

/* Page Header */
.explore-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.explore-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.explore-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tab Navigation */
.explore-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tab-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.tab-button.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Tab Content */
.explore-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab Section Headers */
.tab-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tab-section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tab-description {
    font-size: 1.1rem;
    color: var(--neutral-dark);
    opacity: 0.8;
}

/* Explore Trip Cards - base styles now handled by main styles.css */

/* Explore variant specific overrides */
.explore-trip-card {
    margin-bottom: 2rem;
    /* Inherits base styles from main styles.css */
}

/* Trip Card Image - Larger for explore cards */
.explore-trip-card .trip-card-image {
    height: 250px;
    /* Inherits other styles from main styles.css */
}

.explore-trip-card .trip-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-trip-card:hover .trip-card-overlay {
    opacity: 1;
}

.explore-trip-card .trip-card-actions {
    display: flex;
    gap: 1rem;
}

/* Trip Card Content - Enhanced for explore */
.explore-trip-card .trip-card-content {
    padding: 2rem;
}

.explore-trip-card .trip-card-header {
    margin-bottom: 1.5rem;
}

.explore-trip-card .trip-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    /* Inherits other styles from trips.css */
}

.explore-trip-card .trip-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    /* Inherits other styles from trips.css */
}

.explore-trip-card .trip-stats {
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    /* Inherits other styles from trips.css */
}

.explore-trip-card .trip-stat {
    font-size: 1rem;
    font-weight: 500;
    /* Inherits other styles from trips.css */
}

.explore-trip-card .trip-stat i {
    font-size: 1.1rem;
    /* Inherits other styles from trips.css */
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Enhanced Grid for Explore Cards */
.trips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .explore-tabs {
        gap: 1.5rem;
    }

    .tab-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .explore-trip-card .trip-card-image {
        height: 300px;
    }

    .trips-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .explore-trip-card .trip-card-image {
        height: 350px;
    }

    .trips-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .explore-page-container {
        padding: 1rem 0;
    }

    .explore-header {
        padding: 2rem 0;
    }

    .explore-header h1 {
        font-size: 2rem;
    }

    .explore-tabs {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .tab-button {
        width: 200px;
        padding: 0.75rem 1rem;
    }

    .explore-content {
        padding: 0 1rem;
    }

    .tab-section-header h2 {
        font-size: 2rem;
    }

    .explore-trip-card .trip-card-content {
        padding: 1.5rem;
    }

    .explore-trip-card .trip-title {
        font-size: 1.4rem;
    }

    .explore-trip-card .trip-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .explore-trip-card .trip-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .explore-header-content,
    .explore-content {
        padding: 0 1rem;
    }

    .explore-trip-card .trip-card-content {
        padding: 1rem;
    }

    .explore-trip-card .trip-card-image {
        height: 200px;
    }
}

/* Button Enhancements for Explore Cards */
.explore-trip-card .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.explore-trip-card .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.explore-trip-card .btn-primary:hover {
    background: var(--primary-dark, #2563eb);
    border-color: var(--primary-dark, #2563eb);
    transform: translateY(-2px);
}

.explore-trip-card .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.explore-trip-card .btn-white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.explore-trip-card .btn-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}
