/* Base Styles */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html {
    background-color: var(--color-bg-light);
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
    padding-bottom: 100px;
    max-width: var(--app-max-width);
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}


.main {
    padding-bottom: var(--spacing-lg);
}

@media (max-width: 600px) {
    body {
        box-shadow: none;
    }
}

/* Modal Tour & Booking */
.modal-tour {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-max-width);
    height: 100%;
    background: var(--color-white);
    z-index: 2000;
    display: none;
    flex-direction: column;
}

.modal-tour--active {
    display: flex;
}

.modal-tour__header {
    padding: var(--spacing-md);
    background: var(--gradient-teal);
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Убрано скругление заголовка */
    border-radius: 0;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.tg-app .modal-tour__header {
    padding-top: calc(
        var(--tg-safe-area-inset-top, 0px) +
        var(--tg-content-safe-area-inset-top, 0px) +
        var(--spacing-md)
    );
}

.modal-tour__title {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
}

.modal-tour__close {
    font-size: 28px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

.modal-tour__body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.modal-tour__body iframe {
    width: 100%;
    height: 100%;
    border: none;
}