/* Основные стили */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    background-color: #343a40;
}

footer {
    background-color: #343a40;
}

/* Секция героя */
.hero-section {
    padding: 50px 0;
}

.hero-section img {
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Навыки */
.skill, .course {
    margin-bottom: 15px;
}

.skill label, .course label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.progress {
    height: 25px;
}

.progress-bar {
    background-color: #007bff;
}

/* Проекты */
.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Дневник */
.entry {
    background-color: #f8f9fa;
    border-radius: 5px;
}

.date {
    font-weight: bold;
    color: #007bff;
}

.status.completed {
    color: green;
}

.status.in-progress {
    color: orange;
}

/* Контакты */
.contacts-section h3 {
    margin-top: 30px;
}

.contacts-section p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contacts-section img {
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section .row {
        text-align: center;
    }

    .hero-section .col-md-8 {
        margin-top: 20px;
    }

    .projects-section .col-md-4 {
        margin-bottom: 30px;
    }

    header .nav {
        justify-content: center !important;
        margin-top: 10px;
    }

    header .row {
        flex-direction: column;
        text-align: center;
    }

    .hero-section img {
        width: 150px !important;
        height: 150px !important;
    }

    .card-img-top {
        height: 150px !important;
    }

    .skills-section, .projects-section {
        padding: 20px 0;
    }

    .contacts-section .row {
        flex-direction: column;
    }

    .contacts-section .col-md-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .progress {
        height: 20px;
    }

    .progress-bar {
        font-size: 0.8rem;
    }
}
