/* Основные стили Киевский Окна */

:root {
    --primary-color: #0078BE;
    --secondary-color: #4CAF50;
    --light-bg: rgba(255, 255, 255, 0.95);
    --dark-bg: #333333;
}

/* Кнопки */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #005f99 !important;
    border-color: #005f99 !important;
}

.btn-dark {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-dark:hover {
    background-color: #3d8b40 !important;
    border-color: #3d8b40 !important;
}

.btn-light {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
}

.btn-light:hover {
    background-color: #f0f0f0 !important;
    border-color: #f0f0f0 !important;
}

/* Заголовки */

/* Карточки */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Преимущества */
.advantage-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.advantage-card.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.advantage-card.blue {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.advantage-card.green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.advantage-card.orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: rotateY(360deg);
    background: rgba(255, 255, 255, 0.3);
}

.advantage-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.advantage-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    opacity: 0.15;
    color: white;
}

/* Услуги */
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-icon-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.service-icon-wrapper.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-icon-wrapper.blue {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.service-icon-wrapper.green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.service-icon-wrapper.orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-icon-wrapper.cyan {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

.service-icon-wrapper.red {
    background: linear-gradient(135deg, #f85032 0%, #e73827 100%);
}

.service-icon {
    font-size: 48px;
    color: white;
    z-index: 1;
}

.service-body {
    padding: 30px;
    text-align: center;
}

.service-body h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.service-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-btn.blue {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.service-btn.green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h5 {
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-icon {
    color: #4CAF50;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-contact {
    font-size: 16px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    margin: 0;
}

.info-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 8px 15px;
    margin: 5px;
    font-size: 13px;
}

.info-badge.warning {
    background: rgba(255, 152, 0, 0.2);
    border-color: #ff9800;
}

.info-badge.info {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196f3;
}

/* Карточки цен */
.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.price-card.popular {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.price-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.price-card.popular .price-icon {
    background: rgba(255, 255, 255, 0.2);
}

.price-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.price-card.popular h3 {
    color: white;
}

.price-tag {
    font-size: 18px;
    margin-bottom: 25px;
    color: #666;
}

.price-card.popular .price-tag {
    color: rgba(255, 255, 255, 0.9);
}

.price-tag strong {
    font-size: 28px;
    color: var(--primary-color);
}

.price-card.popular .price-tag strong {
    color: #ffd700;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
}

.price-card.popular .price-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.price-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #4CAF50;
}

.price-card.popular .price-features li:before {
    color: #ffd700;
}

.price-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Карточки отделки */
.finish-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.finish-card.popular {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.finish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.finish-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.finish-card.popular h4 {
    color: white;
}

.price-tag-large {
    font-size: 24px;
    margin-bottom: 25px;
    color: #666;
}

.finish-card.popular .price-tag-large {
    color: rgba(255, 255, 255, 0.9);
}

.price-tag-large strong {
    font-size: 32px;
    color: var(--primary-color);
}

.finish-card.popular .price-tag-large strong {
    color: #ffd700;
}

.finish-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finish-features li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.finish-card.popular .finish-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.finish-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #4CAF50;
}

.finish-card.popular .finish-features li:before {
    color: #ffd700;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    .footer-section {
        margin-bottom: 25px;
    }
    .section-heading-lower {
        font-size: 18px !important;
        font-weight: bold !important;
    }
    .section-heading-upper {
        font-size: 18px !important;
        font-weight: bold !important;
    }
}

/* Бренды */
.brand-card {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Гео-ссылки */
.geo-link-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.geo-link-card:hover .geo-link {
    color: white;
}

.geo-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.geo-link:hover {
    text-decoration: underline;
}

/* Хлебные крошки */
.breadcrumb {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #999;
}

.breadcrumb-item.active {
    color: #666;
}

/* Brand badges */
.brand-badge {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.brand-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 190, 0.3);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

/* Problem cards */
.problem-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.problem-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.problem-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
