﻿body {
    background-color: #f4f5f8;
}

.card {
    border: none;
    text-decoration: none;
    box-shadow: 0 1px 10px rgba(22,33,54,.16)
}

.telephone:hover {
    color: blue;
    text-decoration: underline;
}
/* модальное окно */
.city-modal .modal-dialog {
    max-width: 400px;
}

.city-list-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.city-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.city-item {
    text-decoration: none;
    color: #212529;
    padding: 8px 12px;
    border-radius: 4px;
}

    .city-item:hover {
        background-color: #f8f9fa;
        cursor: pointer;
    }
/* Стили для скроллбара */
.city-list-container::-webkit-scrollbar {
    width: 8px;
}

.city-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.city-list-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .city-list-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
/* модальное окно */
.contact-info i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #dc3545;
}

@media screen and (min-width: 600px) {
    .imgError {
        width: 400px;
    }
}

@media screen and (max-width: 600px) {
    .imgError {
        width: 80%;
    }
    footer {
        text-align: center;
    }
    .margin-phone{
        margin: 0 auto;
    }
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0;
}

/* калькулятор */
.quiz-step {
    display: none;
}

    .quiz-step.active {
        display: block;
    }

.btn-calc {
    border-color: #0d6efd;
    color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: rgba(13, 110, 253, 0.1);
    }

input[type="radio"]:checked + label {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}
/* Стили для герой-секции */
.hero-section {
    background-color: #1a3e72;
    color: white;
    padding-top: 80px;
    padding-bottom: 0;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.3;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

.min-vh-80 {
    min-height: 80vh;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 100px;
    }

/* Анимация параллакса */
@media (min-width: 992px) {
    .parallax-background {
        background-attachment: fixed;
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }

        .hero-section .d-flex {
            justify-content: center !important;
        }

    .min-vh-80 {
        min-height: auto;
        padding: 100px 0;
    }
}

/* Отзывы */
.divider {
    width: 80px;
    height: 3px;
    opacity: 0.7;
}

.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

    .review-card:hover {
        transform: translateY(-5px);
    }

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
}