/* Цветовая палитра и шрифты */
:root {
    --primary: #00537E;
    --white: #ffffff;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--primary);
    padding-bottom: 100px;
    /* Восточный геометрический паттерн на фоне (очень прозрачный) */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2.5L22.5 16H40v2H22.5v2.5L20 20.5zM0 20h20v2H0v-2z' fill='%2300537E' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Слайдер */
.swiper {
    width: 100%;
    height: 260px;
    border-bottom: 2px solid var(--primary);
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--primary);
}
/* Легкая текстура для баннеров */
.banner-1 { background: radial-gradient(circle at center, #006b9e 0%, var(--primary) 100%); }
.banner-2 { background: radial-gradient(circle at top right, #0076ad 0%, var(--primary) 100%); }
.banner-3 { background: radial-gradient(circle at bottom left, #006294 0%, var(--primary) 100%); }

.swiper-slide span {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 4px;
}

.swiper-pagination-bullet { background: var(--white); opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; }

/* Заголовок секции */
.section-header {
    text-align: center;
    margin: 30px 0;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin: 0 0 10px 0;
    font-weight: 700;
}
.divider {
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

/* Сетка меню */
.menu-container {
    padding: 0 20px 20px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Карточка блюда в форме восточной арки */
.menu-item {
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 90px 90px 12px 12px; /* Форма арки */
    padding: 35px 25px 25px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Внутренняя рамка для изящности */
.menu-item::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px dashed rgba(0, 83, 126, 0.3);
    border-radius: 84px 84px 8px 8px;
    pointer-events: none;
}

.menu-item:active {
    transform: translateY(2px);
}

.item-info h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 0 0 10px 0;
}
.item-info p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}
.item-price {
    font-weight: 600;
    font-size: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    border-radius: 6px;
    width: 100%;
}

/* Плавающая кнопка (Стилизованная) */
.fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 83, 126, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.2s;
}
.fab:active { transform: scale(0.92); }
.fab svg { width: 26px; height: 26px; }

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 83, 126, 0.7); /* Синее затемнение */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(3px);
}
.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 420px;
    /* Форма арки для модалки */
    border-radius: 60px 60px 16px 16px;
    padding: 40px 30px 30px 30px;
    box-sizing: border-box;
    text-align: center;
    border: 2px solid var(--primary);
    position: relative;
}
.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 0;
}
.modal-divider { margin: 10px 0 15px 0; }
.modal-note { font-size: 13px; opacity: 0.7; margin: 0 0 20px 0; }

textarea {
    width: 100%;
    height: 120px;
    border: 1px solid rgba(0, 83, 126, 0.3);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 15px;
    resize: none;
    margin-bottom: 20px;
    color: var(--primary);
    background: transparent;
}
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 83, 126, 0.1);
}
textarea::placeholder { color: rgba(0, 83, 126, 0.4); }

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-cancel {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-submit {
    background: var(--primary);
    color: var(--white);
}
.btn-submit:disabled { opacity: 0.6; }