        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Times New Roman', serif;
            background-color: #f8f9fa;
            color: #2c3e50;
            min-height: 100vh;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            border-bottom: 3px solid #34495e;
            background: linear-gradient(to bottom, #ffffff, #f1f2f6);
        }

        .header h1 {
            font-size: 2.2em;
            font-weight: 700;
            margin-bottom: 10px;
            color: #2c3e50;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .header .subtitle {
            font-size: 1.1em;
            color: #5a6c7d;
            font-weight: 400;
            margin-bottom: 15px;
            font-style: italic;
        }

        .coordinates {
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            color: #7f8c8d;
            background: #ecf0f1;
            padding: 8px 15px;
            border-radius: 4px;
            display: inline-block;
        }

        .controls {
            background: #ffffff;
            border: 2px solid #bdc3c7;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .controls h3 {
            margin-bottom: 20px;
            color: #2c3e50;
            font-size: 1.2em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid #34495e;
            padding-bottom: 8px;
        }

        .button-group {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            align-items: center;
        }

        .btn {
            background: #34495e;
            color: white;
            border: 2px solid #2c3e50;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-family: Arial, sans-serif;
        }

        .btn:hover {
            background: #2c3e50;
            border-color: #1a252f;
            transform: translateY(-1px);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn.active {
            background: #34495e;
            border: 2px solid #2c3e50;
        }

        .btn.active:hover {
            background: #2c3e50;
            border-color: #1a252f;
        }

        .btn.mode-switch {
            background: #e67e22;
            border-color: #d35400;
        }

        .btn.mode-switch:hover {
            background: #d35400;
            border-color: #a04000;
        }

        .map-type-container {
            display: flex;
            align-items: center;
            gap: 15px;
            background: #f8f9fa;
            padding: 12px 15px;
            border: 1px solid #bdc3c7;
        }

        .map-type-label {
            font-weight: 600;
            color: #2c3e50;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .map-type-select {
            padding: 8px 12px;
            border: 2px solid #bdc3c7;
            background: white;
            color: #2c3e50;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 140px;
        }

        .map-type-select:focus {
            outline: none;
            border-color: #34495e;
            background: #f8f9fa;
        }

        .map-type-select option {
            background: white;
            color: #2c3e50;
            padding: 8px;
        }

        .map-container {
            background: white;
            border: 3px solid #34495e;
            overflow: hidden;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        #map {
            width: 100%;
            height: 600px;
        }

        .info-window {
            max-width: 400px;
            padding: 0;
        }

        .marker-content {
            padding: 0;
            overflow: hidden;
            background: white;
            font-family: Arial, sans-serif;
        }
        .main-list {
            margin-left: 25px;
        }
        /* Стилі для слайдера фотографій */
        .photo-slider {
            position: relative;
            width: 75%;
            margin: 0 auto;
            height: 250px;
            overflow: hidden;
            background: #f8f9fa;
        }

        .photo-slider-container {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.3s ease;
        }

        .slider-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            flex-shrink: 0;
            border-bottom: 2px solid #34495e;
            background: #f8f9fa;
            cursor: pointer;
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(44, 62, 80, 0.8);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .slider-nav:hover {
            background: rgba(44, 62, 80, 1);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-nav.prev {
            left: 10px;
        }

        .slider-nav.next {
            right: 10px;
        }

        .slider-dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 5px;
        }

        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-dot.active {
            background: white;
            transform: scale(1.3);
        }

        .slider-counter {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(44, 62, 80, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: bold;
        }

        .fullscreen-btn {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(44, 62, 80, 0.8);
            color: white;
            border: none;
            padding: 8px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .fullscreen-btn:hover {
            background: rgba(44, 62, 80, 1);
            transform: scale(1.1);
        }

        .marker-info {
            padding: 15px;
        }

        .marker-title {
            font-size: 16px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .marker-description {
            font-size: 13px;
            color: #34495e;
            line-height: 1.5;
            margin-bottom: 10px;
        }

        .marker-location {
            font-size: 11px;
            color: #7f8c8d;
            font-family: 'Courier New', monospace;
            padding: 6px 8px;
            background: #ecf0f1;
            border-left: 3px solid #34495e;
        }

        .legend {
            background: white;
            border: 2px solid #bdc3c7;
            padding: 20px;
            margin-top: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .legend h4 {
            margin-bottom: 15px;
            color: #2c3e50;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 1px solid #bdc3c7;
            padding-bottom: 5px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            font-size: 13px;
            color: #34495e;
            padding: 5px 0;
        }

        .legend-symbol {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            border: 2px solid #2c3e50;
            flex-shrink: 0;
        }

        .border-legend-item {
            border: 2px dashed #e74c3c;
            background: rgba(231, 76, 60, 0.1);
        }

        .loading {
            text-align: center;
            padding: 60px;
            color: #2c3e50;
            font-size: 1.1em;
            font-weight: 500;
        }

        .error {
            background: #e74c3c;
            color: white;
            padding: 15px;
            margin: 20px 0;
            text-align: center;
            border: 2px solid #c0392b;
        }

        .scientific-info {
            background: #f8f9fa;
            border: 1px solid #bdc3c7;
            padding: 20px;
            margin-top: 20px;
            font-size: 13px;
            color: #5a6c7d;
        }

        .scientific-info h4 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 14px;
            text-transform: uppercase;
        }

        .grid-reference {
            font-family: 'Courier New', monospace;
            background: #ecf0f1;
            padding: 3px 6px;
            border: 1px solid #bdc3c7;
            font-size: 11px;
        }

        /* Демо-режим стилі */
        .demo-objects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .demo-object-card {
            background: white;
            border: 2px solid #bdc3c7;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

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

        .demo-object-slider {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

        .demo-slider-container {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.3s ease;
        }

        .demo-slider-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            flex-shrink: 0;
            background: #f8f9fa;
            cursor: pointer;
        }

        .demo-object-info {
            padding: 15px;
        }

        .demo-object-title {
            font-size: 16px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .demo-object-description {
            font-size: 13px;
            color: #34495e;
            line-height: 1.5;
            margin-bottom: 10px;
        }

        .demo-object-location {
            font-size: 11px;
            color: #7f8c8d;
            font-family: 'Courier New', monospace;
            padding: 6px 8px;
            background: #ecf0f1;
            border-left: 3px solid #34495e;
        }

        /* Повноекранний перегляд */
        .fullscreen-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .fullscreen-container {
            position: relative;
            max-width: 90%;
            max-height: 100%;
        }

        .fullscreen-image {
            max-width: 100%;
            max-height: 100vh;
            object-fit: contain;
        }

        .fullscreen-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgb(255 255 255 / 61%);
            color: #2c3e50;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .fullscreen-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .fullscreen-nav.prev {
            left: -70px;
        }

        .fullscreen-nav.next {
            right: -70px;
        }

        .fullscreen-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgb(255 255 255 / 61%);
            color: #2c3e50;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .fullscreen-close:hover {
            background: white;
            transform: scale(1.1);
        }

        .fullscreen-info {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.9);
            padding: 10px 20px;
            border-radius: 20px;
            color: #2c3e50;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            .header h1 {
                font-size: 1.6em;
            }
            
            .button-group {
                flex-direction: column;
                align-items: stretch;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }

            .map-type-container {
                width: 100%;
                justify-content: space-between;
            }

            .map-type-select {
                flex: 1;
                margin-left: 10px;
            }
            
            #map {
                height: 400px;
            }

            .demo-objects-grid {
                grid-template-columns: 1fr;
            }

            .info-window {
                max-width: 280px;
            }

            .fullscreen-nav.prev {
                left: 10px;
            }

            .fullscreen-nav.next {
                right: 10px;
            }
        }