﻿/* ActivitiesGuide.css */
.activities-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.subheader {
    color: #666;
    font-size: 1.1rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .filter-btn.active {
        background: #6f8c9f;
        color: white;
    }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px)); /* Fixed column width */
    justify-content: center; /* Center columns */
    gap: 2rem;
    padding: 1rem;
    width: 100%;
}

.activity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .activity-card:hover {
        transform: translateY(-5px);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.activity-type {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
}

    .activity-type.outdoor {
        background: #4CAF50;
    }

    .activity-type.cultural {
        background: #FF9800;
    }

    .activity-type.food {
        background: #E91E63;
    }

    .activity-type.shopping {
        background: #9C27B0;
    }

.favorite-btn {
    background: none;
    border: none;
    color: #ff4081;
    font-size: 1.2rem;
    cursor: pointer;
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

.price-badge {
    background: #fadda3;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-left:0.8rem;
}

.details-btn {
    width: 100%;
    padding: 0.8rem;
    background: #1976D2;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .details-btn:hover {
        background: #1565C0;
    }


/* For mobile view */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: minmax(250px, 300px); /* Single centered column */
        justify-content: center;
    }

    .activity-card {
        margin: 0 auto; /* Center cards in mobile view */
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }
}
