/* === ОСНОВНОЙ КОНТЕНТ ГЛАВНОЙ СТРАНИЦЫ === */
.main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 120px);
    padding: 40px 5%;
    max-width: 1300px; /* Уменьшили с 1400px */
    margin: 0 auto;
    gap: 40px; /* Уменьшили с 60px */
}

.text-section {
    flex: 1;
    max-width: 550px; /* Уменьшили с 600px */
    padding-right: 20px; /* Добавили отступ от логотипа */
}

.main-title {
    font-size: 4rem; /* Уменьшили с 4.5rem */
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px; /* Уменьшили с 20px */
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.subtitle-white {
    font-size: 2rem; /* Уменьшили с 2.2rem */
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px; /* Уменьшили с 24px */
    line-height: 1.3;
}

.subtitle-gray {
    font-size: 1.2rem; /* Уменьшили с 1.3rem */
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

[data-theme="dark"] .subtitle-gray {
    color: #94a3b8;
}

/* === ЛОГОТИП === */
.logo-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo-container {
    width: 380px; /* Уменьшили с 400px */
    height: 380px;
    padding-left: 20px; /* Добавили отступ от текста */
}

/* === ЛОГОТИП С АДАПТИВНОЙ ТЕНЬЮ === */
.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Для светлой темы - более темная тень */
    filter: drop-shadow(0 20px 80px rgba(160, 90, 120, 0.8))
        drop-shadow(0 10px 40px rgba(160, 90, 120, 0.15))
        drop-shadow(0 5px 20px rgba(160, 90, 120, 0.1));
    border-radius: 24px;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.logo-image:hover {
    transform: translateY(-5px);
    /* Более насыщенная тень при наведении */
    filter: drop-shadow(0 25px 80px rgba(160, 90, 120, 1))
        drop-shadow(0 15px 40px rgba(160, 90, 120, 0.4))
        drop-shadow(0 5px 25px rgba(160, 90, 120, 0.4));
}

/* Для темной темы - светлая розовая тень */
[data-theme="dark"] .logo-image {
    filter: drop-shadow(0 20px 80px rgba(224, 143, 174, 0.25))
        drop-shadow(0 10px 40px rgba(224, 143, 174, 0.2))
        drop-shadow(0 5px 20px rgba(224, 143, 174, 0.15));
}

[data-theme="dark"] .logo-image:hover {
    filter: drop-shadow(0 25px 80px rgba(224, 143, 174, 0.35))
        drop-shadow(0 15px 40px rgba(224, 143, 174, 0.25))
        drop-shadow(0 5px 25px rgba(224, 143, 174, 0.2));
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1200px) {
    .main-content {
        max-width: 1100px;
        gap: 30px; /* Еще ближе на меньших экранах */
    }

    .logo-container {
        width: 320px;
        height: 320px;
    }

    .main-title {
        font-size: 3.8rem;
    }

    .subtitle-white {
        font-size: 1.9rem;
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        text-align: center;
        padding: 60px 5% 40px;
        gap: 50px;
    }

    .text-section {
        max-width: 100%;
        order: 1;
    }

    .logo-section {
        justify-content: center;
        order: 2;
    }

    .subtitle-gray {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .subtitle-white {
        font-size: 1.6rem;
    }

    .subtitle-gray {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .logo-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 40px 5% 30px;
        gap: 40px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle-white {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .subtitle-gray {
        font-size: 1rem;
        padding: 0 10px;
    }

    .logo-container {
        width: 250px;
        height: 250px;
    }
}
