/* dvery.css - Специфичные стили для страницы про вмятины на дверях */

/* Стили для кнопки возврата на главную */
.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all .3s;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.home-button:hover {
    background: rgba(255, 107, 0, 1);
    transform: translateY(-3px);
}

/* Специфичные стили для герой-секции на странице про двери */
.dvery-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

/* Логотип в герое */
.dvery-hero .logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    object-fit: contain;
}

/* Стили для контента статьи */
.article-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 18px;
    text-align: justify;
}

.article-content h2 {
    color: #FF6B00;
    font-size: 32px;
    margin: 35px 0 20px;
    font-weight: 700;
    text-align: center;
}

.article-content h3 {
    color: #FFD700;
    font-size: 26px;
    margin: 30px 0 18px;
    font-weight: 600;
    text-align: center;
}

.article-content h4 {
    color: #FF8A33;
    margin: 25px 0;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.article-content p {
    margin-bottom: 20px;
}

.article-image {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    border: 2px solid #FF6B00;
}

.article-content ul {
    padding-left: 25px;
    margin: 15px 0;
}

.article-content li {
    margin-bottom: 12px;
    font-size: 18px;
}

/* Стили для блоков цен */
.price-range {
    display: flex;
    gap: 25px;
    margin: 30px 0;
}

.price-item {
    flex: 1;
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255,107,0,.2);
    transition: transform .3s;
}

.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,107,0,.15);
}

.price-item i {
    font-size: 36px;
    color: #FF6B00;
}

.price-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #FFD700;
    white-space: nowrap;
}

.price-amount {
    font-weight: 700;
    color: #fff;
    font-size: 24px;
    white-space: nowrap;
}

.price-desc {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

/* Стили для факторов цены */
.price-factors {
    margin-top: 35px;
}

.factors-title {
    color: #FF6B00;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 22px;
}

.factors-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.factors-list li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,.15);
    gap: 15px;
    font-size: 18px;
}

.factors-list i {
    color: #FF6B00;
    width: 25px;
    text-align: center;
    font-size: 20px;
}

.factor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,107,0,.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Уведомление о цене */
.price-notice {
    background: rgba(255,107,0,.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 30px 0;
}

.price-notice i {
    color: #FF6B00;
    font-size: 24px;
    flex-shrink: 0;
}

.price-notice p {
    margin: 0;
    font-size: 18px;
}

.estimate-link {
    color: #FF6B00;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed;
    transition: all .3s;
}

.estimate-link:hover {
    color: #FF8A33;
    border-bottom-color: transparent;
}

/* Стили для деталей качества */
.quality-details {
    margin: 40px 0;
    text-align: left;
}

.detail-item {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255,255,255,.03);
    border-radius: 10px;
    border-left: 4px solid #FF6B00;
}

.detail-item h4 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #FF6B00;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-item p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

/* Стили для преимуществ */
.access-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.access-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,107,0,.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform .3s;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,107,0,.1);
}

.access-card i {
    color: #FF6B00;
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.access-card h4 {
    color: #FFD700;
    font-size: 20px;
    margin: 0 0 12px 0;
}

.access-card p {
    font-size: 16px;
    margin: 0;
    color: #aaa;
    line-height: 1.6;
}

/* Стили для принцип-бокса */
.principle-box {
    background: rgba(255,107,0,.1);
    border-left: 4px solid #FF6B00;
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.principle-icon {
    color: #FF6B00;
    font-size: 28px;
    flex-shrink: 0;
}

.principle-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
}

.principle-box strong {
    color: #FFD700;
}

/* Стили для призыва к действию */
.dvery-cta {
    background: #111;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Стили для секции с видео */
.videos-section {
    padding: 60px 0;
    background: rgba(255,255,255,0.02);
    margin: 40px 0;
}

.videos-title {
    color: #FF6B00;
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.videos-subtitle {
    color: #ccc;
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.videos-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-item {
    flex: 1;
    max-width: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,107,0,0.2);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,107,0,0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9/16 = 0.5625, но для вертикального 16/9 = 1.7778 */
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    color: #FFD700;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Адаптивность для страницы про двери */
@media (max-width: 768px) {
    .price-range {
        flex-direction: column;
    }
    
    .access-types {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 26px;
    }
    
    .article-content h3 {
        font-size: 22px;
    }
    
    .factors-list li {
        font-size: 16px;
    }
    
    .article-image {
        max-width: 95%;
    }
    
    .price-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .price-item i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .icon-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .detail-item h4 {
        font-size: 18px;
    }
    
    .home-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        left: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .videos-container {
        flex-direction: column;
        align-items: center;
    }
    
    .video-item {
        max-width: 100%;
        width: 100%;
    }
    
    .videos-title {
        font-size: 26px;
    }
    
    .videos-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .icon-circle {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .videos-section {
        padding: 40px 0;
    }
    
    .videos-title {
        font-size: 22px;
    }
    
    .video-item {
        padding: 15px;
    }
}

/* Дополнительные улучшения для десктопа */
@media (min-width: 1200px) {
    .article-content {
        font-size: 20px;
    }
    
    .article-content h2 {
        font-size: 36px;
    }
    
    .article-content h3 {
        font-size: 28px;
    }
    
    .factors-list li {
        font-size: 20px;
    }
    
    .price-item {
        padding: 30px;
    }
    
    .detail-item {
        padding: 30px;
    }
}