/* Copyright (c) 2024-2026. Jericho Crosby (Chalwk) */

:root {
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f59e0b;
    --info: #17a2b8;
}

.hero-section {
    text-align: center;
    padding-top: 3rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 1rem auto;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--secondary);
    color: white;
}

.category-btn.active {
    background: var(--secondary);
    color: white;
}

.category-section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-header h2 {
    font-size: 1.5rem;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.category-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.place-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    padding: 1.5rem;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.place-content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.place-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.place-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.place-link:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .category-content {
        grid-template-columns: 1fr;
    }

    .controls {
        flex-direction: column;
    }

    .category-filter {
        justify-content: center;
    }
}

.collapsed .category-content {
    display: none;
}

.collapsed .toggle-icon {
    transform: rotate(180deg);
}