/* CSS переменные */
:root {
    --accent-green: #11293e;
    --text-dark: #0f273c;
    --beige-light: #ffffff;
}

/* Оптимизированные шрифты с font-display для быстрой загрузки */
@font-face {
    font-family: 'DRUZHOK';
    src: url('fonts/DRUZHOK.otf') format('opentype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ConnectorTrial-Medium';
    src: url('fonts/ConnectorTrial-Medium.otf') format('opentype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Calypso';
    src: url('fonts/Calypso.ttf') format('truetype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Valisca';
    src: url('fonts/Valisca.ttf') format('truetype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header styles are now in css/header.css */

/* Основной контент */
.main {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.oblaka{
    width: 100%;
    margin: -17% 0% 0;
    z-index: 200;
    position: absolute;
    object-fit: cover;
    height: 34vw;
    pointer-events: none;
}

/* Отзеркаливание только второго облака */
.oblaka:nth-of-type(2) {
    transform: scaleX(-1);
}

/* Скрытие видео-окошка на мобильных устройствах */
@media (max-width: 768px) {
    #videoWindow {
        display: none !important;
    }
}

/* Модальное окно отзывов должно быть поверх всех элементов */
#reviewModalOverlay {
    z-index: 2147483647 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

#reviewModal {
    z-index: 2147483647 !important;
    position: relative !important;
}
