/* ========== БАЗОВЫЕ СТИЛИ ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; scroll-behavior: smooth; }

/* Кастомный скроллбар (как в залах) */
::-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.5;
    display: flex;
    flex-direction: column;
}

div[x-data] { display: flex; flex-direction: column; min-height: 100vh; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ========== ШАПКА ========== */
.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; }

/* ========== ГЛАВНЫЙ ЭКРАН ========== */
.hero {
    flex: 1; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    min-height: 80vh; margin-bottom: 0;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../images/Zas.png') no-repeat center center;
    background-size: cover; z-index: -1;
}

.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,42,58,0.85) 0%, rgba(26,42,58,0.5) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }

.hero-badge {
    display: inline-block; padding: 6px 16px;
    border: 1px solid rgba(160, 196, 216, 0.4); border-radius: 30px;
    font-size: 12px; font-weight: 600; color: #A0C4D8;
    margin-bottom: 24px; letter-spacing: 2px; text-transform: uppercase;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(4px);
}

.hero-title { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; color: #FFFFFF; }
.hero-subtitle { font-size: 18px; color: #D0DCE8; margin-bottom: 40px; line-height: 1.6; }

.hero-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #3A6B8C; border: none; color: #FFFFFF;
    padding: 15px 40px; border-radius: 40px; font-size: 16px;
    font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none; box-shadow: 0 4px 15px rgba(58, 107, 140, 0.3);
}

.hero-btn:hover { background: #2c5a78; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(58, 107, 140, 0.4); }

/* ========== ПОДВАЛ (Синхронизирован с hall1) ========== */
.footer { background: #0F1A24; border-top: 1px solid rgba(255,255,255,0.05); padding: 70px 0 30px; margin-top: 0; }
.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) {
    .container { padding: 0 15px; }
    .header-inner { flex-direction: column; text-align: center; gap: 15px; }
    .nav { gap: 15px; flex-wrap: wrap; justify-content: center;}
    .hero-title { font-size: 36px; }
    .footer-grid { flex-direction: column; gap: 40px; text-align: center; }
    .footer-logo { justify-content: center; }
}