/* Общие настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Шапка */
header {
    background: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Главный экран (Hero) */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
    
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight {
    color: #3498db;
}

.hero p {
    
    font-size: 1.2rem;
    margin-bottom: 30px;

}

/* Кнопки */
.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Секции */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #fff;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #2c3e50;
}

/* Навыки */
.skills {
    margin-top: 30px;
    text-align: center;
}

.skill-tags span {
    display: inline-block;
    background: #e0e0e0;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Проекты */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 150px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    font-weight: 600;
}

/* Контакты и Футер */
.contact-content {
    text-align: center;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } /* В простой версии скрываем меню на мобильном */
}