* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

        .header {
            background: linear-gradient(135deg, #1e3c2c, #2a4a35);
            color: white;
            padding: 30px 25px;
            border-radius: 32px;
            margin-bottom: 35px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }
        .header h1 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        .badge {
            background: #eab308;
            color: #1e2a3e;
            display: inline-block;
            padding: 6px 14px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.85rem;
            margin-top: 12px;
        }
.filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
	flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.storage-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.storage-card:hover {
    transform: translateY(-5px);
}

/* Галерея */
.gallery {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
}

.gallery-slider {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    border-radius: 50%;
}

.gallery-btn.prev { left: 10px; }
.gallery-btn.next { right: 10px; }

.gallery-btn:hover {
    background: rgba(0,0,0,0.8);
}

.storage-info {
    padding: 20px;
}

.storage-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.storage-details {
    margin: 15px 0;
    color: #555;
}

.storage-details p {
    margin: 5px 0;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e67e22;
}

.book-btn {
    width: 100%;
    padding: 12px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #e67e22;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
        
 footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            color: #5c6f87;
            font-size: 0.8rem;
            border-top: 1px solid #dce5ec;
        }
        
#form-message {
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .storage-grid {
        grid-template-columns: 1fr;
    }
}
/* Модальное окно для видео */
.modal-video {
    max-width: 300px;
    width: 90%;
}

.modal-video h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.25%; /* Соотношение 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.video-description p {
    margin: 5px 0;
    color: #555;
}

.video-description p:first-child {
    font-weight: bold;
    color: #2c3e50;
}

/* Адаптив для видео */
@media (max-width: 768px) {
    .video-guide-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .modal-video {
        width: 95%;
        margin: 20px auto;
    }
}
