* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.5;
    padding-top: 90px; /* НОВОЕ */
}

/* ========== HEADER ========== */
header {
    background-color: rgba(10, 10, 10, 0.95); /* ИЗМЕНЕНО (было #0a0a0a) */
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #1f1f1f;
    position: fixed; /* НОВОЕ */
    top: 0; /* НОВОЕ */
    left: 0; /* НОВОЕ */
    width: 100%; /* НОВОЕ */
    z-index: 1000; /* НОВОЕ */
    backdrop-filter: blur(10px); /* НОВОЕ (опционально, можно убрать) */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.logo {
  width: 64px;
  height: 47px;
    font-size: 1.8rem;
    font-weight: 500;
    background: url('images/logo.png') center/cover no-repeat;
    /* letter-spacing: -0.5px; */
    color: #ffffff;
}

.cafe-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: #888888;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #e5e5e5;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ff6b6b;
}

/* ========== Hero ========== */
.hero {
    width: 100%;
    height: 70vh;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    background-color: #1a1a1a;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,0.7)); */
}

/* ========== Контейнер ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ========== Промо-виджет ========== */
.promo-widget {
    background-color: #141414;
    padding: 2rem;
    border: 1px solid #2a2a2a;
    margin: 2rem 0;
    text-align: center;
}

.promo-widget h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.promo-widget p {
    color: #cac7c7;
    font-size: 1rem;
}

/* ========== Бизнес-ланч ========== */
.lunch-block {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
    flex-wrap: wrap;
}

.lunch-img {
    flex: 1;
    min-width: 250px;
}

.lunch-img img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.lunch-text {
    flex: 1;
}

.lunch-text h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.lunch-text p {
    color: #cac7c7;
    font-size: 1rem;
}

/* ========== Блоки залов ========== */
.hall-section {
    margin: 4rem 0;
}

.hall-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hall-block.reverse {
    flex-direction: row-reverse;
}

.hall-img {
    flex: 1;
    min-width: 280px;
}

.hall-img img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.hall-text {
    flex: 1;
}

.hall-text h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hall-text p {
    color: #cac7c7;
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== Фишки / преимущества ========== */
.features {
    background-color: #0f0f0f;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #2a2a2a;
}

.features h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.features p {
    color: #888888;
}

.feature-item {
    background-color: #1a1a1a;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #e5e5e5;
    border: 1px solid #2a2a2a;
}

/* Сетка преимуществ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background-color: #141414;
    padding: 1.2rem;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: #ff6b6b;
}

.feature-card .feature-item {
    display: inline-block;
    margin-bottom: 0.75rem;
    background-color: #1f1f1f;
}

.feature-card p {
    font-size: 0.85rem;
    color: #888888;
    line-height: 1.5;
}

/* ========== Карта + контакты ========== */
.map-contacts {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.map {
    flex: 2;
    min-width: 250px;
}

.map iframe {
    border: 1px solid #2a2a2a;
}

.contacts {
    flex: 1;
    background-color: #141414;
    padding: 1.5rem;
    border: 1px solid #2a2a2a;
}

.contacts h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contacts p {
    margin: 0.5rem 0;
    color: #aaaaaa;
}

.contacts a {
    color: #e5e5e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts a:hover {
    color: #ff6b6b;
}

.contacts a[href^="tel"],
.contacts a[href^="mailto"] {
    color: #e5e5e5;
}

.contacts a[href^="tel"]:hover,
.contacts a[href^="mailto"]:hover {
    color: #ff6b6b;
}

/* ========== FOOTER ========== */
footer {
    background-color: #0a0a0a;
    border-top: 1px solid #1f1f1f;
    padding: 2rem;
    text-align: center;
    color: #666666;
    font-size: 0.85rem;
}

footer a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ff6b6b;
}

footer a[href*="instagram"] {
    color: #888888;
}

footer a[href*="instagram"]:hover {
    color: #ff6b6b;
}

/* ========== СТРАНИЦА МЕНЮ ========== */
.mode-switch {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.mode-btn {
    background: none;
    border: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: #666666;
    font-weight: 400;
    transition: color 0.2s;
}

.mode-btn.active {
    color: #ffffff;
    border-bottom: 2px solid #ff6b6b;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.cat-btn {
    background: none;
    border: none;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #888888;
    transition: all 0.2s;
}

.cat-btn:hover {
    color: #ff6b6b;
}

.cat-btn.active {
    color: #ffffff;
    background-color: #1f1f1f;
}

/* Карточки блюд */
.dishes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.dish-card {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background-color: #0f0f0f;
    border: 1px solid #2a2a2a;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.dish-card:hover {
    background-color: #141414;
    border-color: #ff6b6b;
}

.dish-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background-color: #1a1a1a;
}

.dish-info {
    flex: 1;
}

.dish-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.dish-ingredients {
    font-size: 0.85rem;
    color: #cac7c7;
    margin-bottom: 0.5rem;
}

.dish-price {
    font-weight: 500;
    color: #ff6b6b;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 44%;
    max-height: 88%;
}

.modal-content img {
    width: 100%;
    height: auto;
    border: 1px solid #2a2a2a;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ff6b6b;
}

/* ========== СТРАНИЦА НОВОСТЕЙ ========== */
.news-controls {
    margin: 2rem 0;
    text-align: center;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background-color: #0f0f0f;
    border: 1px solid #2a2a2a;
    flex-wrap: wrap;
    transition: border-color 0.2s;
}

.news-card:hover {
    border-color: #ff6b6b;
}

.news-card img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    background-color: #1a1a1a;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.news-content p {
    color: #cac7c7;
    margin-bottom: 0.5rem;
}

.news-content small {
    color: #666666;
    font-size: 0.8rem;
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ========== */
hr {
    border: none;
    border-top: 1px solid #1f1f1f;
    margin: 2rem 0;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero {
        width: 100%;
        height: 30vh;
        background: url('images/hero-bg.jpg') center/cover no-repeat;
        background-color: #1a1a1a;
        position: relative;
    }


.modal-content {
    position: relative;
    max-width: 74%;
    max-height: 88%;
}


    .dish-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hall-block,
    .hall-block.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .lunch-block {
        flex-direction: column;
        text-align: center;
    }
    
    .map-contacts {
        flex-direction: column;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .container {
        padding: 2rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}