body {
    font-family: 'Segoe UI', 'Arial', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

/* Шапка сайта */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 20;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-bottom: 3px solid #1a4d2e;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #1a4d2e;
    letter-spacing: 1px;
}


.header-title {
    margin-left: 50px;
    font-size: 18px;
    color: #34495e;
    border-left: 2px solid #ecf0f1;
    padding-left: 30px;
}

/* Подвал */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 14px;
    color: #7f8c8d;
    border-top: 1px solid #ecf0f1;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Карта */
#map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    bottom: 50px;
    z-index: 0;
}

/* Панель управления */
.controls-panel {
    position: absolute;
    top: 90px;
    right: 20px;
    z-index: 10;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    padding: 22px;
    width: 380px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(200, 200, 200, 0.5);
    max-height: calc(100% - 160px);
    overflow-y: auto;
}

.controls-panel h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1a4d2e;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.controls-panel h3 {
    margin: 20px 0 12px 0;
    color: #1e3c5c;
    font-size: 1.1em;
    font-weight: 600;
}

.region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.region-btn {
    background: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.85em;
    cursor: pointer;
    color: #2c3e50;
    transition: all 0.2s;
    font-weight: 500;
}

.region-btn:hover {
    background: #27ae60;
    color: white;
    border-color: #1e8449;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    background: #f0f7f0;
    padding: 16px;
    border-radius: 16px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: white;
    padding: 8px 14px;
    border-radius: 40px;
}

.filter-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #27ae60;
}

.filter-item label {
    cursor: pointer;
    font-size: 1em;
    color: #1e3c5c;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.stats-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 8px;
}

.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e0e7e0;
    max-height: 400px;
    overflow-y: auto;
}

.info-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.badge-forest { background: #1e8449; }
.badge-reserve { background: #d35400; }
.badge-trail { background: #8e44ad; }

.info-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1e3c5c;
    margin: 10px 0 15px 0;
    line-height: 1.3;
}

.info-section {
    margin: 18px 0;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 12px;
}

.info-section-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.info-row {
    display: flex;
    margin: 8px 0;
    line-height: 1.5;
}

.info-label {
    width: 110px;
    color: #7f8c8d;
    font-size: 0.9em;
}

.info-value {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95em;
}

.info-description {
    background: #f8f9f9;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    line-height: 1.6;
    color: #34495e;
    border-left: 3px solid #27ae60;
}

.info-fact {
    background: #fef9e7;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    border-left: 3px solid #f39c12;
    line-height: 1.6;
}

.info-footer {
    font-size: 0.85em;
    color: #95a5a6;
    margin-top: 20px;
    text-align: right;
    border-top: 1px dashed #ecf0f1;
    padding-top: 12px;
}

.no-info {
    color: #7f8c8d;
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 16px;
    line-height: 1.6;
}

