/* page-activities.css */

/* --- ヒーロー --- */
.activities-hero {
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('your-hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}
.activities-hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 0.5rem;
}
.activities-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- 全体レイアウト --- */
.activities-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* --- フィルター --- */
.activities-filter {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    align-self: start;
    position: sticky;
    top: 2rem;
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.75rem;
}
#search-keyword {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkbox-wrapper {
    display: flex;
    align-items: center;
}
.checkbox-wrapper input {
    margin-right: 0.5rem;
}
#filter-reset-btn {
    width: 100%;
    padding: 0.75rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
#filter-reset-btn:hover {
    background: #5a6268;
}

/* --- 一覧 --- */
.results-count {
    margin-bottom: 1rem;
    font-weight: bold;
}
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-image {
    height: 200px;
    position: relative;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-overlay-info {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}
.card-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.card-badge.new { background: #dc3545; }
.card-badge.luxury { background: #ffc107; color: #333; }

.card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.card-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.card-details {
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: #555;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.no-results-message {
    padding: 3rem 1rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

/* --- レスポンシブ --- */
@media (max-width: 992px) {
    .activities-container {
        grid-template-columns: 1fr;
    }
    .activities-filter {
        position: static;
        top: auto;
    }
}
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}