/* Дополнительные стили для Phoenix интеграции */

/* Hover эффекты для карточек */
.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Улучшенные кнопки */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lg {
    border-radius: 0.75rem;
    font-weight: 600;
}

/* Стили для форм */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Стили для разделителей */
.divider-content-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
}

/* Стили для социальных кнопок */
.btn-phoenix-secondary {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.btn-phoenix-secondary:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

/* Анимации для счетчиков */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.display-4 {
    animation: fadeInUp 0.6s ease-out;
}

/* Стили для hero секции */
.hero-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Стили для секций */
section {
    position: relative;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Стили для футера */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .hero-header {
        text-align: center;
    }
    
    .hero-header h1 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .bg-body-tertiary {
        background-color: #212529 !important;
    }
    
    .text-body-secondary {
        color: #adb5bd !important;
    }
    
    .text-body-tertiary {
        color: #6c757d !important;
    }
    
    .card {
        background-color: #343a40;
        border-color: #495057;
    }
    
    .form-control {
        background-color: #495057;
        border-color: #6c757d;
        color: #fff;
    }
    
    .form-control:focus {
        background-color: #495057;
        color: #fff;
    }
}

/* Улучшенные переходы */
* {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Стили для спиннеров */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Стили для валидации */
.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Стили для чекбоксов */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Стили для ссылок */
a {
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    text-decoration: underline;
}

/* Стили для изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Стили для иконок */
.fas, .fab, .uil {
    transition: transform 0.2s ease-in-out;
}

.fas:hover, .fab:hover, .uil:hover {
    transform: scale(1.1);
}
