/* Course Theory Section */
.course-theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.theory-module {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.theory-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.theory-module-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.theory-module-image img {
    width: 100%;
    height: auto;
    display: block;
}

.theory-module-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.theory-module-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.theory-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theory-module-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.theory-module-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF1B8D;
    font-weight: bold;
}

/* Course Practice Section */
.course-practice {
    background: #f8f9fa;
    padding: 80px 0;
}

.nails-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practice-subtitle {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 30px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.practice-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.practice-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF1B8D 0%, #FF6B9D 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.practice-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.practice-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-theory-grid,
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
   /* .nails-gallery {
        grid-template-columns: repeat(2, 1fr);
    }*/
    
    .mobile-only {
        display: block;
    }
    
    /* Ukryj zdjęcia 4 i 5 z pierwszej galerii na mobile */
    .desktop-only {
        display: none;
    }
    
    /* Pokaż drugą galerię na mobile - takie samo ostylowanie jak pierwsza galeria 
    .nails-gallery.mobile-only-gallery {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }*/
}

/* Desktop - pokaż wszystkie zdjęcia w pierwszej galerii, ukryj drugą galerię */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    
    /* Pokaż zdjęcia 4 i 5 na desktop */
    .desktop-only {
        display: block;
    }
    
    /* Ukryj drugą galerię na desktop */
    .nails-gallery.mobile-only-gallery {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .nails-gallery {
        grid-template-columns: 1fr;
    }
    
    .practice-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

