/* ========== БАЗОВЫЕ СТИЛИ ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Кастомный скроллбар (как в hall1) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #E8ECF0; }
::-webkit-scrollbar-thumb { background: #3A6B8C; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1A2A3A; }

body {
    font-family: 'Inter', sans-serif;
    background: #E8ECF0;
    color: #1A2A3A;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ========== ШАПКА (Соответствует hall1.css) ========== */
.header {
    background: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.03); }

.logo-icon { width: 45px; height: 45px; background: linear-gradient(135deg, #3A6B8C, #1A2A3A); border-radius: 12px; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.logo-icon::before { content: "🏛"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; color: #FFFFFF; }

.logo-text { display: flex; flex-direction: column; }
.logo-small { font-size: 11px; letter-spacing: 1.5px; color: #A0C4D8; text-transform: uppercase; font-weight: 600; }
.logo-large { font-size: 18px; font-weight: 700; font-family: 'Playfair Display', serif; color: #FFFFFF; }

.nav { display: flex; gap: 32px; }
.nav-link { color: #D0DCE8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #A0C4D8; transition: width 0.3s ease-in-out; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: #FFFFFF; }

/* ========== КОНТЕНТ ЗАЛОВ ========== */
.halls-page { padding: 40px 0 80px; flex-grow: 1; }

.breadcrumbs { margin-bottom: 40px; font-size: 14px; font-weight: 500; }
.breadcrumbs a { color: #3A6B8C; text-decoration: none; transition: color 0.3s; }
.breadcrumbs a:hover { color: #1A2A3A; }
.breadcrumbs .separator { color: #A0C4D8; margin: 0 8px; }
.breadcrumbs span:last-child { color: #5A6E7A; }

.section-header { margin-bottom: 50px; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; color: #1A2A3A; margin-bottom: 15px; letter-spacing: -0.5px; }
.section-desc { font-size: 18px; color: #5A6E7A; max-width: 600px; margin: 0 auto 20px; }
.section-line { width: 60px; height: 4px; background: #3A6B8C; margin: 0 auto; border-radius: 2px; }

.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* КАРТОЧКИ ЗАЛОВ */
.hall-card {
    text-decoration: none;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(208, 216, 224, 0.6);
}

.hall-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 42, 58, 0.2);
    border-color: #3A6B8C;
}

.hall-image-wrapper { height: 260px; overflow: hidden; position: relative; }
.hall-image { 
    width: 100%; height: 100%; 
    background-size: cover; background-position: center; 
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.hall-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,42,58,0.5), transparent);
    opacity: 0.6; transition: opacity 0.4s ease;
}

.hall-card:hover .hall-image { transform: scale(1.08); }
.hall-card:hover .hall-overlay { opacity: 0.3; }

.hall-content {
    padding: 30px;
    background: #FFFFFF;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hall-period {
    display: inline-block;
    font-size: 12px; font-weight: 700; color: #3A6B8C;
    letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase;
}

.hall-name {
    font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700;
    color: #1A2A3A; margin-bottom: 20px; line-height: 1.3;
}

.hall-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 20px; border-top: 1px solid #E8ECF0;
}

.hall-items { font-size: 14px; color: #5A6E7A; font-weight: 500; }
.hall-arrow {
    font-size: 24px; color: #3A6B8C; font-weight: 300;
    transition: all 0.3s ease;
}

.hall-card:hover .hall-arrow {
    transform: translateX(8px);
    color: #FFC107; /* Желтый акцент при наведении, как в хотспотах */
}

/* ========== ПОДВАЛ (Точная копия из hall1) ========== */
.footer { background: #0F1A24; border-top: 1px solid rgba(255,255,255,0.05); padding: 70px 0 30px; margin-top: auto; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 50px; justify-content: space-between; margin-bottom: 50px; }
.footer-col { flex: 1; min-width: 220px; }
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo .logo-icon { width: 50px; height: 50px; }
.footer-logo span { font-size: 16px; font-weight: 600; line-height: 1.4; color: #FFFFFF; font-family: 'Playfair Display', serif;}
.footer-year { font-size: 14px; color: #6B8EA0; }
.footer-col h4 { font-size: 18px; font-weight: 600; margin-bottom: 25px; color: #FFFFFF; font-family: 'Playfair Display', serif;}
.footer-col p { font-size: 14.5px; color: #B0C4D8; margin-bottom: 12px; }
.footer-copyright { text-align: center; font-size: 13.5px; color: #6B8EA0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; text-align: center; gap: 15px; }
    .nav { gap: 15px; flex-wrap: wrap; justify-content: center;}
    .section-title { font-size: 34px; }
    .halls-grid { grid-template-columns: 1fr; gap: 20px; }
    .hall-image-wrapper { height: 220px; }
    .footer-grid { flex-direction: column; gap: 40px; text-align: center; }
    .footer-logo { justify-content: center; }
}