/* --- Общие стили и Сброс --- */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333; 
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Плавная прокрутка для всех браузеров */
html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 1. Заглавная Секция --- */

.hero-section {
    position: relative;
    min-height: 70vh; /* Изменил на min-height */
    background: url('images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Предотвращаем переполнение */
}

.header-overlay {
    background-color: rgba(0, 0, 0, 0.45); /* Более темный оверлей для читаемости */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.nav-logo {
    flex: 1;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 900;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 5px #ffcc00; }
    to { text-shadow: 0 0 15px #ffcc00; }
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 204, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.nav-scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pre-order-btn {
    background: linear-gradient(45deg, #ffcc00, #ffaa00) !important;
    color: #333 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.pre-order-btn:hover {
    background: linear-gradient(45deg, #ffaa00, #ffcc00) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.6);
}

.hero-content {
    text-align: center;
    padding-bottom: 80px;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffcc00, #fff, #ffcc00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 50% 50%; }
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 400;
    margin: 20px 0 40px 0;
    opacity: 0.9;
    animation: subtitleSlide 1.8s ease-out 0.5s both;
}

@keyframes subtitleSlide {
    from { opacity: 0; }
    to { opacity: 0.9; }
}

.hero-cta {
    animation: ctaBounce 2s ease-out 1s both;
}

@keyframes ctaBounce {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}


.cta-button:hover {
    transform: scale(1.05);
}

/* --- 2. Секция Меню (Бесшовный фон) --- */

.location-selector {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #444, #555);
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.location-selector h3 {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 700;
}

.location-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.location-btn {
    background: linear-gradient(135deg, #333, #444);
    color: #fff;
    border: 2px solid rgba(255, 204, 0, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.location-btn:hover {
    background: linear-gradient(135deg, #444, #555);
    border-color: rgba(255, 204, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}

.location-btn.active {
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
    border-color: #ffcc00;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
    font-weight: 700;
}

.location-badge {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

/* Адаптивность для селектора локации */
@media (max-width: 768px) {
    .location-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .location-btn {
        width: 100%;
        max-width: 250px;
    }
}

.menu-section {
    padding: 60px 20px;
    background-color: #444; 
    /* Бесшовный фон - замените на свой, если нужно! */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%23444"/><path d="M 0 50 L 50 0 L 100 50 L 50 100 Z" fill="rgba(0,0,0,0.05)"/></svg>');
    background-repeat: repeat;
    position: relative;
    z-index: 1;
    margin-top: 20px; /* Добавляем отступ сверху */
}

.menu-section h2 {
    color: #ffcc00; 
    margin-bottom: 20px;
}

.menu-filters {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 700;
}

.menu-filters a {
    padding: 5px 15px;
    border-bottom: 2px solid transparent;
    color: #ccc;
}

.menu-filters a.active {
    color: #fff;
    border-bottom: 2px solid #ffcc00;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* АДАПТИВНАЯ СЕТКА */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    background-color: #333;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffcc00, transparent, #ffcc00);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    z-index: -1;
}

.menu-item:hover::before {
    opacity: 0.1;
}

.menu-item:hover {
    transform: scale(1.02);
    border-color: rgba(255, 204, 0, 0.3);
}

/* Упрощенные анимации */
.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-in {
    opacity: 1;
    transform: none;
}


.menu-item-image {
    width: 100%;
    max-width: 250px; /* Размер изображения блюда */
    height: 180px;
    object-fit: cover; /* Возвращаю cover для правильного отображения */
    margin-bottom: 15px;
    border-radius: 5px;
    background: transparent; /* Прозрачный фон для PNG */
}

/* Ленивая загрузка */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

.menu-item-info h3 {
    font-size: 1.2em;
    margin: 0 0 5px 0;
    color: #ffcc00;
    font-weight: 700;
}

.menu-item-info p {
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
}

.menu-price {
    color: #ffcc00;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 10px;
    text-align: center;
    background: rgba(255, 204, 0, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.no-items {
    text-align: center;
    color: #ccc;
    font-size: 1.2em;
    padding: 40px 20px;
    background: linear-gradient(135deg, #444, #555);
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

/* --- 3. Секция Наши Точки --- */

.locations-section {
    padding: 40px 20px;
    background-color: #2a2a2a;
    text-align: center;
}

.locations-section h2 {
    color: #fff;
    margin-bottom: 10px;
}

.locations-section .subtitle {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 20px;
}

.working-hours {
    text-align: center;
    margin-bottom: 20px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #444, #555);
    border-radius: 20px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    display: inline-block;
    font-weight: 600;
    color: #ffcc00;
    font-size: 0.9em;
}

.locations-slider {
    overflow-x: auto;
    padding: 30px 0;
    scrollbar-width: thin;
    scrollbar-color: #ffcc00 #333;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.locations-slider::-webkit-scrollbar {
    height: 6px;
}

.locations-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.locations-slider::-webkit-scrollbar-thumb {
    background: #ffcc00;
    border-radius: 3px;
}

.locations-slider::-webkit-scrollbar-thumb:hover {
    background: #ffaa00;
}

.locations-grid {
    display: flex;
    gap: 25px;
    min-width: max-content;
    padding: 0 10px;
}

.location-container {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 380px;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.location-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.location-container:hover::before {
    left: 100%;
}

.location-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 204, 0, 0.15);
    border-color: rgba(255, 204, 0, 0.3);
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
}

.location-container.reverse {
    flex-direction: row-reverse; /* Меняем порядок для второй точки */
}

.location-images {
    flex: 1;
    display: flex;
    justify-content: center;
}

.location-image {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.location-image:hover {
    transform: scale(1.02);
}

.location-info {
    flex: 1.5;
    text-align: left;
    padding: 10px 0;
}

.location-info h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffcc00;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.location-info strong {
    color: #fff;
    font-weight: 700;
}

.pre-order-call-info {
    font-size: 0.9em;
    color: #ccc;
    border: 1px dashed #ffcc00;
    padding: 8px;
    margin: 15px 0;
    background-color: #3a3a3a;
    border-radius: 4px;
}

.highlight {
    color: #ffcc00;
    font-weight: 700;
}

.phone-block a {
    color: #ffcc00;
    font-weight: 700;
    text-decoration: underline;
}

.map-buttons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.map-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.map-btn:hover::before {
    width: 300px;
    height: 300px;
}

.map-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.two-gis {
    background-color: #ffcc00; /* Желтый */
}

.yandex {
    background-color: #fff; /* Белый */
}

.google {
    background: linear-gradient(45deg, #4285f4, #34a853);
    color: white;
}

.google:hover {
    background: linear-gradient(45deg, #3367d6, #2d8f47);
}

/* Пустой блок внизу */
.bottom-spacer {
    height: 60px;
    background: linear-gradient(180deg, #2a2a2a, #222);
}

/* Дополнительные улучшения UX */
.pre-order-call-info {
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { 
        border-color: #ffcc00;
        background-color: #3a3a3a;
    }
    50% { 
        border-color: #ffaa00;
        background-color: #4a4a4a;
    }
}

/* Улучшенные переходы для всех интерактивных элементов */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Стили для активных состояний */
.nav-link:active,
.cta-button:active,
.map-btn:active {
    transform: scale(0.95);
}

/* Улучшенная читаемость текста */
.location-info p {
    line-height: 1.8;
}

.menu-item-info p {
    line-height: 1.6;
}

/* Эффект параллакса для hero секции */
.hero-section {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        background-size: cover;
    }
}

/* Дополнительные анимации */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.highlight {
    animation: pulse 2s infinite;
}

/* Анимация для фильтров меню */
.menu-filters a {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-filters a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.3), transparent);
    transition: left 0.5s;
}

.menu-filters a:hover::before {
    left: 100%;
}

.menu-filters a:hover {
    transform: translateY(-2px);
    color: #ffcc00;
}

/* --- ВЫБОР ГОРОДА --- */

.city-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.current-city {
    color: #ffcc00;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city-change-btn {
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city-change-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

/* Стили для модального окна выбора города */
.city-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.city-option {
    background: linear-gradient(135deg, #444, #555);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.city-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.city-option:hover::before {
    left: 100%;
}

.city-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
    border-color: rgba(255, 204, 0, 0.4);
}

.city-option.selected {
    border-color: #ffcc00;
    background: linear-gradient(135deg, #555, #666);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.city-icon {
    font-size: 2.5em;
    animation: cityPulse 2s infinite;
}

@keyframes cityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.city-info h3 {
    margin: 0 0 5px 0;
    color: #ffcc00;
    font-size: 1.3em;
    font-weight: 700;
}

.city-info p {
    margin: 0 0 10px 0;
    color: #ccc;
    font-size: 0.9em;
}

.city-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.city-features span {
    color: #fff;
    font-size: 0.85em;
    font-weight: 600;
}

.location-info {
    background: linear-gradient(135deg, #2a2a2a, #333);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.location-info p {
    margin: 0;
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Адаптивность для выбора города */
@media (max-width: 768px) {
    .city-selector {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .city-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .city-features {
        align-items: center;
    }
}

/* --- МОДАЛЬНОЕ ОКНО ПРЕДВАРИТЕЛЬНОГО ЗАКАЗА --- */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    background: linear-gradient(135deg, #2a2a2a, #333);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 204, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
    padding: 20px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.discount-banner {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}



.discount-icon {
    font-size: 2.5em;
}

.discount-text h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.3em;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discount-text p {
    margin: 0;
    color: #fff;
    font-size: 0.9em;
    opacity: 0.9;
}

.info-card {
    background: linear-gradient(135deg, #444, #555);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.4);
}

.info-icon {
    font-size: 2em;
    animation: pulse 2s infinite;
}

.info-content h4 {
    margin: 0 0 8px 0;
    color: #ffcc00;
    font-size: 1.1em;
    font-weight: 700;
}

.info-content p {
    margin: 0;
    color: #ccc;
    font-size: 0.9em;
}

.phone-numbers {
    margin-bottom: 25px;
}

.phone-item {
    background: linear-gradient(135deg, #333, #444);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #ffcc00;
    transition: all 0.3s ease;
}

.phone-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.1);
}

.phone-item strong {
    display: block;
    color: #fff;
    font-size: 0.9em;
    margin-bottom: 5px;
    font-weight: 700;
}

.phone-link {
    color: #ffcc00;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 204, 0, 0.1);
}

.phone-link:hover {
    background: rgba(255, 204, 0, 0.2);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.benefits {
    background: linear-gradient(135deg, #2a2a2a, #333);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.benefits h4 {
    margin: 0 0 15px 0;
    color: #ffcc00;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
}

.benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    padding: 8px 0;
    color: #ccc;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.benefits li:hover {
    color: #fff;
    transform: translateX(5px);
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    background: linear-gradient(135deg, #333, #444);
    border-radius: 0 0 18px 18px;
}

.modal-close-btn {
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.modal-close-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}


/* --- СЕКЦИИ ДЛЯ ПРИВЛЕЧЕНИЯ КЛИЕНТОВ --- */

/* Стили для hero features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.3);
    font-weight: 600;
    font-size: 0.9em;
}

.feature-icon {
    font-size: 1.2em;
}

.cta-button.secondary {
    background: linear-gradient(45deg, #333, #555);
    color: #fff;
    border: 2px solid #ffcc00;
}

.cta-button.secondary:hover {
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    color: #333;
}

/* Статистика в hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.2);
    border-color: rgba(255, 204, 0, 0.6);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 900;
    color: #ffcc00;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Секция преимуществ */
.benefits-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #2a2a2a, #333);
    text-align: center;
}

.benefits-section h2 {
    color: #ffcc00;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: linear-gradient(135deg, #444, #555);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.benefit-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.benefit-card p {
    color: #ccc;
    line-height: 1.6;
}


/* --- АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) --- */

@media (max-width: 768px) {
    /* Отключаем все анимации на мобильных */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-title {
        font-size: 2.2em;
    }

    /* Минималистичная заглавная на мобильных */
    .hero-features {
        display: none; /* Скрываем фичи на мобильных */
    }
    
    .hero-stats {
        display: none; /* Скрываем статистику на мобильных */
    }
    
    .hero-content {
        padding-bottom: 40px; /* Уменьшаем отступ */
    }
    
    .hero-subtitle {
        font-size: 1.1em;
        margin: 15px 0 25px 0;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .city-selector {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        width: 100%;
    }

    .menu-filters {
        flex-wrap: wrap; /* Перенос фильтров на новую строку */
        gap: 10px;
    }
    
    .menu-filters a {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr); /* Две колонки на мобильных */
        gap: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .location-selector {
        padding: 15px;
    }
    
    .location-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .location-btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    /* Адаптация секции точек */
    .location-container,
    .location-container.reverse {
        flex-direction: column; /* Элементы в столбик */
        text-align: center;
        box-shadow: none; /* Убираем тени на мобильных */
    }

    .location-images {
        margin-bottom: 15px;
    }

    .location-image {
        max-width: 80%;
    }

    .location-info {
        text-align: center;
        padding: 0;
    }

    .location-info h3 {
        text-align: center;
        font-size: 1.5em;
    }

    .map-buttons {
        flex-direction: column; /* Кнопки одна под другой */
        gap: 10px;
    }
    
    /* Оптимизация анимаций для мобильных */
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    
    .menu-item:hover {
        transform: none;
    }
    
    .menu-item {
        box-shadow: none; /* Убираем тени на мобильных */
        padding: 15px; /* Уменьшаем отступы */
    }
    
    .menu-item-image {
        height: 140px; /* Уменьшаем высоту изображений */
        margin-bottom: 10px;
    }
    
    .menu-item-info h3 {
        font-size: 1.1em; /* Уменьшаем размер заголовка */
        margin-bottom: 8px;
    }
    
    .menu-item-info p {
        font-size: 0.9em; /* Уменьшаем размер описания */
        line-height: 1.3;
    }
    
    .menu-price {
        font-size: 1.1em; /* Уменьшаем размер цены */
    }
    
    .location-container:hover {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .map-btn:hover {
        transform: none;
    }
    
    /* Модальные окна на мобильных */
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2em;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .city-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .city-features {
        align-items: center;
    }
    
    .discount-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .phone-item {
        text-align: center;
    }
    
    .benefits li {
        justify-content: center;
    }
    
    /* Уменьшаем анимации для лучшей производительности */
    .logo-text {
        animation: none;
    }
    
    .hero-title {
        animation: none;
        background: #ffcc00;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Планшеты */
@media (max-width: 1024px) and (min-width: 769px) {
    .menu-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    /* Дополнительная оптимизация для очень маленьких экранов */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    /* Одна колонка на очень маленьких экранах */
    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .stat-label {
        font-size: 0.8em;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .benefit-icon {
        font-size: 2.5em;
    }
    
    .location-container {
        padding: 20px;
    }
    
    .modal-content {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
}
