:root {
    --nn-green: #198754;
    --nn-green-light: #d1e7dd;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bs-body-bg);
}

.hero-section {
    background: linear-gradient(135deg, #1a6b3a 0%, #2d9c5c 50%, #4caf50 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.spot-card {
    border: none;
    border-radius: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
}

.spot-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.spot-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.spot-card-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--nn-green-light), #b2dfdb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--nn-green);
}

#map, #spot-map {
    height: 420px;
    border-radius: 12px;
    z-index: 1;
}

#mini-map {
    height: 300px;
    border-radius: 8px;
    z-index: 1;
}

.cleanup-card {
    border-left: 4px solid var(--nn-green);
    border-radius: 8px;
}

.badge-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.form-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-card {
    border-radius: 10px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    border-radius: 0 0 10px 10px;
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 340px;
    }
}

/* Dark mode */
[data-bs-theme="dark"] .leaflet-tile {
    filter: invert(1) hue-rotate(180deg);
}

[data-bs-theme="dark"] .leaflet-container {
    background: #303030;
}

[data-bs-theme="dark"] .spot-card-placeholder {
    background: linear-gradient(135deg, #1a3a2a, #1f4d35);
    color: #6dbf8b;
}
