/* Основные стили Tailwind мы подключим через CDN в HTML */
/* Здесь только кастомные стили */

/* Импорт иконок */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Ваши кастомные стили */
.nav-transition {
    transition: all 0.3s ease-in-out;
}

.burger-line {
    transition: all 0.3s ease;
}

.burger-active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.mobile-menu.open {
    max-height: 500px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1e40af;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1e3a8a;
    transform: translateY(-3px);
}

/* Адаптивные изображения */
img.gallery-img { aspect-ratio: 300 / 192; }
img.logo-img { aspect-ratio: 150 / 64; }
.operator-icon { width: 20px; height: 20px; margin-right: 5px; vertical-align: middle; }

/* Дополнительные стили */
.page-hero {
    background-size: cover;
    background-position: center;
    height: 400px;
}

@media (min-width: 768px) {
    .page-hero {
        height: 450px;
    }
}

.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Активная ссылка в навигации */
.nav-active {
    background-color: #1e3a8a;
    color: white;
}

/* Контент статей */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: #1e40af;
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: #374151;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}