/*
Theme Name: Техническо-экономический колледж
Description: Современная тема-лендинг для колледжа
Version: 2.0
Author: ТЭКИТ
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    zoom: 0.9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    background-color: #f3f4f6;
    line-height: 1.5;
}

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

/* Top bar */
.top-bar {
    background-color: #0b1f3a;
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    width: 50px;
    height: 50px;
    background: #0056b3;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}
.brand-title h1 {
    font-size: 16px;
    color: #0b1f3a;
    line-height: 1.2;
    font-weight: 700;
}
.brand-title p {
    font-size: 11px;
    color: #6b7280;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}
.main-navigation a {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
}
.main-navigation a:hover {
    color: #0056b3;
}
.btn-apply {
    background-color: #0056b3;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}
.btn-apply:hover {
    background-color: #004494;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #0b1f3a;
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}
.hero-banner {
    background: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 100%);
    border-radius: 16px;
    color: #fff;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}
.hero-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}
.hero-content p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 25px;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-primary {
    background-color: #0056b3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-stats {
    display: flex;
    gap: 20px;
}
.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}
.stat-card strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}
.stat-card span {
    font-size: 12px;
    color: #cbd5e1;
}

/* Quick Nav Grid - Fixed to avoid vertical stacking */
.quick-nav-section {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.quick-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}
.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.quick-card-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: #0056b3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 18px;
}
.quick-card h3 {
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 6px;
}
.quick-card p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 15px;
}
.quick-card-promo {
    background: linear-gradient(135deg, #1e3a8a, #0b1f3a);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo-text h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}
.promo-text p {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Main Content Layout */
.content-section {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Inner Page Container */
.page-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.page-container h1 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 20px;
}
.page-content {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}
.page-content p {
    margin-bottom: 15px;
}

/* News Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-header h2 {
    font-size: 20px;
    color: #0b1f3a;
}
.section-header a {
    color: #0056b3;
    font-size: 14px;
    font-weight: 500;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.news-img {
    height: 140px;
    background: #e5e7eb;
    background-size: cover;
    background-position: center;
}
.news-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.news-date {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}
.news-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* Sidebar Links */
.sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sidebar-box h3 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 15px;
}
.sidebar-links {
    list-style: none;
}
.sidebar-links li {
    border-bottom: 1px solid #f3f4f6;
}
.sidebar-links li:last-child {
    border-bottom: none;
}
.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: #374151;
    transition: color 0.2s;
}
.sidebar-links a:hover {
    color: #0056b3;
    padding-left: 5px;
}

/* Footer */
.site-footer {
    background-color: #0b1f3a;
    color: #cbd5e1;
    padding: 40px 20px 20px;
    margin-top: 50px;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
}

@media(max-width: 1024px) {
    .hero-banner {
        grid-template-columns: 1fr;
    }
    .content-section {
        grid-template-columns: 1fr;
    }
    .main-navigation {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}
