/* Основные стили для шаблона AGPU */

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Отступ для фиксированного header */
body {
    padding-top: 0;
}

/* Отступы для якорных ссылок */
.anchor-offset {
    scroll-margin-top: 120px;
}

/* Основной контент */
.main-content {
    background: #fff;
    position: relative;
    z-index: 2;
}

/* Анимации для карточек материалов */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Стили для кнопок */
.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

.btn-lg {
    padding: 12px 30px;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border: none;
    color: #212529;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Секции контента */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

/* Заголовки секций */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ffc107, #ff9800);
    border-radius: 2px;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 992px) {
    .hero-section {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .quote-block {
        font-size: 1.1rem;
        padding: 30px 20px;
    }
    
    .teacher-photo-wrapper img {
        max-width: 280px !important;
    }
    
    .navbar-main {
        padding: 15px 0;
    }
    
    .navbar-main.scrolled {
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .quote-block {
        font-size: 1rem;
        padding: 25px 15px;
    }
    
    .teacher-photo-wrapper img {
        max-width: 220px !important;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 40px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .teacher-photo-wrapper img {
        max-width: 180px !important;
        border-width: 5px !important;
    }
    
    .quote-block {
        padding: 20px 15px;
    }
    
    .photo-badge {
        font-size: 0.9rem;
        padding: 6px 15px !important;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator i {
        font-size: 1.5rem;
    }
}

/* Для очень высоких экранов */
@media (min-height: 900px) {
    .page-header-wrapper {
        min-height: 95vh;
    }
    
    .hero-section {
        padding-top: 200px;
    }
}