/* Стили для travel blog - верхнее меню */
.logo {
    color: #FFFFFF;
    font-size: 2.2rem;
    margin: 10px 0;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #4169E1;
    font-weight: 800;
}

/* Обновленные стили для навигации */
.nav-menu ul {
    gap: 25px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.menu-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-link span {
    font-size: 1rem;
    font-weight: 500;
}

/* Статистика в мобильном меню */
.menu-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.menu-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-stats .stat-number {
    color: #4169E1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.menu-stats .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Стили для travel blog - секция home */
#home {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-content {
    position: relative;
    z-index: 2;
    padding-top: 20px; /* Добавляем отступ сверху для контента */
}

/* Гарантируем, что индикатор прокрутки не будет накладываться на контент */
.scroll-down {
    position: absolute;
    z-index: 10;
}

/* Увеличиваем отступ снизу для основного контента */
.hero-center {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

/* Фоновая фотография на весь экран */
.home-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.fullscreen-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Основной контент по центру */
.home-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-title {
    color: #FFFFFF;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    color:#dddddd;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-tags {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-tag i {
    color: #4169E1;
    font-size: 1.2rem;
}

/* Кнопка исследовать */
.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 45px;
    background: linear-gradient(135deg, #4169E1, #32CD32);
    color: #FFFFFF;
    border: none;
    border-radius: 35px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.explore-btn:hover::before {
    left: 100%;
}

.explore-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(65, 105, 225, 0.4);
}

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

.explore-btn i {
    font-size: 1.5rem;
}

/* Индикатор прокрутки */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
    animation: float 3s infinite ease-in-out;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(65, 105, 225, 0.2);
    backdrop-filter: blur(5px);
}

.scroll-arrow i {
    font-size: 1.3rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

/* Текст под индикатором */
.scroll-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.scroll-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Стили для карточек во всю ширину */
.fullwidth-cards {
    background: #000000;
}

/* Статистика во всю ширину */
.stats-fullwidth {
    background: #121212;
    padding: 80px 20px;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card-full {
    background: rgba(18, 18, 18, 0.8);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon-full {
    width: 70px;
    height: 70px;
    background: rgba(65, 105, 225, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.stat-icon-full i {
    font-size: 2.2rem;
    color: #4169E1;
}

.stat-content-full {
    position: relative;
    z-index: 1;
}

.stat-number-full {
    display: block;
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label-full {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Следующая поездка во всю ширину */
.next-trip-fullwidth {
    background: #0A0A0A;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.trip-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trip-header h2 {
    color: #FFFFFF;
    font-size: 2.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.trip-header h2 i {
    color: #FF8C00;
    font-size: 2.5rem;
}

.trip-date {
    color: #FF8C00;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.trip-destination {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.destination-info h3 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.destination-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    max-width: 800px;
    line-height: 1.6;
}

.trip-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item i {
    color: #FF8C00;
    font-size: 1.2rem;
}

/* Недавнее путешествие во всю ширину */
.recent-trip-fullwidth {
    background: #121212;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.recent-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.recent-header {
    margin-bottom: 40px;
}

.recent-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.recent-badge i {
    font-size: 1.1rem;
}

.recent-header h2 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.recent-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.recent-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.recent-description p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.3rem;
    line-height: 1.7;
}

.recent-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature i {
    color: #4CAF50;
    font-size: 2rem;
    margin-bottom: 10px;
}
/* ============ СЕКЦИЯ КОНТАКТОВ (Travel Blog стиль) ============ */
.contacts-section {
    padding: 80px 20px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.contacts-title {
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.contacts-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #4169E1, #32CD32);
    border-radius: 2px;
}

.contacts-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.6;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card,
.support-card,
.social-card {
    background: rgba(18, 18, 18, 0.8);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before,
.support-card::before,
.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4169E1, #32CD32);
}

.support-card::before {
    background: linear-gradient(90deg, #FF6B6B, #FF8C00);
}

.social-card::before {
    background: linear-gradient(90deg, #9370DB, #00CED1);
}

.contact-card:hover,
.support-card:hover,
.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(65, 105, 225, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper i {
    font-size: 1.5rem;
    color: #4169E1;
}

.support-card .card-icon-wrapper {
    background: rgba(255, 107, 107, 0.1);
}

.support-card .card-icon-wrapper i {
    color: #FF6B6B;
}

.social-card .card-icon-wrapper {
    background: rgba(147, 112, 219, 0.1);
}

.social-card .card-icon-wrapper i {
    color: #9370DB;
}

.card-header h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.contact-field {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-field:hover {
    background: rgba(255, 255, 255, 0.08);
}

.field-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.field-label i {
    color: #4169E1;
}

.field-value {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    padding-left: 30px;
}

.status-active {
    color: #32CD32;
    font-weight: 600;
}

.card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.travel-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.stat i {
    color: #4169E1;
}

.support-message {
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-message i {
    font-size: 1.5rem;
    color: #FF6B6B;
}

.support-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.payment-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.2) 0%, transparent 70%);
}

.card-design {
    position: relative;
    z-index: 2;
}

.card-chip {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.card-bank {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-number {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-holder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 10px;
}

.card-valid {
    color: #32CD32;
    font-size: 0.9rem;
    font-weight: 500;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #4169E1, #2f63ff);
    border: none;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(45deg, #2f63ff, #4169E1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(65, 105, 225, 0.3);
}

.action-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.action-hint i {
    color: #FFD700;
}

.social-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link.instagram .social-icon {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
}

.social-link.telegram .social-icon {
    background: #0088CC;
}

.social-link.youtube .social-icon {
    background: #FF0000;
}

.social-icon i {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.social-info {
    flex: 1;
}

.social-name {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.social-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: block;
}

.contacts-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-stat i {
    color: #4169E1;
}
/* Стили для кнопки закрытия мобильного меню */
.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close i {
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-close:hover i {
    transform: scale(1.1);
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .recent-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    #home {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tags {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .explore-btn {
        padding: 18px 35px;
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .trip-destination {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .trip-header h2 {
        font-size: 2.2rem;
    }

    .destination-info h3 {
        font-size: 2.2rem;
    }

    .trip-highlights {
        justify-content: center;
    }

    .recent-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-tag {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .explore-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .stat-number-full {
        font-size: 2.8rem;
    }

    .trip-header h2 {
        font-size: 1.8rem;
    }

    .destination-info h3 {
        font-size: 1.8rem;
    }

    .highlight-item {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .recent-header h2 {
        font-size: 2.2rem;
    }

    .menu-close i {
        font-size: 1.3rem;
    }
}

/* Исправляем логотип на мобильных устройствах */
@media screen and (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        margin: 0;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* Убираем лишние отступы */
    header {
        height: 60px;
        min-height: 60px;
        padding: 0 15px;
        justify-content: center;
        align-items: center;
    }

    /* Исправляем кнопку меню */
    .menu-btn {
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
    }
        .nav-menu.active .menu-close {
        display: flex;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 380px) {
    .logo {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
}

/* Исправляем индикатор прокрутки на мобильных */
@media screen and (max-width: 768px) {
    #home {
        height: calc(100vh - 60px); /* Учитываем высоту header */
        margin-top: 60px; /* Добавляем отступ сверху */
    }

    .scroll-down {
        bottom: 20px; /* Уменьшаем отступ снизу */
        gap: 8px;
    }

    .hero-center {
        min-height: calc(60vh - 60px); /* Уменьшаем минимальную высоту */
        padding-top: 20px; /* Добавляем отступ сверху */
    }

    /* Уменьшаем заголовок */
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
        padding-top: 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    /* Уменьшаем отступы для контента */
    .home-content {
        padding: 0 15px;
    }

    /* Уменьшаем размеры индикатора */
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }

    .scroll-arrow i {
        font-size: 1rem;
    }

    .scroll-text span {
        font-size: 0.75rem;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 480px) {
    #home {
        height: calc(100vh - 60px);
    }

    .hero-title {
        font-size: 2rem;
        padding-top: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tags {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    .hero-tag {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 15px 25px;
        font-size: 1rem;
        margin-top: 10px;
    }

    .scroll-down {
        bottom: 15px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
    }

    .scroll-arrow i {
        font-size: 0.9rem;
    }

    .scroll-text span {
        font-size: 0.7rem;
    }
}

/* Для iPhone SE и похожих устройств */
@media screen and (max-width: 380px) {
    #home {
        height: calc(100vh - 50px);
        margin-top: 50px;
    }

    header {
        height: 50px;
        min-height: 50px;
    }

    .logo {
        font-size: 1.4rem;
        max-width: 180px;
    }

    .hero-title {
        font-size: 1.8rem;
        padding-top: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .scroll-down {
        bottom: 10px;
    }
}

/* Исправляем расположение элементов в секции home на мобильных */
@media screen and (max-width: 768px) {
    #home {
        height: auto;
        min-height: calc(100vh - 60px);
        padding: 60px 0 80px 0; /* Увеличиваем отступ снизу */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 20px 15px 30px 15px; /* Добавляем отступы */
    }

    .hero-center {
        min-height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0 40px 0; /* Добавляем отступ снизу */
    }

    /* Увеличиваем отступы между элементами */
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-tags {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-tag {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Кнопка с увеличенным отступом снизу */
    .explore-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
        margin-top: 0;
        margin-bottom: 40px; /* Увеличиваем отступ снизу */
    }

    /* Позиционируем индикатор прокрутки */
    .scroll-down {
        position: relative;
        bottom: auto;
        margin-top: auto;
        padding-top: 20px;
        animation: float 3s infinite ease-in-out;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        margin: 0 auto;
    }

    .scroll-arrow i {
        font-size: 1rem;
    }

    .scroll-text span {
        font-size: 0.75rem;
        margin-top: 5px;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 480px) {
    #home {
        min-height: calc(100vh - 60px);
        padding: 50px 0 70px 0;
    }

    .hero-center {
        padding: 15px 0 30px 0;
    }

    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-tags {
        gap: 10px;
        margin-bottom: 25px;
    }

    .hero-tag {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 14px 25px;
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .scroll-down {
        padding-top: 15px;
    }

    .scroll-arrow {
        width: 32px;
        height: 32px;
    }

    .scroll-arrow i {
        font-size: 0.9rem;
    }
}

/* Для iPhone SE и похожих устройств */
@media screen and (max-width: 380px) {
    #home {
        min-height: calc(100vh - 50px);
        padding: 40px 0 60px 0;
    }

    .hero-center {
        padding: 10px 0 25px 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .scroll-down {
        padding-top: 10px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
    }

    .scroll-arrow i {
        font-size: 0.85rem;
    }

    .scroll-text span {
        font-size: 0.7rem;
    }
}