/* --- СПИСКИ КУРСОВ (TABULAR STYLE) --- */
.course-list-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.course-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
    flex-wrap: wrap;
    gap: 15px;
}

.course-row:last-child { border-bottom: none; }

.course-row:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(10px);
    border-left: 3px solid var(--cyan);
}

.course-info { flex: 2; min-width: 250px; }
.course-title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}
.course-desc { font-size: 13px; color: #aaa; }

.course-meta {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    min-width: 200px;
}

.meta-item { text-align: right; }
.meta-label { display: block; font-size: 11px; color: #666; text-transform: uppercase; }
.meta-value { display: block; font-size: 16px; color: var(--cyan); font-weight: bold; }

.course-btn {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    background: transparent;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
    text-transform: uppercase;
}
.course-btn:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

/* --- ГАЛЕРЕЯ --- */
.page-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.zoom-icon {
    color: var(--cyan);
    font-size: 30px;
    filter: drop-shadow(0 0 10px var(--cyan));
}

@media (max-width: 768px) {
    .course-row { flex-direction: column; align-items: flex-start; }
    .course-meta { width: 100%; justify-content: space-between; margin-top: 15px; }
    .course-btn { width: 100%; margin-top: 15px; text-align: center; }
}





