@import url('root.css');

/* ===== HERO SECTION ===== */

.kittens-section-top {
    margin-top: 0;
    position: relative;
    min-height: 45rem;
    height: auto;
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
}

@media (max-width: 480px) {
    .kittens-section-top {
        justify-content: center;
        align-content: center;
        min-height: 30rem;
    }
    
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .kittens-section-top-container-back_images {
        height: 100%;
    }
}

.hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    padding-left: 10%;
    padding-right: 10%;
}

.kittens-section-top-container-back_images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 480px) {
    .kittens-section-top-container-back_images {
        max-height: 30rem;
    }
}

.kittens-section-top-container-back_images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
    filter: brightness(0.8);

}

/* Текстовый блок */
.kittens-section-top-container-text {
    position: relative;
    margin-top: 10%;
    z-index: 3;
    text-align: center;
    background-color: rgba(94, 91, 91, 0);
    max-width: 550px;
    padding: 0 0px;
    left: 10%;
}

.kittens-section-top-container-text h1 {
    text-transform: uppercase;
    font-size: clamp(1rem, 6vw, 2rem);
    font-family: var(--header-family);
    text-align: left;
    color: white;
    margin-top: 0;
    padding-top: 0;
    font-weight: 500;
}

/* ===animation=== */

.kittens-section-top-container-text h1 {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease;
}

.kittens-section-top-container-text h1.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

/* ===animation=== */


.kittens-section-top-container-text h3 {
    font-size: clamp(1rem, 4vw, 1.5rem);
    text-align: left;
    color: white;
    font-weight: 300;
    margin: 1.5rem 0 1.5rem 0;
    font-family: var(--base-family);
}

/* anymation */

.kittens-section-top-container-text h3 {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.kittens-section-top-container-text h3.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Убираем position: absolute и left: 0 */
    width: auto;
    min-width: 220px;
    height: 56px;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--base-family);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    z-index: 6;
    position: relative; /* Добавляем relative вместо absolute */
}

.button:hover {
    animation: pulse 1s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        background-color: rgba(227, 223, 231, 0.4);
    }
    100% {
        transform: scale(1);
    }
}

/* Анимация появления */
.button {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.button.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

/* Вторая кнопка ВКонтакте */
.button-vk {
    background-color: #4C75A3;
    color: #ffffff;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 220px;
    border: 2px solid #ffffff;
    height: 56px;
    padding: 0 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--base-family);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(76, 117, 163, 0.3);
}

/* Анимация появления */
.button-vk {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.button-vk.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.button-vk:hover {
    background-color: #3b5f86;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 117, 163, 0.4);
}

.button-vk:active {
    transform: translateY(0);
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .button-vk {
        min-width: unset;
        width: 100%;
    }
}

