:root {
    --primary: #1a1a1a;
    --primary-light: #333333;
    --secondary: #666666;
    --accent: #888888;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #999999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border: #dddddd;
    --border-dark: #333333;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
}

.news-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.news-item h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.news-date {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.news-link {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.news-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background: var(--border);
}

.team-card h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.team-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer {
    background: var(--primary);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer p, .footer a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer a:hover {
    color: white;
}

.admin-header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
}

.admin-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    display: flex;
    gap: 20px;
}

.admin-nav a {
    color: rgba(255,255,255,0.8);
}

.admin-nav a:hover {
    color: white;
}

.admin-content {
    padding: 40px 0;
}

.admin-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.admin-table tr:hover {
    background: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-danger {
    background: #444;
    color: white;
}

.btn-danger:hover {
    background: #222;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(136,136,136,0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #e0e0e0;
    color: #333;
    border: 1px solid #ccc;
}

.alert-error {
    background: #ccc;
    color: #333;
    border: 1px solid #999;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
}