/* Стили для лого на всех устройствах */
.nav-logo {
    font-size: 1.3rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 32px !important;
    height: 32px !important;
}

/* Мобильная адаптивность главной страницы */
@media (max-width: 768px) {
    /* Скрыть секции на мобильных */
    .nav-section {
        display: none !important;
    }
    
    /* Скрыть кнопку входа на десктопе в мобильной версии */
    .nav-login-desktop {
        display: none !important;
    }
    
    /* Основной navbar */
    .navbar {
        display: flex;
        flex-direction: row;
        border-bottom: none !important;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 20px;
        border-bottom: none !important;
    }
    
    .nav-logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .nav-logo span {
        display: inline !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    /* Мобильное меню справа */
    .nav-mobile-menu {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-mobile-menu .nav-link {
        padding: 8px 15px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .nav-mobile-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Остальные элементы */
    .section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-section {
        height: 60vh;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/2.png') !important;
    }
    
    .hero-text {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-blocks {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .about-decoration {
        display: block !important;
        max-height: 30%;
        opacity: 0.6;
    }
    
    .grinch-decoration {
        display: block !important;
        max-height: 35%;
        opacity: 0.5;
    }
    
    .hero-section > .scroll-indicator {
        display: none !important;
    }
    
    .hero-mobile-scroll {
        display: block !important;
        position: absolute !important;
        bottom: 30px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-mobile-scroll .scroll-indicator {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
    }
    
    .scroll-indicator {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .nav-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-card {
        padding: 25px 20px;
    }
    
    .nav-logo span {
        display: inline !important;
        font-size: 0.9rem;
    }
    
    .hero-text {
        left: 50% !important;
        bottom: 100px !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        width: 90% !important;
        position: absolute !important;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-year {
        font-size: 2.2rem !important;
        display: block !important;
    }
    
    .hero-text p {
        font-size: 1rem !important;
        margin-top: 15px !important;
    }
    
    .hero-mobile-scroll {
        display: block !important;
        position: absolute !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }
    
    .hero-section > .scroll-indicator {
        display: none !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-blocks {
        grid-template-columns: 1fr !important;
    }
    
    .scroll-indicator {
        bottom: 20px !important;
        padding: 10px 15px !important;
    }
    
    .contact-block {
        padding: 25px 20px !important;
    }
    
    .scroll-to-top {
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}