/* Основные стили для современного адаптивного дизайна */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: url('/_gadovo/images/body-1.webp');
    background-size: cover;
}

body.site {
    padding: 0;
}

/* Стили для основного контейнера с аркой */
.arka {
    text-align: center;
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh - 65px); /* Вычитаем высоту футера */
}

/* Контейнер для изображения и кнопок */
.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Стили для кнопок */
.buttons {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    top: 62%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.buttons a {
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
}

.buttons a:hover {
    transform: scale(1.05);
}

.buttons img {
    max-width: 300px;
    height: auto;
}

/* Стили для футера */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background: url('/_gadovo/images/home/footer-2.png');
    text-align: center;
    font-size: 16px;
    color: #460c0c;
    padding: 15px 0;
    box-sizing: border-box;
}

.footer > div {
    color: #f1edde;
    height: auto;
    max-width: 1100px;
    margin: 0 auto;
}

.footer a {
    color: #f1edde;
    text-decoration: none;
}

.footer a:hover {
    color: #f1edde;
    text-decoration: underline;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 767px) {
    .buttons {
        top: 63%;  /* Позиционирование от верха для мобильных */
        gap: 10px;
    }
    
    .buttons img {
        max-width: 200px;
    }
    
    .buttons a {
        margin-bottom: 5px;
    }
    
    .footer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .arka {
        padding: 5px;
    }
    
    .buttons {
        top: 63%;  /* Позиционирование от верха для маленьких экранов */
    }
    
    .buttons img {
        max-width: 110px;
    }
    
    .buttons {
        gap: 0px;
    }
    
    .buttons a {
        margin-bottom: 5px;
    }
    
    .footer {
        font-size: 12px;
    }
}
