/* НЕГІЗГІ АЙНЫМАЛЫЛАР */
:root {
    --bg-beige: #F6F1ED;
    --accent: #C46A54;
    --accent-dark: #A85844;
    --text-dark: #3A2A23;
    --text-muted: #8B7E74;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--bg-beige); 
    color: var(--text-dark);
    line-height: 1.6;
}

/* КОНТЕЙНЕР - ЖИНАҚЫ ЕТУ (Өзіңіз өзгерте аласыз) */
.container--narrow {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 60px 0; }
.text-center { text-align: center; }

/* ТИПОГРАФИЯ */
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.sub-title { 
    display: block; 
    color: var(--accent); 
    font-weight: 600; 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
}
.section-title { font-size: 2.2rem; margin-bottom: 40px; }

/* РЕСТОРАН АҚПАРАТ КАРТАСЫ */
.info-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.info-card__wrapper {
    display: flex;
    align-items: stretch;
}

.info-card__image {
    flex: 1;
    max-width: 400px;
}

.info-card__image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.info-card__content {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.info-card__title { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-dark); }
.info-card__desc { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }

.info-card__footer {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-tag { color: var(--accent); }

/* АРТҚА ҚАЙТУ БАТЫРМАСЫ */
.btn-back {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 18px;
    border: 1px solid #eee;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-back:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* МӘЗІР КАРТОЧКАЛАРЫ (GRID) */
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

.card__img img { width: 100%; height: 230px; object-fit: cover; }
.card__body { padding: 25px; }
.card__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card__body p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }

.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

.price { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

.btn-card {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-card:hover { background: var(--accent); color: var(--white); }

.card--featured { border: 2px solid var(--accent); }

/* --- НЕГІЗГІ ПАРАМЕТРЛЕР --- */
* { box-sizing: border-box; }
body {
    background-color: #fdfaf7;
    margin: 0; padding: 0;
    color: #2c2c2c;
    line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* --- ИНФО КАРТОЧКА --- */
.info-card {
    background: #fff; border-radius: 25px; overflow: hidden;
    display: flex; flex-wrap: wrap; margin-bottom: 60px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
}
.info-card__image { flex: 1; min-width: 320px; height: 350px; }
.info-card__image img { width: 100%; height: 100%; object-fit: cover; }
.info-card__content { flex: 1.2; padding: 50px; min-width: 320px; position: relative; }
.btn-back { position: absolute; top: 20px; right: 20px; text-decoration: none; color: #888; font-size: 0.9rem; }
.info-card__title { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin: 15px 0; color: #1a1a1a; }
.sub-title { color: #b59b7c; letter-spacing: 3px; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; }
.status-tag { background: #f8f1e9; color: #8d7558; padding: 6px 18px; border-radius: 20px; font-weight: 700; font-size: 0.7rem; }

/* --- МӘЗІР КАРТОЧКАЛАРЫ --- */
.catalog-header { text-align: center; margin-bottom: 40px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: #fff; border-radius: 20px; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card__img img { width: 100%; height: 240px; object-fit: cover; }
.card__body { padding: 30px; }
.card__body h3 { font-family: 'Playfair Display', serif; margin: 0 0 15px; font-size: 1.5rem; }
.card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f5f5f5; padding-top: 20px; }
.price { font-size: 1.3rem; font-weight: 700; color: #1a1a1a; }

/* --- ТАНДАУ БАТЫРМАСЫ (IPHONE STYLE) --- */
.select-btn {
    background: #1a1a1a; color: #fff; border: none;
    padding: 14px 30px; border-radius: 40px; cursor: pointer;
    font-weight: 600; font-family: 'Montserrat'; transition: 0.3s;
}
.select-btn:hover { background: #b59b7c; transform: scale(1.05); }

/* --- ГАЛЕРЕЯ МОДАЛЬ (POPUP) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(15px);
    z-index: 1000; justify-content: center; align-items: center; opacity: 0; transition: 0.3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
    width: 95%; max-width: 850px; height: 85vh; background: #fff;
    border-radius: 30px; box-shadow: 0 40px 100px rgba(0,0,0,0.12);
    display: flex; flex-direction: column; overflow: hidden;
}
.modal-header { padding: 30px; display: flex; justify-content: space-between; align-items: center; }
.close-btn { font-size: 2.5rem; cursor: pointer; color: #ccc; line-height: 0.8; transition: 0.3s; }
.close-btn:hover { color: #000; }

.gallery-tabs { display: flex; justify-content: center; gap: 15px; padding: 10px 20px 25px; }
.tab-btn {
    padding: 12px 35px; border: none; background: #f0f0f0;
    border-radius: 30px; cursor: pointer; font-weight: 700; color: #888; transition: 0.3s;
}
.tab-btn.active { background: #000; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.modal-content { flex: 1; padding: 0 30px 30px; overflow-y: auto; }
.media-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.media-grid.active { display: grid; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.media-grid img, .media-grid video {
    width: 100%; height: 180px; object-fit: cover; border-radius: 18px;
    cursor: pointer; transition: 0.3s; background: #f9f9f9;
}
.media-grid img:hover { transform: scale(1.02); filter: brightness(0.9); }
.empty-msg { text-align: center; color: #bbb; grid-column: 1/-1; padding: 50px; }

/* --- FULLSCREEN --- */
.fullscreen-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 2000; justify-content: center; align-items: center;
}
.full-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 3.5rem; cursor: pointer; }
#fullContent img, #fullContent video { max-width: 100%; max-height: 85vh; border-radius: 15px; animation: zoomIn 0.3s ease; }
@keyframes zoomIn { from { transform: scale(0.8); } to { transform: scale(1); } }