/* ============================================
   Стили для страницы ремонта мониторов
   ============================================ */

/* Баннер */
.service-banner {
    background: linear-gradient(135deg, #1e2a3a 0%, #0f1724 100%);
    padding: 80px 0 60px;
    color: #fff;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/services/img/pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.service-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.service-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.service-banner .breadcrumb-item a {
    color: #ffc107;
    transition: color 0.3s;
}

.service-banner .breadcrumb-item a:hover {
    color: #ffcd38;
    text-decoration: none;
}

.service-banner .breadcrumb-item.active {
    color: #fff;
}

.service-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
    content: "›";
    font-size: 18px;
}

/* Карточка цен */
.price-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: sticky;
    top: 100px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card-header {
    background: linear-gradient(135deg, #1e2a3a 0%, #2c3e50 100%);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.price-card-header img {
    border-radius: 10px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}

.price-card-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.price-list {
    padding: 0;
}

.price-list .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
    transition: background 0.3s;
}

.price-list .list-group-item:hover {
    background: #f8f9fa;
}

.price-list .list-group-item .badge {
    background-color: #28a745;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
}

.price-list .list-group-item .price {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

.price-footer {
    background: #f8f9fa;
    padding: 20px;
}

.btn-order {
    background: #ffc107;
    border: none;
    color: #1e2a3a;
    font-weight: bold;
    padding: 12px 30px;
    transition: all 0.3s;
    border-radius: 50px;
}

.btn-order:hover {
    background: #ffcd38;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Описание услуги */
.service-description h2 {
    color: #1e2a3a;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-description .lead {
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Особенности */
.service-features {
    margin: 30px 0;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.feature-item i {
    font-size: 40px;
    color: #ffc107;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e2a3a;
}

.feature-item p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Бренды */
.brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.brand {
    background: #e9ecef;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
}

.brand:hover {
    background: #ffc107;
    color: #1e2a3a;
    transform: scale(1.05);
}

/* Список проблем */
.problems-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.problems-list li {
    padding: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.problems-list li i {
    margin-right: 10px;
    color: #28a745;
    font-size: 18px;
}

/* Преимущества */
.advantages {
    margin-top: 20px;
}

.advantage-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.advantage-item i {
    font-size: 32px;
    color: #ffc107;
    min-width: 50px;
    text-align: center;
}

.advantage-item h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #1e2a3a;
}

.advantage-item p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Табы */
.service-tabs {
    background: #f8f9fa;
}

.service-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tabs .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.service-tabs .nav-tabs .nav-link i {
    margin-right: 8px;
}

.service-tabs .nav-tabs .nav-link:hover {
    color: #ffc107;
    border-color: transparent;
}

.service-tabs .nav-tabs .nav-link.active {
    color: #ffc107;
    border-bottom: 3px solid #ffc107;
    background: transparent;
}

.service-tabs .tab-content {
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Модели */
.model-list {
    list-style: none;
    padding: 0;
}

.model-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.model-list li:last-child {
    border-bottom: none;
}

/* Гарантия */
.guarantee-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.guarantee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guarantee-item i {
    margin-bottom: 15px;
}

.guarantee-item h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e2a3a;
}

/* Отзывы */
.review-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
    height: 100%;
}

.review-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.review-header i {
    font-size: 32px;
    color: #6c757d;
}

.review-header strong {
    font-size: 16px;
    color: #1e2a3a;
}

.review-header .stars {
    color: #ffc107;
    margin-left: auto;
}

.review-item p {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

/* Способы оплаты */
.payment-method {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
    height: 100%;
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.payment-method i {
    color: #ffc107;
    margin-bottom: 15px;
}

.payment-method h5 {
    margin: 15px 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1e2a3a;
}

.payment-method p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Галерея */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 20px;
    transition: bottom 0.3s;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h5 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

/* FAQ */
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e2a3a;
}

.faq-question h5 i {
    color: #ffc107;
    font-size: 18px;
}

.faq-question i:last-child {
    color: #6c757d;
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-question.active i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #eee;
    background: #fff;
    display: none;
}

.faq-answer p {
    margin: 15px 0 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Контактная информация */
.contact-info-card,
.form-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s;
}

.contact-info-card:hover,
.form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-card h3,
.form-card h3 {
    color: #1e2a3a;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
}

.contact-details {
    margin: 30px 0;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-detail i {
    font-size: 22px;
    color: #ffc107;
    width: 35px;
    text-align: center;
    margin-top: 3px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 5px;
    color: #1e2a3a;
    font-size: 14px;
}

.contact-detail a {
    color: #1e2a3a;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #ffc107;
}

.contact-detail p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

.messengers .btn {
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 50px;
    padding: 8px 18px;
}

.messengers .btn-success {
    background: #25D366;
    border-color: #25D366;
}

.messengers .btn-success:hover {
    background: #20b859;
    border-color: #20b859;
}

.messengers .btn-primary {
    background: #7360F2;
    border-color: #7360F2;
}

.messengers .btn-primary:hover {
    background: #5f4bd6;
    border-color: #5f4bd6;
}

/* Форма */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #1e2a3a;
    font-size: 14px;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s;
    font-size: 14px;
}

.form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Карта */
.map-section iframe {
    display: block;
}

/* Адаптивность */
@media (max-width: 991px) {
    .price-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .service-title {
        font-size: 32px;
    }
    
    .service-banner {
        padding: 60px 0 40px;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 28px;
    }
    
    .service-banner {
        padding: 50px 0 30px;
        margin-top: 60px;
    }
    
    .problems-list {
        grid-template-columns: 1fr;
    }
    
    .service-tabs .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .contact-info-card,
    .form-card {
        padding: 25px;
    }
    
    .brands-list {
        gap: 8px;
    }
    
    .brand {
        font-size: 12px;
        padding: 4px 14px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .review-header {
        flex-wrap: wrap;
    }
    
    .review-header .stars {
        margin-left: 0;
        width: 100%;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .service-tabs .nav-tabs {
        flex-wrap: wrap;
    }
    
    .service-tabs .nav-tabs .nav-link {
        flex: 1;
        text-align: center;
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .service-tabs .nav-tabs .nav-link i {
        margin-right: 5px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-description h2 {
        font-size: 24px;
    }
    
    .contact-detail {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-detail i {
        width: auto;
    }
    
    .price-card-header h3 {
        font-size: 20px;
    }
    
    .btn-order {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}