/* Подключение шрифта Montserrat */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background-color: #f4f4f4;
    /* Цвет фона для всего документа */
}

#top {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Полный экран */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 200px;
    width: 100%;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1000;
}

#man {
    position: absolute;
    /* Убедитесь, что элементы расположены правильно */
    bottom: 0;
}

section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#text {
    position: relative;
    color: white;
    font-size: 10rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Тень для текста */
}

#sec {
    padding: 100px;
    padding-bottom: 20px;
    background: #eaf0f1;
    /* Легкий фон для секции */
    border-radius: 8px;
    /* Скругленные углы */
}

#sec h2 {
    font-size: 4rem;
    margin-bottom: 30px;
    color: #20496a;
}

#sec p {
    font-size: 1.2rem;
    line-height: 2rem;
    font-weight: 300;
    color: #20496a;
}


/* Стили для подвала сайта */


/* Стили для подвала сайта */


/* Общие стили футера */

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-right: 20px;
    /* Отступ справа для футера */
}

.footer-info p {
    margin: 5px 0;
    font-size: 20px;
}

.footer-info a {
    color: #3498db;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
    margin-left: 20px;
}

.footer-right p {
    margin: 5px 0;
    font-size: 20px;
}

.payment-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.payment-icons a {
    display: inline-block;
}

.payment-icons img {
    width: 40px;
    height: auto;
}


/* Социальные иконки */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-right: 5%;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
}

.social-icons i {
    font-size: 44px;
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: #3498db;
}


/* Адаптивные стили для мобильных устройств */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        margin-bottom: 20px;
        text-align: center;
    }
    .footer-right {
        text-align: center;
        margin-left: 0;
    }
    .payment-icons,
    .social-icons {
        justify-content: center;
    }
}

main {
    padding: 1rem;
    max-width: 1200px;
    margin: 5%;
    background: #eaf0f1;
    /* Центрирование контейнера */
}

.tour-point {
    background-color: rgba(255, 255, 255, 0.8);
    /* Полупрозрачный фон */
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tour-point h2 {
    font-size: 1.5em;
    color: #2c3e50;
}

.tour-point p {
    font-size: 1em;
    line-height: 1.6;
}

.price {
    font-weight: bold;
    color: #e74c3c;
}

input[type="number"] {
    width: 60px;
    padding: 5px;
    margin-right: 10px;
}

button {
    background-color: #20496a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

button:hover {
    background-color: #2980b9;
}

.details {
    margin-top: 10px;
    font-style: italic;
}

#cart {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#checkout-btn {
    display: none;
    /* Изначально скрыто */
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#checkout-btn:hover {
    background-color: #27ae60;
}

.order-tour {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    display: none;
    /* Скрыто по умолчанию */
}

.order-tour h2 {
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 0.5rem;
}

input,
textarea {
    margin-top: 0.25rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button[type="submit"] {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    /* Плавный переход */
}

button[type="submit"]:hover {
    background-color: #1f6f99;
    /* Темнее при наведении */
}

.show-tour-button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 2rem auto;
    transition: background-color 0.3s ease;
    /* Плавный переход */
}

.show-tour-button:hover {
    background-color: #d35400;
    /* Темнее при наведении */
}

a {
    text-decoration: none;
}

#cart {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#cart h2 {
    margin-top: 0;
}

#cart-items {
    list-style-type: none;
    padding: 0;
}

#cart-items li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cart-items button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Плавный переход */
}

#cart-items button:hover {
    background-color: #e60000;
    /* Темнее при наведении */
}

#total-price {
    margin-top: 1%;
    margin-left: 1%;
}

@media (max-width: 768px) {
    .tour-point {
        padding: 10px;
        font-size: 14px;
    }
}